VGM implementation for Root tubs solid.
More...
#include <Tubs.h>
|
| Tubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi) |
|
| Tubs (TGeoTube *tubs) |
|
virtual | ~Tubs () |
|
virtual std::string | Name () const |
| Return the name of this solid.
|
|
virtual double | InnerRadius () const |
| Return the inside radius in mm.
|
|
virtual double | OuterRadius () const |
| Return the outside radius in mm.
|
|
virtual double | ZHalfLength () const |
| Return the half-length along the z axis in m.
|
|
virtual double | StartPhi () const |
| Return the starting angle of the segment in deg.
|
|
virtual double | DeltaPhi () const |
| Return the opening angle of the segment in deg.
|
|
| VTubs () |
|
virtual | ~VTubs () |
|
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 | ~ITubs () |
|
virtual | ~ISolid () |
|
VGM implementation for Root tubs solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 31 of file Tubs.h.
◆ Tubs() [1/4]
RootGM::Tubs::Tubs |
( |
const std::string & | name, |
|
|
double | rin, |
|
|
double | rout, |
|
|
double | hz, |
|
|
double | sphi, |
|
|
double | dphi ) |
Standard constructor to define tubs from parameters
- Parameters
-
rin | inside radius in mm |
rout | outside radius in mm |
hz | half-length along the z axis in mm |
sphi | starting angle of the segment in deg |
dphi | opening angle of the segment in deg |
Definition at line 26 of file Tubs.cxx.
◆ Tubs() [2/4]
RootGM::Tubs::Tubs |
( |
TGeoTube * | tubs | ) |
|
Standard constructor to define tubs from Root object
Definition at line 46 of file Tubs.cxx.
◆ ~Tubs()
◆ Tubs() [3/4]
Protected default constructor
Definition at line 55 of file Tubs.cxx.
◆ Tubs() [4/4]
RootGM::Tubs::Tubs |
( |
const Tubs & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 61 of file Tubs.cxx.
◆ Name()
std::string RootGM::Tubs::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadius()
double RootGM::Tubs::InnerRadius |
( |
| ) |
const |
|
virtual |
◆ OuterRadius()
double RootGM::Tubs::OuterRadius |
( |
| ) |
const |
|
virtual |
◆ ZHalfLength()
double RootGM::Tubs::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in m.
Implements VGM::ITubs.
Definition at line 89 of file Tubs.cxx.
◆ StartPhi()
double RootGM::Tubs::StartPhi |
( |
| ) |
const |
|
virtual |
Return the starting angle of the segment in deg.
Implements VGM::ITubs.
Definition at line 95 of file Tubs.cxx.
◆ DeltaPhi()
double RootGM::Tubs::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening angle of the segment in deg.
Implements VGM::ITubs.
Definition at line 104 of file Tubs.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Tubs.h
- packages/RootGM/source/solids/Tubs.cxx