Geant4-11
Public Member Functions | Private Member Functions | Private Attributes
G4InteractionContent Class Reference

#include <G4InteractionContent.hh>

Public Member Functions

 G4InteractionContent ()
 
 G4InteractionContent (G4VSplitableHadron *aPrimaryParticipant)
 
G4double GetInteractionTime () const
 
G4int GetNumberOfDiffractiveCollisions ()
 
G4int GetNumberOfHardCollisions ()
 
G4int GetNumberOfSoftCollisions ()
 
G4VSplitableHadronGetProjectile () const
 
G4NucleonGetProjectileNucleon () const
 
G4int GetStatus () const
 
G4VSplitableHadronGetTarget () const
 
G4NucleonGetTargetNucleon () const
 
G4bool operator< (const G4InteractionContent &right) const
 
void SetInteractionTime (G4double aValue)
 
void SetNumberOfDiffractiveCollisions (int)
 
void SetNumberOfHardCollisions (int)
 
void SetNumberOfSoftCollisions (int)
 
void SetProjectileNucleon (G4Nucleon *aNucleon)
 
void SetStatus (G4int aValue)
 
void SetTarget (G4VSplitableHadron *aTarget)
 
void SetTargetNucleon (G4Nucleon *aNucleon)
 
void SplitHadrons ()
 
 ~G4InteractionContent ()
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 45 of file G4InteractionContent.hh.

Constructor & Destructor Documentation

◆ G4InteractionContent() [1/3]

G4InteractionContent::G4InteractionContent ( )
inline

Definition at line 48 of file G4InteractionContent.hh.

48{}

◆ G4InteractionContent() [2/3]

G4InteractionContent::G4InteractionContent ( G4VSplitableHadron aPrimaryParticipant)

◆ ~G4InteractionContent()

G4InteractionContent::~G4InteractionContent ( )

Definition at line 51 of file G4InteractionContent.cc.

52{}

◆ G4InteractionContent() [3/3]

G4InteractionContent::G4InteractionContent ( const G4InteractionContent right)
private

Member Function Documentation

◆ GetInteractionTime()

G4double G4InteractionContent::GetInteractionTime ( ) const

◆ GetNumberOfDiffractiveCollisions()

G4int G4InteractionContent::GetNumberOfDiffractiveCollisions ( )
inline

Definition at line 164 of file G4InteractionContent.hh.

165{
167}

References theNumberOfDiffractive.

◆ GetNumberOfHardCollisions()

G4int G4InteractionContent::GetNumberOfHardCollisions ( )
inline

Definition at line 149 of file G4InteractionContent.hh.

150{
151 return theNumberOfHard;
152}

References theNumberOfHard.

◆ GetNumberOfSoftCollisions()

G4int G4InteractionContent::GetNumberOfSoftCollisions ( )
inline

Definition at line 144 of file G4InteractionContent.hh.

145{
146 return theNumberOfSoft;
147}

References theNumberOfSoft.

Referenced by G4QGSParticipants::CreateStrings(), and G4QGSParticipants::PerformSoftCollisions().

◆ GetProjectile()

G4VSplitableHadron * G4InteractionContent::GetProjectile ( ) const
inline

◆ GetProjectileNucleon()

G4Nucleon * G4InteractionContent::GetProjectileNucleon ( ) const
inline

Definition at line 129 of file G4InteractionContent.hh.

130{
132}

References theProjectileNucleon.

Referenced by G4FTFModel::ExciteParticipants().

◆ GetStatus()

G4int G4InteractionContent::GetStatus ( ) const

◆ GetTarget()

G4VSplitableHadron * G4InteractionContent::GetTarget ( void  ) const
inline

◆ GetTargetNucleon()

G4Nucleon * G4InteractionContent::GetTargetNucleon ( ) const
inline

Definition at line 139 of file G4InteractionContent.hh.

140{
141 return theTargetNucleon;
142}

References theTargetNucleon.

Referenced by G4FTFModel::ExciteParticipants(), and G4QGSParticipants::GetList().

◆ operator!=()

G4bool G4InteractionContent::operator!= ( const G4InteractionContent right) const
private

