#include <G4InteractionContent.hh>
Public Member Functions | |
G4InteractionContent () | |
G4InteractionContent (G4VSplitableHadron *aPrimaryParticipant) | |
~G4InteractionContent () | |
G4bool | operator< (const G4InteractionContent &right) const |
G4VSplitableHadron * | GetProjectile () const |
G4VSplitableHadron * | GetTarget () const |
void | SetTargetNucleon (G4Nucleon *aNucleon) |
G4Nucleon * | GetTargetNucleon () const |
void | SetTarget (G4VSplitableHadron *aTarget) |
G4int | GetNumberOfSoftCollisions () |
G4int | GetNumberOfHardCollisions () |
void | SetNumberOfSoftCollisions (int) |
void | SetNumberOfHardCollisions (int) |
G4int | GetNumberOfDiffractiveCollisions () |
void | SetNumberOfDiffractiveCollisions (int) |
void | SplitHadrons () |
void | SetInteractionTime (G4double aValue) |
G4double | GetInteractionTime () const |
void | SetStatus (G4int aValue) |
G4int | GetStatus () const |
Definition at line 51 of file G4InteractionContent.hh.
G4InteractionContent::G4InteractionContent | ( | ) | [inline] |
G4InteractionContent::G4InteractionContent | ( | G4VSplitableHadron * | aPrimaryParticipant | ) |
Definition at line 39 of file G4InteractionContent.cc.
00040 : theNumberOfHard(0), theNumberOfSoft(0), theNumberOfDiffractive(0), 00041 theInteractionTime(0.), curStatus(0) 00042 { 00043 theProjectile=aPrimaryParticipant; 00044 theTarget=0; 00045 theTargetNucleon=0; 00046 }
G4InteractionContent::~G4InteractionContent | ( | ) |
G4double G4InteractionContent::GetInteractionTime | ( | ) | const |
G4int G4InteractionContent::GetNumberOfDiffractiveCollisions | ( | ) | [inline] |
G4int G4InteractionContent::GetNumberOfHardCollisions | ( | ) | [inline] |
G4int G4InteractionContent::GetNumberOfSoftCollisions | ( | ) | [inline] |
G4VSplitableHadron * G4InteractionContent::GetProjectile | ( | ) | const [inline] |
G4int G4InteractionContent::GetStatus | ( | ) | const |
G4VSplitableHadron * G4InteractionContent::GetTarget | ( | ) | const [inline] |
G4Nucleon * G4InteractionContent::GetTargetNucleon | ( | ) | const [inline] |
G4bool G4InteractionContent::operator< | ( | const G4InteractionContent & | right | ) | const |
Definition at line 52 of file G4InteractionContent.cc.
References GetInteractionTime().
00053 { 00054 return this->GetInteractionTime() < right.GetInteractionTime(); 00055 }
void G4InteractionContent::SetInteractionTime | ( | G4double | aValue | ) |
void G4InteractionContent::SetNumberOfDiffractiveCollisions | ( | int | ) | [inline] |
Definition at line 165 of file G4InteractionContent.hh.
Referenced by G4QGSParticipants::SelectInteractions().
void G4InteractionContent::SetNumberOfHardCollisions | ( | int | ) | [inline] |
void G4InteractionContent::SetNumberOfSoftCollisions | ( | int | ) | [inline] |
Definition at line 150 of file G4InteractionContent.hh.
Referenced by G4QGSParticipants::SelectInteractions().
void G4InteractionContent::SetStatus | ( | G4int | aValue | ) |
void G4InteractionContent::SetTarget | ( | G4VSplitableHadron * | aTarget | ) | [inline] |
Definition at line 125 of file G4InteractionContent.hh.
Referenced by G4FTFParticipants::GetList(), and G4QGSParticipants::SelectInteractions().
void G4InteractionContent::SetTargetNucleon | ( | G4Nucleon * | aNucleon | ) | [inline] |
void G4InteractionContent::SplitHadrons | ( | ) | [inline] |
Definition at line 170 of file G4InteractionContent.hh.
References G4VSplitableHadron::SplitUp().
00171 { 00172 if ( theProjectile != NULL ) theProjectile->SplitUp(); 00173 if ( theTarget != NULL ) theTarget->SplitUp(); 00174 #ifdef G4DEBUG 00175 // Dump(); 00176 #endif 00177 }