5 #include "CLHEP/Units/GlobalSystemOfUnits.h" 6 #include "CLHEP/Units/SystemOfUnits.h" 10 os <<
" xhalf[cm]=" <<
p_[0]/cm
11 <<
" yhalf[cm]=" <<
p_[1]/cm
12 <<
" zhalf[cm]=" <<
p_[2]/cm
13 <<
" alpha[deg]=" <<
p_[3]/deg
14 <<
" theta[deg]=" <<
p_[4]/deg
15 <<
" phi[deg]=" <<
p_[5]/deg;
void stream(std::ostream &os) const
double volume() const
Not as flexible and possibly less accurate than G4 volume.