Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:24

0001 #ifndef DDI_Polycone_h
0002 #define DDI_Polycone_h
0003 
0004 #include <iosfwd>
0005 #include <vector>
0006 
0007 #include "Solid.h"
0008 
0009 namespace DDI {
0010 
0011   class Polycone : public Solid {
0012   public:
0013     Polycone(double startPhi,
0014              double deltaPhi,
0015              const std::vector<double> &z,
0016              const std::vector<double> &rmin,
0017              const std::vector<double> &rmax);
0018 
0019     Polycone(double startPhi, double deltaPhi, const std::vector<double> &z, const std::vector<double> &r);
0020 
0021     double volume() const override;
0022     void stream(std::ostream &) const override;
0023   };
0024 }  // namespace DDI
0025 #endif  // DDI_Polycone_h