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
#define CONVERT_TO(_x, _y)
Tubs(double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
double volume() const override
constexpr long double _pi(M_PI)