Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 SetProjectileNucleon (G4Nucleon *aNucleon)
 
G4NucleonGetProjectileNucleon () 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 55 of file G4InteractionContent.hh.

Constructor & Destructor Documentation

G4InteractionContent::G4InteractionContent ( )
inline

Definition at line 58 of file G4InteractionContent.hh.

58 {}
G4InteractionContent::G4InteractionContent ( G4VSplitableHadron aPrimaryParticipant)

Definition at line 42 of file G4InteractionContent.cc.

43 : theNumberOfHard(0), theNumberOfSoft(0), theNumberOfDiffractive(0),
44  theInteractionTime(0.), curStatus(0)
45 {
46  theProjectile=aPrimaryParticipant;
47  theTarget=0;
48  theProjectileNucleon=0;
49  theTargetNucleon=0;
50 }
G4InteractionContent::~G4InteractionContent ( )

Definition at line 52 of file G4InteractionContent.cc.

53 {}

Member Function Documentation

G4double G4InteractionContent::GetInteractionTime ( ) const

Definition at line 64 of file G4InteractionContent.cc.

65 {return theInteractionTime;}

Here is the caller graph for this function:

G4int G4InteractionContent::GetNumberOfDiffractiveCollisions ( )
inline

Definition at line 174 of file G4InteractionContent.hh.

175 {
176  return theNumberOfDiffractive;
177 }
G4int G4InteractionContent::GetNumberOfHardCollisions ( )
inline

Definition at line 159 of file G4InteractionContent.hh.

160 {
161  return theNumberOfHard;
162 }
G4int G4InteractionContent::GetNumberOfSoftCollisions ( )
inline

Definition at line 154 of file G4InteractionContent.hh.

155 {
156  return theNumberOfSoft;
157 }

Here is the caller graph for this function:

G4VSplitableHadron * G4InteractionContent::GetProjectile ( ) const
inline

Definition at line 119 of file G4InteractionContent.hh.

120 {
121  return theProjectile;
122 }

Here is the caller graph for this function:

G4Nucleon * G4InteractionContent::GetProjectileNucleon ( ) const
inline

Definition at line 139 of file G4InteractionContent.hh.

140 {
141  return theProjectileNucleon;
142 }
G4int G4InteractionContent::GetStatus ( ) const

Definition at line 70 of file G4InteractionContent.cc.

71 {return curStatus;}
G4VSplitableHadron * G4InteractionContent::GetTarget ( void  ) const
inline

Definition at line 124 of file G4InteractionContent.hh.

125 {
126  return theTarget;
127 }

Here is the caller graph for this function:

G4Nucleon * G4InteractionContent::GetTargetNucleon ( ) const
inline

Definition at line 149 of file G4InteractionContent.hh.

150 {
151  return theTargetNucleon;
152 }
G4bool G4InteractionContent::operator< ( const G4InteractionContent right) const

Definition at line 56 of file G4InteractionContent.cc.

57 {
58  return this->GetInteractionTime() < right.GetInteractionTime();
59 }
G4double GetInteractionTime() const

Here is the call graph for this function:

void G4InteractionContent::SetInteractionTime ( G4double  aValue)

Definition at line 61 of file G4InteractionContent.cc.

62 {theInteractionTime = aValue;}

Here is the caller graph for this function:

void G4InteractionContent::SetNumberOfDiffractiveCollisions ( int  nCol)
inline

Definition at line 179 of file G4InteractionContent.hh.

180 {
181  theNumberOfDiffractive = nCol;
182 }

Here is the caller graph for this function:

void G4InteractionContent::SetNumberOfHardCollisions ( int  nCol)
inline

Definition at line 169 of file G4InteractionContent.hh.

170 {
171  theNumberOfHard = nCol;
172 }
void G4InteractionContent::SetNumberOfSoftCollisions ( int  nCol)
inline

Definition at line 164 of file G4InteractionContent.hh.

165 {
166  theNumberOfSoft = nCol;
167 }

Here is the caller graph for this function:

void G4InteractionContent::SetProjectileNucleon ( G4Nucleon aNucleon)
inline

Definition at line 134 of file G4InteractionContent.hh.

135 {
136  theProjectileNucleon = aNucleon;
137 }

Here is the caller graph for this function:

void G4InteractionContent::SetStatus ( G4int  aValue)

Definition at line 67 of file G4InteractionContent.cc.

68 {curStatus = aValue;}

Here is the caller graph for this function:

void G4InteractionContent::SetTarget ( G4VSplitableHadron aTarget)
inline

Definition at line 129 of file G4InteractionContent.hh.

130 {
131  theTarget = aTarget;
132 }

Here is the caller graph for this function:

void G4InteractionContent::SetTargetNucleon ( G4Nucleon aNucleon)
inline

Definition at line 144 of file G4InteractionContent.hh.

145 {
146  theTargetNucleon = aNucleon;
147 }

Here is the caller graph for this function:

void G4InteractionContent::SplitHadrons ( )
inline

Definition at line 184 of file G4InteractionContent.hh.

185 {
186  //G4cout<<"InterContent Proj "<<theProjectile<<G4endl;
187  if ( theProjectile != NULL ) {theProjectile->SplitUp();}
188  //G4cout<<"InterContent Targ "<<theTarget<<G4endl;
189  if ( theTarget != NULL ) {theTarget->SplitUp();}
190  #ifdef G4DEBUG
191  //Dump();
192  #endif
193 }
virtual void SplitUp()=0

Here is the call graph for this function:


The documentation for this class was generated from the following files: