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  {
11  public:
12  CutTubs(double zHalf,
13  double rIn, double rOut,
14  double startPhi,
15  double deltaPhi,
16  double lx, double ly, double lz,
17  double tx, double ty, double tz);
18 
19  double volume() const { return -1; }
20 
21  void stream(std::ostream & os) const;
22  };
23 }
24 
25 #endif
double volume() const
Definition: CutTubs.h:19
void stream(std::ostream &os) const
Definition: CutTubs.cc:33
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:12
Definition: rep_type.h:4