Geant4  10.00.p01
G4QGSParticipants Class Reference

#include <G4QGSParticipants.hh>

+ Inheritance diagram for G4QGSParticipants:
+ Collaboration diagram for G4QGSParticipants:

Classes

struct  DeleteInteractionContent
 
struct  DeletePartonPair
 
struct  DeleteSplitableHadron
 

Public Member Functions

 G4QGSParticipants ()
 
 G4QGSParticipants (const G4QGSParticipants &right)
 
const G4QGSParticipantsoperator= (const G4QGSParticipants &right)
 
virtual ~G4QGSParticipants ()
 
int operator== (const G4QGSParticipants &right) const
 
int operator!= (const G4QGSParticipants &right) const
 
virtual void DoLorentzBoost (G4ThreeVector aBoost)
 
G4PartonPairGetNextPartonPair ()
 
void BuildInteractions (const G4ReactionProduct &thePrimary)
 
void StartPartonPairLoop ()
 
- Public Member Functions inherited from G4VParticipants
 G4VParticipants ()
 
 G4VParticipants (const G4VParticipants &right)
 
virtual ~G4VParticipants ()
 
const G4VParticipantsoperator= (const G4VParticipants &right)
 
int operator== (const G4VParticipants &right) const
 
int operator!= (const G4VParticipants &right) const
 
virtual void Init (G4int theZ, G4int theA)
 
virtual void SetNucleus (G4V3DNucleus *aNucleus)
 
virtual G4V3DNucleusGetWoundedNucleus () const
 
virtual void InitProjectileNucleus (G4int theZ, G4int theA)
 
virtual void SetProjectileNucleus (G4V3DNucleus *aNucleus)
 
virtual G4V3DNucleusGetProjectileNucleus () const
 

Protected Types

enum  { SOFT, DIFFRACTIVE }
 

Protected Member Functions

virtual G4VSplitableHadronSelectInteractions (const G4ReactionProduct &thePrimary)
 
void SplitHadrons ()
 
void PerformSoftCollisions ()
 
void PerformDiffractiveCollisions ()
 
G4bool IsSingleDiffractive ()
 

Protected Attributes

std::vector
< G4InteractionContent * > 
theInteractions
 
std::vector< G4VSplitableHadron * > theTargets
 
std::vector< G4PartonPair * > thePartonPairs
 
G4SingleDiffractiveExcitation theSingleDiffExcitation
 
G4QGSDiffractiveExcitation theDiffExcitaton
 
G4int ModelMode
 
G4ThreeVector theBoost
 
const G4int nCutMax
 
const G4double ThresholdParameter
 
const G4double QGSMThreshold
 
const G4double theNucleonRadius
 

Additional Inherited Members

- Public Attributes inherited from G4VParticipants
G4V3DNucleustheNucleus
 
G4V3DNucleustheProjectileNucleus
 

Detailed Description

Definition at line 41 of file G4QGSParticipants.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
SOFT 
DIFFRACTIVE 

Definition at line 85 of file G4QGSParticipants.hh.

Constructor & Destructor Documentation

G4QGSParticipants::G4QGSParticipants ( )

Definition at line 39 of file G4QGSParticipants.cc.

G4QGSParticipants::G4QGSParticipants ( const G4QGSParticipants right)

Definition at line 48 of file G4QGSParticipants.cc.

G4QGSParticipants::~G4QGSParticipants ( )
virtual

Definition at line 56 of file G4QGSParticipants.cc.

Member Function Documentation

void G4QGSParticipants::BuildInteractions ( const G4ReactionProduct thePrimary)

Definition at line 60 of file G4QGSParticipants.cc.

References PerformDiffractiveCollisions(), PerformSoftCollisions(), SelectInteractions(), SplitHadrons(), theInteractions, and theTargets.

+ Here is the call graph for this function:

virtual void G4QGSParticipants::DoLorentzBoost ( G4ThreeVector  aBoost)
inlinevirtual

Definition at line 52 of file G4QGSParticipants.hh.

References G4V3DNucleus::DoLorentzBoost(), theBoost, and G4VParticipants::theNucleus.

+ Here is the call graph for this function:

G4PartonPair * G4QGSParticipants::GetNextPartonPair ( )
inline

Definition at line 105 of file G4QGSParticipants.hh.

References thePartonPairs.

G4bool G4QGSParticipants::IsSingleDiffractive ( )
inlineprotected

Definition at line 94 of file G4QGSParticipants.hh.

References G4UniformRand.

Referenced by G4GammaParticipants::SelectInteractions(), and SelectInteractions().

+ Here is the caller graph for this function:

