36 : theDirection(0,0,1), theEnergy(-1), theStat(
isAlive),
37 theW(1.), theEDep(0.) {}
46 "G4HadFinalState: fatal - negative energy");
53 if(std::fabs(x*x + y*y + z*z - 1.0)>0.001) {
57 "G4HadFinalState: fatal - negative direction.mag().");
83 "Trying direct access to secondary beyond end of list");
92 "Trying direct access to secondary beyond end of list");
void set(double x, double y, double z)
void SetMomentumChange(const G4ThreeVector &aV)
G4HadSecondary * GetSecondary(size_t i)
G4ThreeVector theDirection
void SetEnergyChange(G4double anEnergy)
G4HadFinalStateStatus theStat
G4GLOB_DLL std::ostream G4cout
void AddSecondaries(const std::vector< G4HadSecondary > &addSecs)
std::vector< G4HadSecondary > theSecs