|
VGM Version 3.05
|
VGM implementation for Root trap solid. More...
#include <Trap.h>
Public Member Functions | |
| Trap (const std::string &name, double hz, double theta, double phi, double dy1, double dx1, double dx2, double alpha1, double dy2, double dx3, double dx4, double alpha2) | |
| Trap (TGeoTrap *trap) | |
| virtual | ~Trap () |
| virtual std::string | Name () const |
| Return the name of this solid. | |
| virtual double | ZHalfLength () const |
| Return the half-length along the z axis in mm. | |
| virtual double | Theta () const |
| Return the polar angle of the line joining the centres of the faces at -hz and +hz in deg. | |
| virtual double | Phi () const |
| Return the azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg. | |
| virtual double | YHalfLengthMinusZ () const |
| Return the half-length along y of the face at -hz in mm. | |
| virtual double | XHalfLengthMinusZMinusY () const |
| Return the half-length along x of the side at -hy of the face at -hz in mm. | |
| virtual double | XHalfLengthMinusZPlusY () const |
| Return the half-length along x of the side at +hy of the face at +hz in mm. | |
| virtual double | AlphaMinusZ () const |
| Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at -hz. | |
| virtual double | YHalfLengthPlusZ () const |
| Return the half-length along y of the face at +hz in m. | |
| virtual double | XHalfLengthPlusZMinusY () const |
| Return the half-length along x of the side at -hy of the face at +hz in m. | |
| virtual double | XHalfLengthPlusZPlusY () const |
| Return the half-length along x of the side at +hy of the face at +hz in m. | |
| virtual double | AlphaPlusZ () const |
| Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at +hz. | |
Protected Member Functions | |
| Trap () | |
| Trap (const Trap &rhs) | |
| RootGM::Trap::Trap | ( | const std::string & | name, |
| double | hz, | ||
| double | theta, | ||
| double | phi, | ||
| double | dy1, | ||
| double | dx1, | ||
| double | dx2, | ||
| double | alpha1, | ||
| double | dy2, | ||
| double | dx3, | ||
| double | dx4, | ||
| double | alpha2 | ||
| ) |
Standard constructor to define trap from parameters ( Note that of the 11 parameters described below, only 9 are really independent)
| hz | half-length along the z axis in mm |
| theta | polar angle of the line joining the centres of the faces at -hz and +hz in deg |
| phi | azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg |
| dy1 | half-length along y of the face at -hz in mm |
| dx1 | half-length along x of the side at -hy of the face at -hz in mm |
| dx2 | half-length along x of the side at +hy of the face at +hz in mm |
| alpha1 | angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at -hz |
| dy2 | half-length along y of the face at +hz in mm |
| dx3 | half-length along x of the side at -hy of the face at +hz in mm |
| dx4 | half-length along x of the side at +hy of the face at +hz in mm |
| alpha2 | angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at +hz |
| RootGM::Trap::Trap | ( | TGeoTrap * | trap | ) |
| RootGM::Trap::Trap | ( | ) | [protected] |
| RootGM::Trap::Trap | ( | const Trap & | rhs | ) | [protected] |
| std::string RootGM::Trap::Name | ( | ) | const [virtual] |
| double RootGM::Trap::ZHalfLength | ( | ) | const [virtual] |
Return the half-length along the z axis in mm.
Implements VGM::ITrap.
| double RootGM::Trap::Theta | ( | ) | const [virtual] |
Return the polar angle of the line joining the centres of the faces at -hz and +hz in deg.
Implements VGM::ITrap.
| double RootGM::Trap::Phi | ( | ) | const [virtual] |
Return the azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
Implements VGM::ITrap.
| double RootGM::Trap::YHalfLengthMinusZ | ( | ) | const [virtual] |
Return the half-length along y of the face at -hz in mm.
Implements VGM::ITrap.
| double RootGM::Trap::XHalfLengthMinusZMinusY | ( | ) | const [virtual] |
Return the half-length along x of the side at -hy of the face at -hz in mm.
Implements VGM::ITrap.
| double RootGM::Trap::XHalfLengthMinusZPlusY | ( | ) | const [virtual] |
Return the half-length along x of the side at +hy of the face at +hz in mm.
Implements VGM::ITrap.
| double RootGM::Trap::AlphaMinusZ | ( | ) | const [virtual] |
Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at -hz.
Implements VGM::ITrap.
| double RootGM::Trap::YHalfLengthPlusZ | ( | ) | const [virtual] |
Return the half-length along y of the face at +hz in m.
Implements VGM::ITrap.
| double RootGM::Trap::XHalfLengthPlusZMinusY | ( | ) | const [virtual] |
Return the half-length along x of the side at -hy of the face at +hz in m.
Implements VGM::ITrap.
| double RootGM::Trap::XHalfLengthPlusZPlusY | ( | ) | const [virtual] |
Return the half-length along x of the side at +hy of the face at +hz in m.
Implements VGM::ITrap.
| double RootGM::Trap::AlphaPlusZ | ( | ) | const [virtual] |
Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at +hz.
Implements VGM::ITrap.
1.7.4