20#ifndef ROOT_GM_CTUBS_H
21#define ROOT_GM_CTUBS_H
34 Ctubs(
const std::string& name,
double rin,
double rout,
double hz,
35 double sphi,
double dphi,
double nxlow,
double nylow,
double nzlow,
36 double nxhigh,
double nyhigh,
double nzhigh);
37 Ctubs(TGeoCtub* ctubs);
41 virtual std::string
Name()
const;
47 virtual double NxLow()
const;
48 virtual double NyLow()
const;
49 virtual double NzLow()
const;
50 virtual double NxHigh()
const;
51 virtual double NyHigh()
const;
52 virtual double NzHigh()
const;
The ABC for cut tubs solids.
VGM implementation for Root cut tubs solid.
virtual double NzHigh() const
Z-component of the normal unit vector to the cut plane in +z.
virtual double NzLow() const
Z-component of the normal unit vector to the cut plane in -z.
virtual double StartPhi() const
Return the starting angle of the segment in deg.
virtual double ZHalfLength() const
Return the half-length along the z axis in m.
virtual double InnerRadius() const
Return the inside radius in mm.
virtual double NyLow() const
Y-component of the normal unit vector to the cut plane in -z.
virtual double NxLow() const
X-component of the normal unit vector to the cut plane in -z.
virtual double NxHigh() const
X-component of the normal unit vector to the cut plane in +z.
virtual double NyHigh() const
Y-component of the normal unit vector to the cut plane in +z.
virtual double DeltaPhi() const
Return the opening angle of the segment in deg.
virtual double OuterRadius() const
Return the outside radius in mm.
virtual std::string Name() const
Return the name of this solid.
VGM implementation for Root.