29#ifndef G4InteractionContent_h
30#define G4InteractionContent_h 1
99 G4int theNumberOfHard;
100 G4int theNumberOfSoft;
101 G4int theNumberOfDiffractive;
111 return theProjectile;
126 theProjectileNucleon = aNucleon;
131 return theProjectileNucleon;
136 theTargetNucleon = aNucleon;
141 return theTargetNucleon;
146 return theNumberOfSoft;
151 return theNumberOfHard;
156 theNumberOfSoft = nCol;
161 theNumberOfHard = nCol;
166 return theNumberOfDiffractive;
171 theNumberOfDiffractive = nCol;
177 if ( theProjectile != NULL ) {theProjectile->
SplitUp();}
179 if ( theTarget != NULL ) {theTarget->
SplitUp();}
186inline void G4InteractionContent::Dump()
191 << theNumberOfHard<<
" / "
192 <<theNumberOfSoft<<
" / "
193 <<theNumberOfDiffractive <<
G4endl
196 if ( theProjectile ) {
211 G4cout <<
"total 4-mom of interaction content " << mom <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void SetNumberOfDiffractiveCollisions(int)
G4double GetInteractionTime() const
void SetTargetNucleon(G4Nucleon *aNucleon)
G4int GetNumberOfHardCollisions()
G4Nucleon * GetTargetNucleon() const
void SetNumberOfHardCollisions(int)
G4int GetNumberOfDiffractiveCollisions()
G4bool operator<(const G4InteractionContent &right) const
void SetNumberOfSoftCollisions(int)
G4VSplitableHadron * GetProjectile() const
G4int GetNumberOfSoftCollisions()
void SetTarget(G4VSplitableHadron *aTarget)
G4Nucleon * GetProjectileNucleon() const
void SetStatus(G4int aValue)
void SetInteractionTime(G4double aValue)
G4VSplitableHadron * GetTarget() const
void SetProjectileNucleon(G4Nucleon *aNucleon)
G4int GetPDGEncoding() const
const G4ParticleDefinition * GetDefinition() const
const G4LorentzVector & Get4Momentum() const