Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4QGSMSplitableHadron Class Reference

#include <G4QGSMSplitableHadron.hh>

Inheritance diagram for G4QGSMSplitableHadron:
Collaboration diagram for G4QGSMSplitableHadron:

Public Member Functions

 G4QGSMSplitableHadron ()
 
 G4QGSMSplitableHadron (const G4ReactionProduct &aPrimary)
 
 G4QGSMSplitableHadron (const G4ReactionProduct &aPrimary, G4bool Direction)
 
 G4QGSMSplitableHadron (const G4Nucleon &aNucleon)
 
 G4QGSMSplitableHadron (const G4Nucleon &aNucleon, G4bool Direction)
 
virtual ~G4QGSMSplitableHadron ()
 
virtual void SplitUp ()
 
virtual void SetFirstParton (G4int PDGcode)
 
virtual void SetSecondParton (G4int PDGcode)
 
virtual G4PartonGetNextParton ()
 
virtual G4PartonGetNextAntiParton ()
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VSplitableHadron
void Splitting ()
 

Detailed Description

Definition at line 41 of file G4QGSMSplitableHadron.hh.

Constructor & Destructor Documentation

G4QGSMSplitableHadron::G4QGSMSplitableHadron ( )

Definition at line 75 of file G4QGSMSplitableHadron.cc.

76 {
77  InitParameters();
78 }
G4QGSMSplitableHadron::G4QGSMSplitableHadron ( const G4ReactionProduct aPrimary)

Definition at line 88 of file G4QGSMSplitableHadron.cc.

89 : G4VSplitableHadron(aPrimary)
90 {
91  InitParameters();
92 }
G4QGSMSplitableHadron::G4QGSMSplitableHadron ( const G4ReactionProduct aPrimary,
G4bool  Direction 
)

Definition at line 80 of file G4QGSMSplitableHadron.cc.

81 : G4VSplitableHadron(aPrimary)
82 {
83  InitParameters();
84  Direction = aDirection;
85 }
G4QGSMSplitableHadron::G4QGSMSplitableHadron ( const G4Nucleon aNucleon)

Definition at line 94 of file G4QGSMSplitableHadron.cc.

95 : G4VSplitableHadron(aNucleon)
96 {
97  InitParameters();
98 }
G4QGSMSplitableHadron::G4QGSMSplitableHadron ( const G4Nucleon aNucleon,
G4bool  Direction 
)

Definition at line 100 of file G4QGSMSplitableHadron.cc.

101 : G4VSplitableHadron(aNucleon)
102 {
103  InitParameters();
104  Direction = aDirection;
105 }
G4QGSMSplitableHadron::~G4QGSMSplitableHadron ( )
virtual

Definition at line 107 of file G4QGSMSplitableHadron.cc.

107 {}

Member Function Documentation

G4Parton * G4QGSMSplitableHadron::GetNextAntiParton ( )
inlinevirtual

Implements G4VSplitableHadron.

Definition at line 102 of file G4QGSMSplitableHadron.hh.

103 {
104  if(AntiColor.size() == 0) return 0;
105  G4Parton * result = AntiColor.front();
106  AntiColor.pop_front();
107  return result;
108 }
G4double G4ParticleHPJENDLHEData::G4double result
G4Parton * G4QGSMSplitableHadron::GetNextParton ( )
inlinevirtual

Implements G4VSplitableHadron.

Definition at line 94 of file G4QGSMSplitableHadron.hh.

95 {
96  if(Color.size()==0) return 0;
97  G4Parton * result = Color.back();
98  Color.pop_back();
99  return result;
100 }
G4double G4ParticleHPJENDLHEData::G4double result
void G4QGSMSplitableHadron::SetFirstParton ( G4int  PDGcode)
inlinevirtual

Implements G4VSplitableHadron.

Definition at line 110 of file G4QGSMSplitableHadron.hh.

111 {PDGcode++;}
void G4QGSMSplitableHadron::SetSecondParton ( G4int  PDGcode)
inlinevirtual

Implements G4VSplitableHadron.

Definition at line 112 of file G4QGSMSplitableHadron.hh.

113 {PDGcode++;}
void G4QGSMSplitableHadron::SplitUp ( )
virtual

Implements G4VSplitableHadron.

Definition at line 111 of file G4QGSMSplitableHadron.cc.

112 {
113  if (IsSplit()) return;
114  Splitting();
115  if (Color.size()!=0) return;
116  if (GetSoftCollisionCount() == 0)
117  {
118  DiffractiveSplitUp();
119  } else {
120  SoftSplitUp();
121  }
122 }

Here is the call graph for this function:


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