CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Polyhedra.h
Go to the documentation of this file.
1 #ifndef DDI_Polyhedra_h
2 #define DDI_Polyhedra_h
3 
4 #include <iosfwd>
5 #include <vector>
6 
7 #include "Solid.h"
8 
9 namespace DDI {
10 
11  class Polyhedra : public Solid {
12  public:
13  Polyhedra(int sides,
14  double startPhi,
15  double deltaPhi,
16  const std::vector<double> &z,
17  const std::vector<double> &rmin,
18  const std::vector<double> &rmax);
19 
20  Polyhedra(int sides, double startPhi, double deltaPhi, const std::vector<double> &z, const std::vector<double> &r);
21 
22  double volume() const override;
23  void stream(std::ostream &) const override;
24  };
25 } // namespace DDI
26 #endif // DDI_Polyhedra_h
DDI::Polyhedra
Definition: Polyhedra.h:11
DDI
Definition: DDCompactView.h:25
DDI::Polyhedra::volume
double volume() const override
Definition: Polyhedra.cc:56
DDI::Polyhedra::Polyhedra
Polyhedra(int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition: Polyhedra.cc:19
Solid.h
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
DDI::Polyhedra::stream
void stream(std::ostream &) const override
Definition: Polyhedra.cc:164
DDI::Solid
Definition: Solid.h:10
alignCSCRings.r
r
Definition: alignCSCRings.py:93