CMS 3D CMS Logo

TruncTubs.h
Go to the documentation of this file.
1 #ifndef DDD_DDI_TRUNCTUBS_H
2 #define DDD_DDI_TRUNCTUBS_H
3 
4 #include <iostream>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class TruncTubs : public Solid
10  {
11  public:
12  TruncTubs(double zHalf,
13  double rIn, double rOut,
14  double startPhi,
15  double deltaPhi,
16  double cutAtStart,
17  double cutAtDelta,
18  bool cutInside);
19 
20  double volume() const { return -1; }
21 
22  void stream(std::ostream & os) const;
23  };
24 }
25 
26 #endif
27 
void stream(std::ostream &os) const
Definition: TruncTubs.cc:30
double volume() const
Definition: TruncTubs.h:20
TruncTubs(double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
Definition: TruncTubs.cc:10