G4InteractionContent Class Reference

#include <G4InteractionContent.hh>


Public Member Functions

 G4InteractionContent ()
 G4InteractionContent (G4VSplitableHadron *aPrimaryParticipant)
 ~G4InteractionContent ()
G4bool operator< (const G4InteractionContent &right) const
G4VSplitableHadronGetProjectile () const
G4VSplitableHadronGetTarget () const
void SetTargetNucleon (G4Nucleon *aNucleon)
G4NucleonGetTargetNucleon () 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


Detailed Description

Definition at line 51 of file G4InteractionContent.hh.


Constructor & Destructor Documentation

G4InteractionContent::G4InteractionContent (  )  [inline]

Definition at line 56 of file G4InteractionContent.hh.

00056 {}

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 (  ) 

Definition at line 48 of file G4InteractionContent.cc.

00049 {}


Member Function Documentation

G4double G4InteractionContent::GetInteractionTime (  )  const

Definition at line 60 of file G4InteractionContent.cc.

Referenced by operator<().

00061 {return theInteractionTime;}

G4int G4InteractionContent::GetNumberOfDiffractiveCollisions (  )  [inline]

Definition at line 160 of file G4InteractionContent.hh.

00161 {
00162         return theNumberOfDiffractive;
00163 }

G4int G4InteractionContent::GetNumberOfHardCollisions (  )  [inline]

Definition at line 145 of file G4InteractionContent.hh.

00146 {
00147         return theNumberOfHard;
00148 }

G4int G4InteractionContent::GetNumberOfSoftCollisions (  )  [inline]

Definition at line 140 of file G4InteractionContent.hh.

00141 {
00142         return theNumberOfSoft;
00143 }

G4VSplitableHadron * G4InteractionContent::GetProjectile (  )  const [inline]

Definition at line 115 of file G4InteractionContent.hh.

00116 {
00117         return theProjectile;
00118 }

G4int G4InteractionContent::GetStatus (  )  const

Definition at line 65 of file G4InteractionContent.cc.

00066 {return curStatus;}

G4VSplitableHadron * G4InteractionContent::GetTarget (  )  const [inline]

Definition at line 120 of file G4InteractionContent.hh.

00121 {
00122         return theTarget;
00123 }

G4Nucleon * G4InteractionContent::GetTargetNucleon (  )  const [inline]

Definition at line 135 of file G4InteractionContent.hh.

00136 {
00137        return theTargetNucleon;
00138 }

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  ) 

Definition at line 57 of file G4InteractionContent.cc.

00058 {theInteractionTime = aValue;}

void G4InteractionContent::SetNumberOfDiffractiveCollisions ( int   )  [inline]

Definition at line 165 of file G4InteractionContent.hh.

Referenced by G4QGSParticipants::SelectInteractions().

00166 {
00167         theNumberOfDiffractive = nCol;
00168 }

void G4InteractionContent::SetNumberOfHardCollisions ( int   )  [inline]

Definition at line 155 of file G4InteractionContent.hh.

00156 {
00157         theNumberOfHard = nCol;
00158 }

void G4InteractionContent::SetNumberOfSoftCollisions ( int   )  [inline]

Definition at line 150 of file G4InteractionContent.hh.

Referenced by G4QGSParticipants::SelectInteractions().

00151 {
00152         theNumberOfSoft = nCol;
00153 }

void G4InteractionContent::SetStatus ( G4int  aValue  ) 

Definition at line 63 of file G4InteractionContent.cc.

Referenced by G4FTFParticipants::GetList().

00064 {curStatus = aValue;}

void G4InteractionContent::SetTarget ( G4VSplitableHadron aTarget  )  [inline]

Definition at line 125 of file G4InteractionContent.hh.

Referenced by G4FTFParticipants::GetList(), and G4QGSParticipants::SelectInteractions().

00126 {
00127         theTarget = aTarget;
00128 }

void G4InteractionContent::SetTargetNucleon ( G4Nucleon aNucleon  )  [inline]

Definition at line 130 of file G4InteractionContent.hh.

Referenced by G4FTFParticipants::GetList().

00131 {
00132         theTargetNucleon = aNucleon;
00133 }

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 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:16 2013 for Geant4 by  doxygen 1.4.7