28 double hy2,
double hz)
32 fTrd(new TGeoTrd2(name.data(), hx1 /
RootGM::
Units::Length(),
53 :
VGM::ISolid(),
VGM::ITrd(),
BaseVGM::VTrd(), fTrd(trd), fIsOwner(false)
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()
VGM implementation for Root trd solid.
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.
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.