36   : theDirection(0,0,1), theEnergy(-1), theStat(
isAlive), 
 
   37     theW(1.), theEDep(0.) {}
 
   44       std::cout << 
"Final state energy was: E = "<<theEnergy<<
G4endl;
 
   46       "G4HadFinalState: fatal - negative energy");
 
   52   theDirection.
set(x,y,z);
 
   53   if(std::fabs(x*x + y*y + z*z - 1.0)>0.001) {
 
   54     G4cout <<
"We have negative theDirection.mag() = "<<theDirection.
mag()
 
   57       "G4HadFinalState: fatal - negative direction.mag().");
 
   64   theSecs.insert(theSecs.end(),addSecs.begin(),addSecs.end());
 
   69   theDirection.
set(0,0,1);
 
   81   if(i>theSecs.size()) {
 
   83       "Trying direct access to secondary beyond end of list");
 
   90   if(i>theSecs.size()) {
 
   92       "Trying direct access to secondary beyond end of list");
 
void set(double x, double y, double z)
 
void AddSecondaries(const std::vector< G4HadSecondary > &addSecs)
 
G4HadSecondary * GetSecondary(size_t i)
 
G4GLOB_DLL std::ostream G4cout
 
void SetEnergyChange(G4double anEnergy)
 
void SetMomentumChange(const G4ThreeVector &aV)