CMS 3D CMS Logo

CutTubs.h
Go to the documentation of this file.
1 #ifndef DDD_DDI_CUTTUBS_H
2 #define DDD_DDI_CUTTUBS_H
3 
4 #include <iostream>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class CutTubs : public Solid {
10  public:
11  CutTubs(double zHalf,
12  double rIn,
13  double rOut,
14  double startPhi,
15  double deltaPhi,
16  double lx,
17  double ly,
18  double lz,
19  double tx,
20  double ty,
21  double tz);
22 
23  double volume() const override { return -1; }
24 
25  void stream(std::ostream& os) const override;
26  };
27 } // namespace DDI
28 
29 #endif
CutTubs(double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double lx, double ly, double lz, double tx, double ty, double tz)
Definition: CutTubs.cc:13
double volume() const override
Definition: CutTubs.h:23
void stream(std::ostream &os) const override
Definition: CutTubs.cc:38