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 override { return -1; }
21 
22  void stream(std::ostream & os) const override;
23  };
24 }
25 
26 #endif
27 
double volume() const override
Definition: TruncTubs.h:20
void stream(std::ostream &os) const override
Definition: TruncTubs.cc:31
TruncTubs(double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
Definition: TruncTubs.cc:11