28 double hy2,
double hz)
32 fTrd(new TGeoTrd2(name.data(), hx1 /
RootGM::
Units::Length(),
65 fTrd(new TGeoTrd2(trd->GetName(), trd->GetDx1(), trd->GetDx2(),
66 trd->GetDy(), trd->GetDy(), trd->GetDz())),
92 if (fIsOwner)
delete fTrd;
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
virtual double YHalfLengthMinusZ() const
Return the half-length along y at the surface positioned at -hz in mm.
virtual std::string Name() const
Return the name of this solid.
virtual double XHalfLengthPlusZ() const
Return the half-length along x at the surface positioned at +hz in mm.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Trd(const std::string &name, double hx1, double hx2, double hy1, double hy2, double hz)
virtual double XHalfLengthMinusZ() const
Return the half-length along x at the surface positioned at -hz in mm.
virtual double YHalfLengthPlusZ() const
Return thehalf-length along y at the surface positioned at +hz in mm.
Conversion from Root physical units to VGM units.
static double Length()
Return Root length unit in VGM units.
VGM implementation for Root.