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;
24  void stream(std::ostream &) const;
25  };
26 }
27 #endif // DDI_Polycone_h
double volume() const
Definition: Polycone.cc:59
Polycone(double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition: Polycone.cc:16
void stream(std::ostream &) const
Definition: Polycone.cc:125
Definition: rep_type.h:4