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

VGM implementation for Geant4 sphere solid. More...

#include <Sphere.h>

Inheritance diagram for Geant4GM::Sphere:

Public Member Functions

 Sphere (const std::string &name, double rin, double rout, double sphi, double dphi, double stheta, double dtheta)
 
 Sphere (G4Sphere *sphere, G4ReflectedSolid *reflSphere=0)
 
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 Geant4 sphere solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Sphere.h.

Constructor & Destructor Documentation

◆ Sphere() [1/4]

Geant4GM::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 35 of file Sphere.cxx.

◆ Sphere() [2/4]

Geant4GM::Sphere::Sphere ( G4Sphere * sphere,
G4ReflectedSolid * reflSphere = 0 )

Standard constructor to define sphere from G4 object

Definition at line 58 of file Sphere.cxx.

◆ ~Sphere()

Geant4GM::Sphere::~Sphere ( )
virtual

Definition at line 89 of file Sphere.cxx.

◆ Sphere() [3/4]

Geant4GM::Sphere::Sphere ( )
protected

Protected default constructor

Definition at line 76 of file Sphere.cxx.

◆ Sphere() [4/4]

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

Protected copy constructor

Definition at line 82 of file Sphere.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ISphere.

Definition at line 95 of file Sphere.cxx.

◆ InnerRadius()

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

Return the inside radius of the shell in mm.

Implements VGM::ISphere.

Definition at line 98 of file Sphere.cxx.

◆ OuterRadius()

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

Return the outside radius of the shell in mm.

Implements VGM::ISphere.

Definition at line 104 of file Sphere.cxx.

◆ StartPhi()

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

Return the starting azimuthal angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 110 of file Sphere.cxx.

◆ DeltaPhi()

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

Return the opening azimuthal angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 116 of file Sphere.cxx.

◆ StartTheta()

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

Return the starting polar angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 122 of file Sphere.cxx.

◆ DeltaTheta()

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

Return the opening polar angle of the segment in deg.

Implements VGM::ISphere.

Definition at line 131 of file Sphere.cxx.


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