CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  public:
11  TruncTubs(double zHalf,
12  double rIn,
13  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 } // namespace DDI
25 
26 #endif
double volume() const override
Definition: TruncTubs.h:20
void stream(std::ostream &os) const override
Definition: TruncTubs.cc:30
TruncTubs(double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
Definition: TruncTubs.cc:11