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  {
13  public:
14  Polycone( double startPhi, 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,
20  const std::vector<double> & z,
21  const std::vector<double> & r);
22 
23  double volume() const override;
24  void stream(std::ostream &) const override;
25  };
26 }
27 #endif // DDI_Polycone_h
void stream(std::ostream &) const override
Definition: Polycone.cc:125
Polycone(double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition: Polycone.cc:16
double volume() const override
Definition: Polycone.cc:59