G4VSplitableHadron Class Reference

#include <G4VSplitableHadron.hh>

Inheritance diagram for G4VSplitableHadron:

G4DiffractiveSplitableHadron G4QGSMSplitableHadron

Public Member Functions

 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 (G4ParticleDefinition *aDefinition)
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 ()
virtual void SplitUp ()=0
virtual void SetFirstParton (G4int PDGcode)=0
virtual void SetSecondParton (G4int PDGcode)=0
virtual G4PartonGetNextParton ()=0
virtual G4PartonGetNextAntiParton ()=0
G4bool IsSplit ()
G4int GetSoftCollisionCount ()

Protected Member Functions

void Splitting ()

Detailed Description

Definition at line 52 of file G4VSplitableHadron.hh.


Constructor & Destructor Documentation

G4VSplitableHadron::G4VSplitableHadron (  ) 

Definition at line 42 of file G4VSplitableHadron.cc.

00043       :  theDefinition(NULL), TimeOfCreation(0.), theCollisionCount(0),  // Uzhi 8.05.08
00044          curStatus(0), isSplit(false)                                    // Uzhi 17.07.09
00045 {
00046 }

G4VSplitableHadron::G4VSplitableHadron ( const G4ReactionProduct aPrimary  ) 

Definition at line 48 of file G4VSplitableHadron.cc.

References G4ReactionProduct::GetDefinition(), G4ReactionProduct::GetMomentum(), and G4ReactionProduct::GetTotalEnergy().

00049       :  TimeOfCreation(0.), theCollisionCount(0),                       // Uzhi 8.05.08
00050          curStatus(0), isSplit(false)                                    // Uzhi 17.07.09
00051 {
00052         theDefinition=aPrimary.GetDefinition();
00053         the4Momentum.setVect(aPrimary.GetMomentum());
00054         the4Momentum.setE(aPrimary.GetTotalEnergy());
00055 }

G4VSplitableHadron::G4VSplitableHadron ( const G4Nucleon aNucleon  ) 

Definition at line 57 of file G4VSplitableHadron.cc.

References G4Nucleon::GetMomentum(), G4Nucleon::GetParticleType(), and G4Nucleon::GetPosition().

00058 {
00059         TimeOfCreation   = 0.;                                          // Uzhi 8.05.08
00060         theCollisionCount= 0;
00061         isSplit          = false;
00062         theDefinition    =aNucleon.GetParticleType();
00063         the4Momentum     =aNucleon.GetMomentum();
00064         thePosition      =aNucleon.GetPosition();
00065         curStatus        = 0;                                           // Uzhi 17.07.09
00066 }

G4VSplitableHadron::G4VSplitableHadron ( const G4VKineticNucleon aNucleon  ) 

Definition at line 68 of file G4VSplitableHadron.cc.

References G4VKineticNucleon::Get4Momentum(), G4VKineticNucleon::GetDefinition(), and G4VKineticNucleon::GetPosition().

00069 {
00070         TimeOfCreation   = 0.;   // Uzhi 8.05.08
00071         theCollisionCount= 0;
00072         isSplit          = false;
00073         theDefinition    =aNucleon->GetDefinition();
00074         the4Momentum     =aNucleon->Get4Momentum();
00075         thePosition      =aNucleon->GetPosition();
00076         curStatus        = 0;                                        // Uzhi 17.07.09
00077 }

G4VSplitableHadron::~G4VSplitableHadron (  )  [virtual]

Definition at line 91 of file G4VSplitableHadron.cc.

00092 {
00093 }


Member Function Documentation

const G4LorentzVector & G4VSplitableHadron::Get4Momentum (  )  const [inline]

Definition at line 132 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4DiffractiveExcitation::CreateStrings(), G4ElasticHNScattering::ElasticScattering(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4DiffractiveExcitation::ExciteParticipants(), and G4QGSDiffractiveExcitation::String().

00133 {
00134         return the4Momentum;
00135 }

G4ParticleDefinition * G4VSplitableHadron::GetDefinition (  )  const [inline]

Definition at line 142 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4DiffractiveExcitation::ExciteParticipants(), and G4DiffractiveSplitableHadron::SplitUp().

00143 {
00144         return theDefinition;
00145 }

virtual G4Parton* G4VSplitableHadron::GetNextAntiParton (  )  [pure virtual]

Implemented in G4DiffractiveSplitableHadron, and G4QGSMSplitableHadron.

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

virtual G4Parton* G4VSplitableHadron::GetNextParton (  )  [pure virtual]

Implemented in G4DiffractiveSplitableHadron, and G4QGSMSplitableHadron.

Referenced by G4DiffractiveExcitation::CreateStrings(), G4QGSParticipants::PerformDiffractiveCollisions(), G4QGSParticipants::PerformSoftCollisions(), and G4QGSDiffractiveExcitation::String().

const G4ThreeVector & G4VSplitableHadron::GetPosition (  )  const [inline]

Definition at line 167 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4DiffractiveExcitation::CreateStrings(), G4ElasticHNScattering::ElasticScattering(), G4DiffractiveExcitation::ExciteParticipants(), and G4QGSDiffractiveExcitation::String().

00168 {
00169         return thePosition;
00170 }

G4int G4VSplitableHadron::GetSoftCollisionCount (  )  [inline]

Definition at line 117 of file G4VSplitableHadron.hh.

Referenced by G4QGSMSplitableHadron::SplitUp().

00118 {
00119 return theCollisionCount;
00120 }

G4int G4VSplitableHadron::GetStatus (  )  [inline]

Definition at line 177 of file G4VSplitableHadron.hh.

Referenced by G4DiffractiveExcitation::CreateStrings(), and G4DiffractiveExcitation::ExciteParticipants().

00178 {
00179         return curStatus; 
00180 }

G4double G4VSplitableHadron::GetTimeOfCreation (  )  [inline]

Definition at line 157 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4DiffractiveExcitation::CreateStrings(), G4ElasticHNScattering::ElasticScattering(), and G4DiffractiveExcitation::ExciteParticipants().

00158 {
00159         return TimeOfCreation; 
00160 }

void G4VSplitableHadron::IncrementCollisionCount ( G4int  aCount  )  [inline]

Definition at line 147 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), G4DiffractiveExcitation::ExciteParticipants(), and G4QGSParticipants::SelectInteractions().

00148 {
00149         theCollisionCount += aCount;
00150 }

G4bool G4VSplitableHadron::IsSplit (  )  [inline]

Definition at line 90 of file G4VSplitableHadron.hh.

Referenced by G4QGSMSplitableHadron::SplitUp(), and G4DiffractiveSplitableHadron::SplitUp().

00090 { return isSplit;}

int G4VSplitableHadron::operator!= ( const G4VSplitableHadron right  )  const

Definition at line 108 of file G4VSplitableHadron.cc.

00109 {
00110         return this!=&right;
00111 }

int G4VSplitableHadron::operator== ( const G4VSplitableHadron right  )  const

Definition at line 103 of file G4VSplitableHadron.cc.

00104 {
00105         return this==&right;
00106 }

void G4VSplitableHadron::Set4Momentum ( const G4LorentzVector a4Momentum  )  [inline]

Definition at line 127 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), and G4DiffractiveExcitation::ExciteParticipants().

00128 {
00129         the4Momentum=a4Momentum;
00130 }

void G4VSplitableHadron::SetCollisionCount ( G4int  aCount  )  [inline]

Definition at line 122 of file G4VSplitableHadron.hh.

00123 {
00124  theCollisionCount = aCount;
00125 }

void G4VSplitableHadron::SetDefinition ( G4ParticleDefinition aDefinition  )  [inline]

Definition at line 137 of file G4VSplitableHadron.hh.

Referenced by G4DiffractiveExcitation::ExciteParticipants().

00138 {
00139         theDefinition=aDefinition;
00140 }

virtual void G4VSplitableHadron::SetFirstParton ( G4int  PDGcode  )  [pure virtual]

Implemented in G4DiffractiveSplitableHadron, and G4QGSMSplitableHadron.

Referenced by G4FTFAnnihilation::Annihilate().

void G4VSplitableHadron::SetPosition ( const G4ThreeVector aPosition  )  [inline]

Definition at line 162 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), G4DiffractiveExcitation::ExciteParticipants(), and G4FTFParticipants::GetList().

00163 {
00164         thePosition=aPosition;
00165 }

virtual void G4VSplitableHadron::SetSecondParton ( G4int  PDGcode  )  [pure virtual]

Implemented in G4DiffractiveSplitableHadron, and G4QGSMSplitableHadron.

Referenced by G4FTFAnnihilation::Annihilate().

void G4VSplitableHadron::SetStatus ( const G4int  aStatus  )  [inline]

Definition at line 172 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), G4DiffractiveExcitation::ExciteParticipants(), and G4FTFParticipants::GetList().

00173 {
00174         curStatus=aStatus;
00175 }

void G4VSplitableHadron::SetTimeOfCreation ( G4double  aTime  )  [inline]

Definition at line 152 of file G4VSplitableHadron.hh.

Referenced by G4FTFAnnihilation::Annihilate(), G4ElasticHNScattering::ElasticScattering(), and G4DiffractiveExcitation::ExciteParticipants().

00153 {
00154         TimeOfCreation=aTime;
00155 }

void G4VSplitableHadron::Splitting (  )  [inline, protected]

Definition at line 95 of file G4VSplitableHadron.hh.

Referenced by G4QGSMSplitableHadron::SplitUp(), and G4DiffractiveSplitableHadron::SplitUp().

00095 {isSplit = true;}

void G4VSplitableHadron::SplitUp (  )  [pure virtual]

Implemented in G4DiffractiveSplitableHadron, and G4QGSMSplitableHadron.

Definition at line 114 of file G4VSplitableHadron.cc.

Referenced by G4FTFAnnihilation::Annihilate(), G4DiffractiveExcitation::CreateStrings(), G4InteractionContent::SplitHadrons(), and G4QGSDiffractiveExcitation::String().

00115 {
00116 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:55 2013 for Geant4 by  doxygen 1.4.7