14 double rIn,
double rOut,
19 p_.emplace_back(zhalf);
21 p_.emplace_back(rOut);
22 p_.emplace_back(startPhi);
23 p_.emplace_back(deltaPhi);
43 double volume1=1_pi*rIn*rIn*z;
44 double volume2=1_pi*rOut*rOut*z;
46 double slice=fabs(phi/(2_pi));
48 volume=slice*(volume2-volume1);
void stream(std::ostream &) const override
constexpr NumType convertRadToDeg(NumType radians)
Tubs(double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
double volume() const override
constexpr NumType convertMmToCm(NumType millimeters)