CMS 3D CMS Logo

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  {
11  public:
12  Trap(double pDz,
13  double pTheta,
14  double pPhi,
15  double pDy1, double pDx1,double pDx2,
16  double pAlp1,
17  double pDy2, double pDx3, double pDx4,
18  double pAlp2);
19 
20  double volume() const;
21 
22  void stream(std::ostream &) const;
23  };
24 
25 }
26 
27 #endif
Definition: Trap.h:9
double volume() const
Definition: Trap.cc:52
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:14
void stream(std::ostream &) const
Definition: Trap.cc:37
Definition: rep_type.h:4