Geant4  10.02.p03
G4InteractionContent Class Reference

#include <G4InteractionContent.hh>

Collaboration diagram for G4InteractionContent:

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
 

Private Member Functions

G4InteractionContentoperator= (const G4InteractionContent &right)
 
 G4InteractionContent (const G4InteractionContent &right)
 
int operator== (const G4InteractionContent &right) const
 
int operator!= (const G4InteractionContent &right) const
 

Private Attributes

G4VSplitableHadrontheTarget
 
G4VSplitableHadrontheProjectile
 
G4NucleontheProjectileNucleon
 
G4NucleontheTargetNucleon
 
G4int theNumberOfHard
 
G4int theNumberOfSoft
 
G4int theNumberOfDiffractive
 
G4double theInteractionTime
 
G4int curStatus
 

Detailed Description

Definition at line 55 of file G4InteractionContent.hh.

Constructor & Destructor Documentation

◆ G4InteractionContent() [1/3]

G4InteractionContent::G4InteractionContent ( )
inline

Definition at line 60 of file G4InteractionContent.hh.

60 {}
Here is the call graph for this function:

◆ G4InteractionContent() [2/3]

G4InteractionContent::G4InteractionContent ( G4VSplitableHadron aPrimaryParticipant)

◆ ~G4InteractionContent()

G4InteractionContent::~G4InteractionContent ( )

Definition at line 52 of file G4InteractionContent.cc.

53 {}
Here is the caller graph for this function:

◆ G4InteractionContent() [3/3]

G4InteractionContent::G4InteractionContent ( const G4InteractionContent right)
private

Member Function Documentation

◆ GetInteractionTime()

G4double G4InteractionContent::GetInteractionTime ( ) const

Definition at line 64 of file G4InteractionContent.cc.

Here is the caller graph for this function:

◆ GetNumberOfDiffractiveCollisions()

G4int G4InteractionContent::GetNumberOfDiffractiveCollisions ( )
inline

Definition at line 179 of file G4InteractionContent.hh.

180 {
181  return theNumberOfDiffractive;
182 }
Here is the caller graph for this function:

◆ GetNumberOfHardCollisions()

G4int G4InteractionContent::GetNumberOfHardCollisions ( )
inline

Definition at line 164 of file G4InteractionContent.hh.

165 {
166  return theNumberOfHard;
167 }
Here is the caller graph for this function:

◆ GetNumberOfSoftCollisions()

G4int G4InteractionContent::GetNumberOfSoftCollisions ( )
inline

Definition at line 159 of file G4InteractionContent.hh.

160 {
161  return theNumberOfSoft;
162 }
Here is the caller graph for this function:

◆ GetProjectile()

G4VSplitableHadron * G4InteractionContent::GetProjectile ( ) const
inline

Definition at line 124 of file G4InteractionContent.hh.

125 {
126  return theProjectile;
127 }
G4VSplitableHadron * theProjectile
Here is the caller graph for this function:

◆ GetProjectileNucleon()

G4Nucleon * G4InteractionContent::GetProjectileNucleon ( ) const
inline

Definition at line 144 of file G4InteractionContent.hh.

145 {
146  return theProjectileNucleon;
147 }
Here is the caller graph for this function:

◆ GetStatus()

G4int G4InteractionContent::GetStatus ( ) const

Definition at line 69 of file G4InteractionContent.cc.

Here is the caller graph for this function:

◆ GetTarget()

G4VSplitableHadron * G4InteractionContent::GetTarget ( void  ) const
inline

Definition at line 129 of file G4InteractionContent.hh.

130 {
131  return theTarget;
132 }
G4VSplitableHadron * theTarget
Here is the caller graph for this function:

◆ GetTargetNucleon()

G4Nucleon * G4InteractionContent::GetTargetNucleon ( ) const
inline

Definition at line 154 of file G4InteractionContent.hh.

155 {
156  return theTargetNucleon;
157 }
Here is the caller graph for this function:

◆ operator!=()

int G4InteractionContent::operator!= ( const G4InteractionContent right) const
private
Here is the caller graph for this function:

◆ operator<()

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:
Here is the caller graph for this function:

◆ operator=()

G4InteractionContent& G4InteractionContent::operator= ( const G4InteractionContent right)
private
Here is the caller graph for this function:

◆ operator==()

