Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-04 02:02:25

0001 #ifndef DDI_Trap_h
0002 #define DDI_Trap_h
0003 
0004 #include <iostream>
0005 #include "Solid.h"
0006 
0007 namespace DDI {
0008 
0009   class Trap : public Solid {
0010   public:
0011     Trap(double pDz,
0012          double pTheta,
0013          double pPhi,
0014          double pDy1,
0015          double pDx1,
0016          double pDx2,
0017          double pAlp1,
0018          double pDy2,
0019          double pDx3,
0020          double pDx4,
0021          double pAlp2);
0022 
0023     double volume() const override;
0024 
0025     void stream(std::ostream &) const override;
0026   };
0027 
0028 }  // namespace DDI
0029 
0030 #endif