27 double dy1,
double dx1,
double dx2,
double alpha1,
double dy2,
double dx3,
28 double dx4,
double alpha2)
32 fTrap(new TGeoTrap(name.data(), hz /
RootGM::
Units::Length(),
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
VGM implementation for Root trap solid.
virtual double YHalfLengthMinusZ() const
Return the half-length along y 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 o...
virtual double YHalfLengthPlusZ() const
Return the half-length along y of the face at +hz in m.
virtual std::string Name() const
Return the name of this solid.
virtual double XHalfLengthMinusZPlusY() const
Return the half-length along x of the side at +hy of the face at +hz in mm.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
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 o...
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 XHalfLengthPlusZMinusY() const
Return the half-length along x of the side at -hy of the face at +hz in m.
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 XHalfLengthPlusZPlusY() const
Return the half-length along x of the side at +hy of the face at +hz in m.
virtual double XHalfLengthMinusZMinusY() const
Return the half-length along x of the side at -hy of the face at -hz in mm.
Conversion from Root physical units to VGM units.
static double Length()
Return Root length unit in VGM units.
static double Angle()
Return Root angle unit in VGM units.
VGM implementation for Root.