42#ifndef G4BinaryCascade_hh
43#define G4BinaryCascade_hh
94 void PrintWelcomeMessage();
95 void BuildTargetList();
113 void CorrectFinalPandE();
115 G4double CorrectShortlivedPrimaryForFermi(
117 G4bool CorrectShortlivedFinalsForFermi(
127 void StepParticlesOut();
136 G4int GetTotalCharge(std::vector<G4KineticTrack *> & aV)
139 std::vector<G4KineticTrack *>::iterator i;
140 for(i = aV.begin(); i != aV.end(); ++i)
142 result +=
G4lrint((*i)->GetDefinition()->GetPDGCharge());
146 G4int GetTotalBaryonCharge(std::vector<G4KineticTrack *> & aV)
149 std::vector<G4KineticTrack *>::iterator i;
150 for(i = aV.begin(); i != aV.end(); ++i)
152 if ( (*i)->GetDefinition()->GetBaryonNumber() != 0 ){
153 result +=
G4lrint((*i)->GetDefinition()->GetPDGCharge());
174 void PrintKTVector(
G4KineticTrack* kt, std::string comment=std::string(
""));
195 std::vector<G4BCAction *> theImR;
207 G4int currentA, currentZ, lateA, lateZ;
208 G4int initialZ, initialA,projectileA,projectileZ;
209 G4double massInNucleus, initial_nuclear_mass;
std::vector< G4ReactionProduct * > G4ReactionProductVector
virtual void PropagateModelDescription(std::ostream &) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &theNucleus)
virtual G4ReactionProductVector * Propagate(G4KineticTrackVector *, G4V3DNucleus *)
virtual void ModelDescription(std::ostream &) const
virtual ~G4BinaryCascade()