VGM implementation for Root cons solid.
More...
#include <Cons.h>
|
| Cons (const std::string &name, double rin1, double rout1, double rin2, double rout2, double hz, double sphi, double dphi) |
|
| Cons (TGeoCone *cons) |
|
virtual | ~Cons () |
|
virtual std::string | Name () const |
| Return the name of this solid.
|
|
virtual double | InnerRadiusMinusZ () const |
| Return the innner radius at -z in mm.
|
|
virtual double | OuterRadiusMinusZ () const |
| Return the outer radius at -z in mm.
|
|
virtual double | InnerRadiusPlusZ () const |
| Return the innner radius at +z in mm.
|
|
virtual double | OuterRadiusPlusZ () const |
| Return the outer radius at -z in mm.
|
|
virtual double | ZHalfLength () const |
| Return the half-length along the z axis in mm.
|
|
virtual double | StartPhi () const |
| Return the starting phi angle of the segment in deg.
|
|
virtual double | DeltaPhi () const |
| Return the opening phi angle of the segment in deg.
|
|
| VCons () |
|
virtual | ~VCons () |
|
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 | ~ICons () |
|
virtual | ~ISolid () |
|
VGM implementation for Root cons solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 31 of file Cons.h.
◆ Cons() [1/4]
RootGM::Cons::Cons |
( |
const std::string & | name, |
|
|
double | rin1, |
|
|
double | rout1, |
|
|
double | rin2, |
|
|
double | rout2, |
|
|
double | hz, |
|
|
double | sphi, |
|
|
double | dphi ) |
Standard constructor to define cons from parameters
- Parameters
-
rin1 | inside radius at -hz in mm |
rout1 | outside radius at -hz in mm |
rin2 | inside radius at +hz in mm |
rout2 | outside radius at +hz 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 27 of file Cons.cxx.
◆ Cons() [2/4]
RootGM::Cons::Cons |
( |
TGeoCone * | cons | ) |
|
Standard constructor to define cons from Root object
Definition at line 50 of file Cons.cxx.
◆ ~Cons()
◆ Cons() [3/4]
Protected default constructor
Definition at line 59 of file Cons.cxx.
◆ Cons() [4/4]
RootGM::Cons::Cons |
( |
const Cons & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 65 of file Cons.cxx.
◆ Name()
std::string RootGM::Cons::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadiusMinusZ()
double RootGM::Cons::InnerRadiusMinusZ |
( |
| ) |
const |
|
virtual |
Return the innner radius at -z in mm.
Implements VGM::ICons.
Definition at line 81 of file Cons.cxx.
◆ OuterRadiusMinusZ()
double RootGM::Cons::OuterRadiusMinusZ |
( |
| ) |
const |
|
virtual |
◆ InnerRadiusPlusZ()
double RootGM::Cons::InnerRadiusPlusZ |
( |
| ) |
const |
|
virtual |
Return the innner radius at +z in mm.
Implements VGM::ICons.
Definition at line 93 of file Cons.cxx.
◆ OuterRadiusPlusZ()
double RootGM::Cons::OuterRadiusPlusZ |
( |
| ) |
const |
|
virtual |
◆ ZHalfLength()
double RootGM::Cons::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::ICons.
Definition at line 105 of file Cons.cxx.
◆ StartPhi()
double RootGM::Cons::StartPhi |
( |
| ) |
const |
|
virtual |
Return the starting phi angle of the segment in deg.
Implements VGM::ICons.
Definition at line 111 of file Cons.cxx.
◆ DeltaPhi()
double RootGM::Cons::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening phi angle of the segment in deg.
Implements VGM::ICons.
Definition at line 120 of file Cons.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Cons.h
- packages/RootGM/source/solids/Cons.cxx