CMS 3D CMS Logo

Polycone.h
Go to the documentation of this file.
1 #ifndef DDI_Polycone_h
2 #define DDI_Polycone_h
3 
4 #include <iosfwd>
5 #include <vector>
6 
7 #include "Solid.h"
8 
9 namespace DDI {
10 
11  class Polycone : public Solid {
12  public:
13  Polycone(double startPhi,
14  double deltaPhi,
15  const std::vector<double> &z,
16  const std::vector<double> &rmin,
17  const std::vector<double> &rmax);
18 
19  Polycone(double startPhi, double deltaPhi, const std::vector<double> &z, const std::vector<double> &r);
20 
21  double volume() const override;
22  void stream(std::ostream &) const override;
23  };
24 } // namespace DDI
25 #endif // DDI_Polycone_h
Polycone(double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition: Polycone.cc:15
Definition: Assembly.h:7
void stream(std::ostream &) const override
Definition: Polycone.cc:108
double volume() const override
Definition: Polycone.cc:48