32#include "G4ReflectedSolid.hh"
37 double phi,
double dy1,
double dx1,
double dx2,
double alpha1,
double dy2,
38 double dx3,
double dx4,
double alpha2)
39 :
VGM::ISolid(),
VGM::ITrap(),
BaseVGM::VTrap(), fIsReflected(false), fTrap(0)
69 if (dx1 == 0.) dx1 = 10.0e-3;
70 if (dx2 == 0.) dx2 = 10.0e-3;
71 if (dx3 == 0.) dx3 = 10.0e-3;
72 if (dx4 == 0.) dx4 = 10.0e-3;
static double Length()
Return CLHEP default length unit in VGM units.
static double Angle()
Return CLHEP default angle unit in VGM units.
static SolidMap * Instance()
void AddSolid(VGM::ISolid *, G4VSolid *)
VGM implementation for Geant4 trap solid.
virtual double YHalfLengthPlusZ() const
Return the half-length along y 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 XHalfLengthMinusZMinusY() const
Return the half-length along x of the side at -hy of the face at -hz in mm.
virtual std::string Name() const
Return the name of this solid.
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 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 YHalfLengthMinusZ() const
Return the half-length along y 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 XHalfLengthMinusZPlusY() const
Return the half-length along x of the side at +hy of the face at +hz 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.