CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Trap.h
Go to the documentation of this file.
1 #ifndef DDI_Trap_h
2 #define DDI_Trap_h
3 
4 #include <iostream>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Trap : public Solid {
10  public:
11  Trap(double pDz,
12  double pTheta,
13  double pPhi,
14  double pDy1,
15  double pDx1,
16  double pDx2,
17  double pAlp1,
18  double pDy2,
19  double pDx3,
20  double pDx4,
21  double pAlp2);
22 
23  double volume() const override;
24 
25  void stream(std::ostream &) const override;
26  };
27 
28 } // namespace DDI
29 
30 #endif
DDI::Trap
Definition: Trap.h:9
DDI
Definition: DDCompactView.h:24
DDI::Trap::volume
double volume() const override
Definition: Trap.cc:45
Solid.h
DDI::Trap::Trap
Trap(double pDz, double pTheta, double pPhi, double pDy1, double pDx1, double pDx2, double pAlp1, double pDy2, double pDx3, double pDx4, double pAlp2)
Definition: Trap.cc:13
DDI::Solid
Definition: Solid.h:10
DDI::Trap::stream
void stream(std::ostream &) const override
Definition: Trap.cc:38