VGM implementation for Root cut tubs solid.
More...
#include <Ctubs.h>
|
| Ctubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi, double nxlow, double nylow, double nzlow, double nxhigh, double nyhigh, double nzhigh) |
|
| Ctubs (TGeoCtub *ctubs) |
|
virtual | ~Ctubs () |
|
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.
|
|
virtual double | NxLow () const |
| X-component of the normal unit vector to the cut plane in -z.
|
|
virtual double | NyLow () const |
| Y-component of the normal unit vector to the cut plane in -z.
|
|
virtual double | NzLow () const |
| Z-component of the normal unit vector to the cut plane in -z.
|
|
virtual double | NxHigh () const |
| X-component of the normal unit vector to the cut plane in +z.
|
|
virtual double | NyHigh () const |
| Y-component of the normal unit vector to the cut plane in +z.
|
|
virtual double | NzHigh () const |
| Z-component of the normal unit vector to the cut plane in +z.
|
|
| VCtubs () |
|
virtual | ~VCtubs () |
|
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 | ~ICtubs () |
|
virtual | ~ISolid () |
|
VGM implementation for Root cut tubs solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 31 of file Ctubs.h.
◆ Ctubs() [1/4]
RootGM::Ctubs::Ctubs |
( |
const std::string & | name, |
|
|
double | rin, |
|
|
double | rout, |
|
|
double | hz, |
|
|
double | sphi, |
|
|
double | dphi, |
|
|
double | nxlow, |
|
|
double | nylow, |
|
|
double | nzlow, |
|
|
double | nxhigh, |
|
|
double | nyhigh, |
|
|
double | nzhigh ) |
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 |
nxlow | X-component of the normal unit vector to the cut plane in -z |
nylow | Y-component of the normal unit vector to the cut plane in -z |
nzlow | Z-component of the normal unit vector to the cut plane in -z |
nxhigh | X-component of the normal unit vector to the cut plane in +z |
nyhigh | Y-component of the normal unit vector to the cut plane in +z |
nzhigh | Z-component of the normal unit vector to the cut plane in +z |
Definition at line 26 of file Ctubs.cxx.
◆ Ctubs() [2/4]
RootGM::Ctubs::Ctubs |
( |
TGeoCtub * | ctubs | ) |
|
Standard constructor to define tubs from Root object
Definition at line 56 of file Ctubs.cxx.
◆ ~Ctubs()
RootGM::Ctubs::~Ctubs |
( |
| ) |
|
|
virtual |
◆ Ctubs() [3/4]
Protected default constructor
Definition at line 65 of file Ctubs.cxx.
◆ Ctubs() [4/4]
RootGM::Ctubs::Ctubs |
( |
const Ctubs & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 71 of file Ctubs.cxx.
◆ Name()
std::string RootGM::Ctubs::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadius()
double RootGM::Ctubs::InnerRadius |
( |
| ) |
const |
|
virtual |
◆ OuterRadius()
double RootGM::Ctubs::OuterRadius |
( |
| ) |
const |
|
virtual |
◆ ZHalfLength()
double RootGM::Ctubs::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in m.
Implements VGM::ICtubs.
Definition at line 99 of file Ctubs.cxx.
◆ StartPhi()
double RootGM::Ctubs::StartPhi |
( |
| ) |
const |
|
virtual |
◆ DeltaPhi()
double RootGM::Ctubs::DeltaPhi |
( |
| ) |
const |
|
virtual |
◆ NxLow()
double RootGM::Ctubs::NxLow |
( |
| ) |
const |
|
virtual |
X-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
Definition at line 126 of file Ctubs.cxx.
◆ NyLow()
double RootGM::Ctubs::NyLow |
( |
| ) |
const |
|
virtual |
Y-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
Definition at line 129 of file Ctubs.cxx.
◆ NzLow()
double RootGM::Ctubs::NzLow |
( |
| ) |
const |
|
virtual |
Z-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
Definition at line 132 of file Ctubs.cxx.
◆ NxHigh()
double RootGM::Ctubs::NxHigh |
( |
| ) |
const |
|
virtual |
X-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.
Definition at line 135 of file Ctubs.cxx.
◆ NyHigh()
double RootGM::Ctubs::NyHigh |
( |
| ) |
const |
|
virtual |
Y-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.
Definition at line 138 of file Ctubs.cxx.
◆ NzHigh()
double RootGM::Ctubs::NzHigh |
( |
| ) |
const |
|
virtual |
Z-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.
Definition at line 141 of file Ctubs.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Ctubs.h
- packages/RootGM/source/solids/Ctubs.cxx