VGM implementation for Geant4 torus solid.
More...
#include <Torus.h>
|
| Torus (const std::string &name, double rin, double rout, double rax, double sphi, double dphi) |
|
| Torus (G4Torus *torus, G4ReflectedSolid *reflTorus=0) |
|
virtual | ~Torus () |
|
virtual std::string | Name () const |
| Return the name of this solid.
|
|
virtual double | InnerRadius () const |
| Return the inside radius of the torus in mm.
|
|
virtual double | OuterRadius () const |
| Return the outside radius of the torus in mm.
|
|
virtual double | AxialRadius () const |
| Return the axial (swept) radius of the torus in mm.
|
|
virtual double | StartPhi () const |
| Return the starting phi angle of the segment in deg (with 0 being the +x axis)
|
|
virtual double | DeltaPhi () const |
| Return the opening phi angle of the segment in deg.
|
|
| VTorus () |
|
virtual | ~VTorus () |
|
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.
|
|
virtual | ~ITorus () |
|
virtual | ~ISolid () |
|
VGM implementation for Geant4 torus solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Torus.h.
◆ Torus() [1/4]
Geant4GM::Torus::Torus |
( |
const std::string & | name, |
|
|
double | rin, |
|
|
double | rout, |
|
|
double | rax, |
|
|
double | sphi, |
|
|
double | dphi ) |
Standard constructor to define torus from parameters
- Parameters
-
rin | inside radius of the torus in mm |
rout | outside radius of the torus in mm |
rax | axial (swept) radius of the torus in mm |
sphi | starting angle of the segment in deg (with 0 being the +x axis) |
dphi | opening angle of the segment in deg |
Definition at line 28 of file Torus.cxx.
◆ Torus() [2/4]
Geant4GM::Torus::Torus |
( |
G4Torus * | torus, |
|
|
G4ReflectedSolid * | reflTorus = 0 ) |
Standard constructor to define torus from G4 object
Definition at line 49 of file Torus.cxx.
◆ ~Torus()
Geant4GM::Torus::~Torus |
( |
| ) |
|
|
virtual |
◆ Torus() [3/4]
Geant4GM::Torus::Torus |
( |
| ) |
|
|
protected |
Protected default constructor
Definition at line 61 of file Torus.cxx.
◆ Torus() [4/4]
Geant4GM::Torus::Torus |
( |
const Torus & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 67 of file Torus.cxx.
◆ Name()
std::string Geant4GM::Torus::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadius()
double Geant4GM::Torus::InnerRadius |
( |
| ) |
const |
|
virtual |
◆ OuterRadius()
double Geant4GM::Torus::OuterRadius |
( |
| ) |
const |
|
virtual |
Return the outside radius of the torus in mm.
Implements VGM::ITorus.
Definition at line 89 of file Torus.cxx.
◆ AxialRadius()
double Geant4GM::Torus::AxialRadius |
( |
| ) |
const |
|
virtual |
Return the axial (swept) radius of the torus in mm.
Implements VGM::ITorus.
Definition at line 95 of file Torus.cxx.
◆ StartPhi()
double Geant4GM::Torus::StartPhi |
( |
| ) |
const |
|
virtual |
Return the starting phi angle of the segment in deg (with 0 being the +x axis)
Implements VGM::ITorus.
Definition at line 101 of file Torus.cxx.
◆ DeltaPhi()
double Geant4GM::Torus::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening phi angle of the segment in deg.
Implements VGM::ITorus.
Definition at line 107 of file Torus.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Torus.h
- packages/Geant4GM/source/solids/Torus.cxx