◆ operator<()

G4bool G4InteractionContent::operator< ( const G4InteractionContent right) const

Definition at line 55 of file G4InteractionContent.cc.

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

References GetInteractionTime().

◆ operator=()

G4InteractionContent & G4InteractionContent::operator= ( const G4InteractionContent right)
private

◆ operator==()

G4bool G4InteractionContent::operator== ( const G4InteractionContent right) const
private

◆ SetInteractionTime()

void G4InteractionContent::SetInteractionTime ( G4double  aValue)

Definition at line 60 of file G4InteractionContent.cc.

61{theInteractionTime = aValue;}

References theInteractionTime.

Referenced by G4FTFParticipants::GetList().

◆ SetNumberOfDiffractiveCollisions()

void G4InteractionContent::SetNumberOfDiffractiveCollisions ( int  nCol)
inline

◆ SetNumberOfHardCollisions()

void G4InteractionContent::SetNumberOfHardCollisions ( int  nCol)
inline

Definition at line 159 of file G4InteractionContent.hh.

160{
161 theNumberOfHard = nCol;
162}

References theNumberOfHard.

◆ SetNumberOfSoftCollisions()

void G4InteractionContent::SetNumberOfSoftCollisions ( int  nCol)
inline

◆ SetProjectileNucleon()

void G4InteractionContent::SetProjectileNucleon ( G4Nucleon aNucleon)
inline

Definition at line 124 of file G4InteractionContent.hh.

125{
126 theProjectileNucleon = aNucleon;
127}

References theProjectileNucleon.

Referenced by G4FTFParticipants::GetList().

◆ SetStatus()

void G4InteractionContent::SetStatus ( G4int  aValue)

◆ SetTarget()

void G4InteractionContent::SetTarget ( G4VSplitableHadron aTarget)
inline

◆ SetTargetNucleon()

void G4InteractionContent::SetTargetNucleon ( G4Nucleon aNucleon)
inline

◆ SplitHadrons()

void G4InteractionContent::SplitHadrons ( )
inline

Definition at line 174 of file G4InteractionContent.hh.

175{
176 //G4cout<<"InterContent Proj "<<theProjectile<<G4endl;
177 if ( theProjectile != NULL ) {theProjectile->SplitUp();}
178 //G4cout<<"InterContent Targ "<<theTarget<<G4endl;
179 if ( theTarget != NULL ) {theTarget->SplitUp();}
180 #ifdef G4DEBUG
181 //Dump();
182 #endif
183}
virtual void SplitUp()=0

References G4VSplitableHadron::SplitUp(), theProjectile, and theTarget.

Field Documentation

◆ curStatus

G4int G4InteractionContent::curStatus
private

Definition at line 104 of file G4InteractionContent.hh.

Referenced by GetStatus(), and SetStatus().

◆ theInteractionTime

G4double G4InteractionContent::theInteractionTime
private

Definition at line 103 of file G4InteractionContent.hh.

Referenced by GetInteractionTime(), and SetInteractionTime().

◆ theNumberOfDiffractive

G4int G4InteractionContent::theNumberOfDiffractive
private

◆ theNumberOfHard

G4int G4InteractionContent::theNumberOfHard
private

Definition at line 99 of file G4InteractionContent.hh.

Referenced by GetNumberOfHardCollisions(), and SetNumberOfHardCollisions().

◆ theNumberOfSoft

G4int G4InteractionContent::theNumberOfSoft
private

◆ theProjectile

G4VSplitableHadron* G4InteractionContent::theProjectile
private

Definition at line 94 of file G4InteractionContent.hh.

Referenced by G4InteractionContent(), GetProjectile(), and SplitHadrons().

◆ theProjectileNucleon

G4Nucleon* G4InteractionContent::theProjectileNucleon
private

◆ theTarget

G4VSplitableHadron* G4InteractionContent::theTarget
private

Definition at line 93 of file G4InteractionContent.hh.

Referenced by G4InteractionContent(), GetTarget(), SetTarget(), and SplitHadrons().

◆ theTargetNucleon

G4Nucleon* G4InteractionContent::theTargetNucleon
private

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