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  public:
11  Cons(double zhalf,
12  double rInMinusZ,
13  double rOutMinusZ,
14  double rInPlusZ,
15  double rOutPlusZ,
16  double startPhi,
17  double deltaPhi);
18 
19  double volume() const override;
20  void stream(std::ostream &) const override;
21  };
22 
23 } // namespace DDI
24 
25 #endif
void stream(std::ostream &) const override
Definition: Cons.cc:31
Cons(double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double startPhi, double deltaPhi)
Definition: Cons.cc:14
double volume() const override
Definition: Cons.cc:37
Definition: Assembly.h:7
Definition: Cons.h:9