VGM implementation for Root torus solid.
More...
#include <Torus.h>
|
| Torus (const std::string &name, double rin, double rout, double rax, double sphi, double dphi) |
|
| Torus (TGeoTorus *torus) |
|
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 Root torus solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 31 of file Torus.h.
◆ Torus() [1/4]
RootGM::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 26 of file Torus.cxx.
◆ Torus() [2/4]
RootGM::Torus::Torus |
( |
TGeoTorus * | torus | ) |
|
Standard constructor to define torus from Root object
Definition at line 47 of file Torus.cxx.
◆ ~Torus()
RootGM::Torus::~Torus |
( |
| ) |
|
|
virtual |
◆ Torus() [3/4]
Protected default constructor
Definition at line 56 of file Torus.cxx.
◆ Torus() [4/4]
RootGM::Torus::Torus |
( |
const Torus & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 62 of file Torus.cxx.
◆ Name()
std::string RootGM::Torus::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadius()
double RootGM::Torus::InnerRadius |
( |
| ) |
const |
|
virtual |
◆ OuterRadius()
double RootGM::Torus::OuterRadius |
( |
| ) |
const |
|
virtual |
Return the outside radius of the torus in mm.
Implements VGM::ITorus.
Definition at line 84 of file Torus.cxx.
◆ AxialRadius()
double RootGM::Torus::AxialRadius |
( |
| ) |
const |
|
virtual |
Return the axial (swept) radius of the torus in mm.
Implements VGM::ITorus.
Definition at line 90 of file Torus.cxx.
◆ StartPhi()
double RootGM::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 96 of file Torus.cxx.
◆ DeltaPhi()
double RootGM::Torus::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening phi angle of the segment in deg.
Implements VGM::ITorus.
Definition at line 102 of file Torus.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Torus.h
- packages/RootGM/source/solids/Torus.cxx