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

VGM implementation for Root torus solid. More...

#include <Torus.h>

Inheritance diagram for RootGM::Torus:

Public Member Functions

 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.
 
- Public Member Functions inherited from BaseVGM::VTorus
 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.
 
- Public Member Functions inherited from VGM::ITorus
virtual ~ITorus ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Torus ()
 
 Torus (const Torus &rhs)
 

Detailed Description

VGM implementation for Root torus solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Torus.h.

Constructor & Destructor Documentation

◆ 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
rininside radius of the torus in mm
routoutside radius of the torus in mm
raxaxial (swept) radius of the torus in mm
sphistarting angle of the segment in deg (with 0 being the +x axis)
dphiopening 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

Definition at line 69 of file Torus.cxx.

◆ Torus() [3/4]

RootGM::Torus::Torus ( )
protected

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.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ITorus.

Definition at line 75 of file Torus.cxx.

◆ InnerRadius()

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

Return the inside radius of the torus in mm.

Implements VGM::ITorus.

Definition at line 78 of file Torus.cxx.

◆ 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: