Geant4  10.03
G4DiffractiveSplitableHadron Class Reference

#include <G4DiffractiveSplitableHadron.hh>

+ Inheritance diagram for G4DiffractiveSplitableHadron:
+ Collaboration diagram for G4DiffractiveSplitableHadron:

Public Member Functions

 G4DiffractiveSplitableHadron ()
 
 G4DiffractiveSplitableHadron (const G4ReactionProduct &aPrimary)
 
 G4DiffractiveSplitableHadron (const G4Nucleon &aNucleon)
 
 G4DiffractiveSplitableHadron (const G4VKineticNucleon *aNucleon)
 
 ~G4DiffractiveSplitableHadron ()
 
void SplitUp ()
 
G4PartonGetNextParton ()
 
G4PartonGetNextAntiParton ()
 
void SetFirstParton (G4int PDGcode)
 
void SetSecondParton (G4int PDGcode)
 
- Public Member Functions inherited from G4VSplitableHadron
 G4VSplitableHadron ()
 
 G4VSplitableHadron (const G4ReactionProduct &aPrimary)
 
 G4VSplitableHadron (const G4Nucleon &aNucleon)
 
 G4VSplitableHadron (const G4VKineticNucleon *aNucleon)
 
virtual ~G4VSplitableHadron ()
 
int operator== (const G4VSplitableHadron &right) const
 
int operator!= (const G4VSplitableHadron &right) const
 
void Set4Momentum (const G4LorentzVector &a4Momentum)
 
const G4LorentzVectorGet4Momentum () const
 
void SetDefinition (const G4ParticleDefinition *aDefinition)
 
const G4ParticleDefinitionGetDefinition () const
 
void IncrementCollisionCount (G4int aCount)
 
void SetCollisionCount (G4int aCount)
 
void SetTimeOfCreation (G4double aTime)
 
G4double GetTimeOfCreation ()
 
void SetPosition (const G4ThreeVector &aPosition)
 
const G4ThreeVectorGetPosition () const
 
void SetStatus (const G4int aStatus)
 
G4int GetStatus ()
 
G4bool IsSplit ()
 
G4int GetSoftCollisionCount ()
 

Private Member Functions

 G4DiffractiveSplitableHadron (const G4DiffractiveSplitableHadron &)
 
G4DiffractiveSplitableHadronoperator= (const G4DiffractiveSplitableHadron &)
 
int operator== (const G4DiffractiveSplitableHadron &right) const
 
int operator!= (const G4DiffractiveSplitableHadron &right) const
 
G4int Diquark (G4int aquark, G4int bquark, G4int Spin) const
 
void ChooseStringEnds (G4int PDGcode, G4int *aEnd, G4int *bEnd) const
 

Private Attributes

G4PartonParton [2]
 
G4int PartonIndex
 

Additional Inherited Members

- Protected Member Functions inherited from G4VSplitableHadron
void Splitting ()
 

Detailed Description

Definition at line 47 of file G4DiffractiveSplitableHadron.hh.

Constructor & Destructor Documentation

G4DiffractiveSplitableHadron::G4DiffractiveSplitableHadron ( )

Definition at line 47 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

G4DiffractiveSplitableHadron::G4DiffractiveSplitableHadron ( const G4ReactionProduct aPrimary)

Definition at line 57 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

G4DiffractiveSplitableHadron::G4DiffractiveSplitableHadron ( const G4Nucleon aNucleon)

Definition at line 67 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

G4DiffractiveSplitableHadron::G4DiffractiveSplitableHadron ( const G4VKineticNucleon aNucleon)

Definition at line 77 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

G4DiffractiveSplitableHadron::~G4DiffractiveSplitableHadron ( )

Definition at line 87 of file G4DiffractiveSplitableHadron.cc.

G4DiffractiveSplitableHadron::G4DiffractiveSplitableHadron ( const G4DiffractiveSplitableHadron )
private

Member Function Documentation

void G4DiffractiveSplitableHadron::ChooseStringEnds ( G4int  PDGcode,
G4int aEnd,
G4int bEnd 
) const
private

Definition at line 164 of file G4DiffractiveSplitableHadron.cc.

References Diquark(), G4UniformRand, and G4INCL::Math::max().

Referenced by SplitUp().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DiffractiveSplitableHadron::Diquark ( G4int  aquark,
G4int  bquark,
G4int  Spin 
) const
private

Definition at line 278 of file G4DiffractiveSplitableHadron.cc.

References G4INCL::Math::max(), and G4INCL::Math::min().

Referenced by ChooseStringEnds().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Parton * G4DiffractiveSplitableHadron::GetNextAntiParton ( )
virtual

Implements G4VSplitableHadron.

Definition at line 137 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

G4Parton * G4DiffractiveSplitableHadron::GetNextParton ( )
virtual

Implements G4VSplitableHadron.

Definition at line 126 of file G4DiffractiveSplitableHadron.cc.

References Parton, and PartonIndex.

int G4DiffractiveSplitableHadron::operator!= ( const G4DiffractiveSplitableHadron right) const
private
G4DiffractiveSplitableHadron& G4DiffractiveSplitableHadron::operator= ( const G4DiffractiveSplitableHadron )
private
int G4DiffractiveSplitableHadron::operator== ( const G4DiffractiveSplitableHadron right) const
private
void G4DiffractiveSplitableHadron::SetFirstParton ( G4int  PDGcode)
virtual

Implements G4VSplitableHadron.

Definition at line 148 of file G4DiffractiveSplitableHadron.cc.

References Parton.

void G4DiffractiveSplitableHadron::SetSecondParton ( G4int  PDGcode)
virtual

Implements G4VSplitableHadron.

Definition at line 156 of file G4DiffractiveSplitableHadron.cc.

References Parton.

void G4DiffractiveSplitableHadron::SplitUp ( )
virtual

Implements G4VSplitableHadron.

Definition at line 95 of file G4DiffractiveSplitableHadron.cc.

References ChooseStringEnds(), G4VSplitableHadron::GetDefinition(), G4ParticleDefinition::GetPDGEncoding(), G4VSplitableHadron::IsSplit(), Parton, PartonIndex, and G4VSplitableHadron::Splitting().

+ Here is the call graph for this function:

Member Data Documentation

G4Parton* G4DiffractiveSplitableHadron::Parton[2]
private
G4int G4DiffractiveSplitableHadron::PartonIndex
private

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