CMS 3D CMS Logo

Sphere.h
Go to the documentation of this file.
1 #ifndef DDI_Sphere_h
2 #define DDI_Sphere_h
3 
4 #include <iosfwd>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Sphere : public DDI::Solid {
10  public:
11  Sphere(double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ);
12 
13  double volume() const override;
14  void stream(std::ostream &) const override;
15  };
16 
17 } // namespace DDI
18 
19 #endif
DDI
Definition: DDCompactView.h:25
interestingEgammaIsoDetIdsSequence_cff.outerRadius
outerRadius
Definition: interestingEgammaIsoDetIdsSequence_cff.py:14
DDI::Sphere
Definition: Sphere.h:9
Solid.h
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
interestingEgammaIsoDetIdsSequence_cff.innerRadius
innerRadius
Definition: interestingEgammaIsoDetIdsSequence_cff.py:15
DDI::Solid
Definition: Solid.h:10
DDI::Sphere::volume
double volume() const override
Definition: Sphere.cc:31
DDI::Sphere::stream
void stream(std::ostream &) const override
Definition: Sphere.cc:25
DDI::Sphere::Sphere
Sphere(double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ)
Definition: Sphere.cc:14