int G4QGSParticipants::operator!= ( const G4QGSParticipants right) const
const G4QGSParticipants& G4QGSParticipants::operator= ( const G4QGSParticipants right)
int G4QGSParticipants::operator== ( const G4QGSParticipants right) const
void G4QGSParticipants::PerformDiffractiveCollisions ( )
protected

Definition at line 228 of file G4QGSParticipants.cc.

References G4PartonPair::DIFFRACTIVE, G4cout, G4endl, G4Parton::Get4Momentum(), G4VSplitableHadron::GetNextAntiParton(), G4VSplitableHadron::GetNextParton(), G4PartonPair::GetParton1(), G4PartonPair::GetParton2(), G4Parton::GetPDGcode(), G4InteractionContent::GetProjectile(), G4InteractionContent::GetTarget(), G4Parton::GetX(), G4PartonPair::PROJECTILE, G4PartonPair::TARGET, theInteractions, and thePartonPairs.

Referenced by BuildInteractions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4QGSParticipants::PerformSoftCollisions ( )
protected

Definition at line 275 of file G4QGSParticipants.cc.

References G4cout, G4endl, G4Parton::Get4Momentum(), G4VSplitableHadron::GetNextAntiParton(), G4VSplitableHadron::GetNextParton(), G4InteractionContent::GetNumberOfSoftCollisions(), G4PartonPair::GetParton1(), G4PartonPair::GetParton2(), G4Parton::GetPDGcode(), G4InteractionContent::GetProjectile(), G4InteractionContent::GetTarget(), G4Parton::GetX(), G4PartonPair::PROJECTILE, G4PartonPair::SOFT, G4PartonPair::TARGET, theInteractions, and thePartonPairs.

Referenced by BuildInteractions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSplitableHadron * G4QGSParticipants::SelectInteractions ( const G4ReactionProduct thePrimary)
protectedvirtual

Reimplemented in G4GammaParticipants.

Definition at line 83 of file G4QGSParticipants.cc.

References G4V3DNucleus::ChooseImpactXandY(), DIFFRACTIVE, G4QGSDiffractiveExcitation::ExciteParticipants(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4cout, G4endl, G4QGSParticipants_NPart, G4UniformRand, G4Nucleon::Get4Momentum(), G4Nucleon::GetBindingEnergy(), G4Nucleon::GetDefinition(), G4ReactionProduct::GetDefinition(), G4ReactionProduct::GetKineticEnergy(), G4ReactionProduct::GetMass(), G4ReactionProduct::GetMomentum(), G4V3DNucleus::GetNextNucleon(), G4V3DNucleus::GetOuterRadius(), G4ParticleDefinition::GetPDGMass(), G4Nucleon::GetPosition(), G4ReactionProduct::GetTotalEnergy(), GeV, G4Nucleon::Hit(), G4VSplitableHadron::IncrementCollisionCount(), IsSingleDiffractive(), ModelMode, nCutMax, QGSMThreshold, G4Nucleon::SetMomentum(), G4InteractionContent::SetNumberOfDiffractiveCollisions(), G4InteractionContent::SetNumberOfSoftCollisions(), G4InteractionContent::SetTarget(), SOFT, sqr(), G4V3DNucleus::StartLoop(), theDiffExcitaton, theInteractions, theNucleonRadius, G4VParticipants::theNucleus, theSingleDiffExcitation, theTargets, ThresholdParameter, and TRUE.

Referenced by BuildInteractions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4QGSParticipants::SplitHadrons ( )
inlineprotected

Definition at line 114 of file G4QGSParticipants.hh.

References theInteractions.

Referenced by BuildInteractions().

+ Here is the caller graph for this function:

void G4QGSParticipants::StartPartonPairLoop ( )
inline

Definition at line 101 of file G4QGSParticipants.hh.

Member Data Documentation

G4int G4QGSParticipants::ModelMode
protected
const G4int G4QGSParticipants::nCutMax
protected

Definition at line 86 of file G4QGSParticipants.hh.

Referenced by SelectInteractions().

const G4double G4QGSParticipants::QGSMThreshold
protected
G4ThreeVector G4QGSParticipants::theBoost
protected

Definition at line 81 of file G4QGSParticipants.hh.

Referenced by DoLorentzBoost().

G4QGSDiffractiveExcitation G4QGSParticipants::theDiffExcitaton
protected
const G4double G4QGSParticipants::theNucleonRadius
protected

Definition at line 89 of file G4QGSParticipants.hh.

Referenced by SelectInteractions().

std::vector<G4PartonPair*> G4QGSParticipants::thePartonPairs
protected
G4SingleDiffractiveExcitation G4QGSParticipants::theSingleDiffExcitation
protected
std::vector<G4VSplitableHadron*> G4QGSParticipants::theTargets
protected
const G4double G4QGSParticipants::ThresholdParameter
protected

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