CMS 3D CMS Logo

Cons.h
Go to the documentation of this file.
1 #ifndef DDI_Cons_h
2 #define DDI_Cons_h
3 
4 #include <iosfwd>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Cons : public DDI::Solid
10  {
11  public:
12  Cons(double zhalf,
13  double rInMinusZ,
14  double rOutMinusZ,
15  double rInPlusZ,
16  double rOutPlusZ,
17  double startPhi,
18  double deltaPhi);
19 
20  double volume() const override ;
21  void stream(std::ostream &) const override;
22  };
23 
24 }
25 
26 #endif
double volume() const override
Definition: Cons.cc:43
void stream(std::ostream &) const override
Definition: Cons.cc:32
Cons(double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double startPhi, double deltaPhi)
Definition: Cons.cc:13
Definition: Cons.h:9