VGM Version 5.3
Loading...
Searching...
No Matches
RootGM::Sphere Class Reference

VGM implementation for Root sphere solid. More...

#include <Sphere.h>

Inheritance diagram for RootGM::Sphere:

Public Member Functions

 Sphere (const std::string &name, double rin, double rout, double sphi, double dphi, double stheta, double dtheta)
 
 Sphere (TGeoSphere *sphere)
 
virtual ~Sphere ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double InnerRadius () const
 Return the inside radius of the shell in mm.
 
virtual double OuterRadius () const
 Return the outside radius of the shell in mm.
 
virtual double StartPhi () const
 Return the starting azimuthal angle of the segment in deg.
 
virtual double DeltaPhi () const
 Return the opening azimuthal angle of the segment in deg.
 
virtual double StartTheta () const
 Return the starting polar angle of the segment in deg.
 
virtual double DeltaTheta () const
 Return the opening polar angle of the segment in deg.
 
- Public Member Functions inherited from BaseVGM::VSphere
 VSphere ()
 
virtual ~VSphere ()
 
virtual VGM::SolidType Type () const
 Return the type of this solid.
 
virtual std::ostream & Put (std::ostream &out) const
 Put the printing of the solid parameters in the out stream.
 
- Public Member Functions inherited from VGM::ISphere
virtual ~ISphere ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Sphere ()
 
 Sphere (const Sphere &rhs)
 

Detailed Description

VGM implementation for Root sphere solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Sphere.h.

Constructor & Destructor Documentation

◆ Sphere() [1/4]

RootGM::Sphere::Sphere ( const std::string & name,
double rin,
double rout,
double sphi,
double dphi,
double stheta,
double dtheta )

Standard constructor to define sphere from parameters

Parameters
rininside radius of the shell in mm
routoutside radius of the shell in mm
sphistarting azimuthal angle of the segment in deg
dphiopening azimuthal angle of the segment in deg
sthetastarting polar angle of the segment in deg
dthetaopening polar angle of the segment in deg

Definition at line 26 of file Sphere.cxx.

◆ Sphere() [2/4]

RootGM::Sphere::Sphere ( TGeoSphere * sphere)

Standard constructor to define sphere from G4 object

Definition at line 48 of file Sphere.cxx.

◆ ~Sphere()

RootGM::Sphere::~Sphere ( )
virtual

Definition at line 70 of file Sphere.cxx.

◆ Sphere() [3/4]

RootGM::Sphere::Sphere ( )
protected

Protected default constructor

Definition at line 57 of file Sphere.cxx.

◆ Sphere() [4/4]

RootGM::Sphere::Sphere ( const Sphere & rhs)
protected

Protected copy constructor

Definition at line 63 of file Sphere.cxx.

Member Function Documentation

◆ Name()

std::string RootGM::Sphere::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::ISphere.

Definition at line 76 of file Sphere.cxx.

◆ InnerRadius()

double RootGM::Sphere::InnerRadius ( ) const
virtual

Return the inside radius of the shell in mm.

Implements VGM::ISphere.

Definition at line 79 of file Sphere.cxx.

◆ OuterRadius()

double RootGM::Sphere::OuterRadius ( ) const
virtual

Return the outside radius of the shell in mm.

Implements VGM::ISphere.

Definition at line 85 of file Sphere.cxx.

◆ StartPhi()

double RootGM::Sphere::StartPhi ( ) const
virtual

Return the starting azimuthal angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 91 of file Sphere.cxx.

◆ DeltaPhi()

double RootGM::Sphere::DeltaPhi ( ) const
virtual

Return the opening azimuthal angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 97 of file Sphere.cxx.

◆ StartTheta()

double RootGM::Sphere::StartTheta ( ) const
virtual

Return the starting polar angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 103 of file Sphere.cxx.

◆ DeltaTheta()

double RootGM::Sphere::DeltaTheta ( ) const
virtual

Return the opening polar angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 109 of file Sphere.cxx.


The documentation for this class was generated from the following files: