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  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
DDI
Definition: DDCompactView.h:25
DDI::TruncTubs::volume
double volume() const override
Definition: TruncTubs.h:20
DDI::TruncTubs::TruncTubs
TruncTubs(double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
Definition: TruncTubs.cc:11
DDI::TruncTubs
Definition: TruncTubs.h:9
DDI::TruncTubs::stream
void stream(std::ostream &os) const override
Definition: TruncTubs.cc:30
Solid.h
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
DDI::Solid
Definition: Solid.h:10