int G4InteractionContent::operator== ( const G4InteractionContent right) const
private
Here is the caller graph for this function:

◆ SetInteractionTime()

void G4InteractionContent::SetInteractionTime ( G4double  aValue)

Definition at line 61 of file G4InteractionContent.cc.

62 {theInteractionTime = aValue;}
Here is the caller graph for this function:

◆ SetNumberOfDiffractiveCollisions()

void G4InteractionContent::SetNumberOfDiffractiveCollisions ( int  nCol)
inline

Definition at line 184 of file G4InteractionContent.hh.

185 {
186  theNumberOfDiffractive = nCol;
187 }
Here is the caller graph for this function:

◆ SetNumberOfHardCollisions()

void G4InteractionContent::SetNumberOfHardCollisions ( int  nCol)
inline

Definition at line 174 of file G4InteractionContent.hh.

175 {
176  theNumberOfHard = nCol;
177 }
Here is the caller graph for this function:

◆ SetNumberOfSoftCollisions()

void G4InteractionContent::SetNumberOfSoftCollisions ( int  nCol)
inline

Definition at line 169 of file G4InteractionContent.hh.

170 {
171  theNumberOfSoft = nCol;
172 }
Here is the caller graph for this function:

◆ SetProjectileNucleon()

void G4InteractionContent::SetProjectileNucleon ( G4Nucleon aNucleon)
inline

Definition at line 139 of file G4InteractionContent.hh.

140 {
141  theProjectileNucleon = aNucleon;
142 }
Here is the caller graph for this function:

◆ SetStatus()

void G4InteractionContent::SetStatus ( G4int  aValue)

Definition at line 67 of file G4InteractionContent.cc.

68 {curStatus = aValue;}
Here is the caller graph for this function:

◆ SetTarget()

void G4InteractionContent::SetTarget ( G4VSplitableHadron aTarget)
inline

Definition at line 134 of file G4InteractionContent.hh.

135 {
136  theTarget = aTarget;
137 }
G4VSplitableHadron * theTarget
Here is the caller graph for this function:

◆ SetTargetNucleon()

void G4InteractionContent::SetTargetNucleon ( G4Nucleon aNucleon)
inline

Definition at line 149 of file G4InteractionContent.hh.

150 {
151  theTargetNucleon = aNucleon;
152 }
Here is the caller graph for this function:

◆ SplitHadrons()

void G4InteractionContent::SplitHadrons ( )
inline

Definition at line 189 of file G4InteractionContent.hh.

190 {
191 //G4cout<<"InterContent Proj "<<theProjectile<<G4endl;
192  if ( theProjectile != NULL ) {theProjectile->SplitUp();}
193 //G4cout<<"InterContent Targ "<<theTarget<<G4endl;
194  if ( theTarget != NULL ) {theTarget->SplitUp();}
195  #ifdef G4DEBUG
196  // Dump();
197  #endif
198 }
virtual void SplitUp()=0
G4VSplitableHadron * theProjectile
G4VSplitableHadron * theTarget
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ curStatus

G4int G4InteractionContent::curStatus
private

Definition at line 118 of file G4InteractionContent.hh.

◆ theInteractionTime

G4double G4InteractionContent::theInteractionTime
private

Definition at line 117 of file G4InteractionContent.hh.

◆ theNumberOfDiffractive

G4int G4InteractionContent::theNumberOfDiffractive
private

Definition at line 115 of file G4InteractionContent.hh.

◆ theNumberOfHard

G4int G4InteractionContent::theNumberOfHard
private

Definition at line 113 of file G4InteractionContent.hh.

◆ theNumberOfSoft

G4int G4InteractionContent::theNumberOfSoft
private

Definition at line 114 of file G4InteractionContent.hh.

◆ theProjectile

G4VSplitableHadron* G4InteractionContent::theProjectile
private

Definition at line 108 of file G4InteractionContent.hh.

◆ theProjectileNucleon

G4Nucleon* G4InteractionContent::theProjectileNucleon
private

Definition at line 110 of file G4InteractionContent.hh.

◆ theTarget

G4VSplitableHadron* G4InteractionContent::theTarget
private

Definition at line 107 of file G4InteractionContent.hh.

◆ theTargetNucleon

G4Nucleon* G4InteractionContent::theTargetNucleon
private

Definition at line 111 of file G4InteractionContent.hh.


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