#include <G4PartonPair.hh>
Public Types | |
DIFFRACTIVE = 1 | |
SOFT = 2 | |
HARD = 3 | |
PROJECTILE = 1 | |
TARGET = -1 | |
enum | { DIFFRACTIVE = 1, SOFT = 2, HARD = 3 } |
enum | { PROJECTILE = 1, TARGET = -1 } |
Public Member Functions | |
G4PartonPair (G4Parton *P1, G4Parton *P2, G4int Type, G4int Direction) | |
~G4PartonPair () | |
void | SetPartons (G4Parton *P1, G4Parton *P2) |
void | SetCollisionType (G4int Type) |
G4int | GetCollisionType () |
G4Parton * | GetParton1 (void) |
G4Parton * | GetParton2 (void) |
G4int | GetDirection () |
Definition at line 35 of file G4PartonPair.hh.
anonymous enum |
Definition at line 38 of file G4PartonPair.hh.
00038 { 00039 DIFFRACTIVE = 1, 00040 SOFT = 2, 00041 HARD = 3 00042 };
anonymous enum |
Definition at line 43 of file G4PartonPair.hh.
00044 { 00045 PROJECTILE = 1, 00046 TARGET = -1 00047 };
Definition at line 31 of file G4PartonPair.cc.
References G4cout, G4endl, G4Parton::Get4Momentum(), G4Parton::GetColour(), G4Parton::GetDefinition(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4Parton::GetSpinZ(), PROJECTILE, and SOFT.
00032 { 00033 CollisionType = Type; 00034 Parton1 = P1; 00035 Parton2 = P2; 00036 Direction = aDirection; 00037 00038 #ifdef DEBUG_PartonPair 00039 G4cout << "ctor G4PartonPair - " 00040 << (aDirection==PROJECTILE ? "Projectile": "Target") 00041 << (CollisionType==SOFT ? " Soft " : " Diffractive " ) << G4endl 00042 << " Parton 1 name, type, spin-3, colour, 4-mom " 00043 << P1->GetDefinition()->GetParticleName() << ", " 00044 << P1->GetDefinition()->GetParticleType() << ", " 00045 << P1->GetSpinZ() << ", " 00046 << P1->GetColour() << ", " 00047 << P1->Get4Momentum() << " " << G4endl 00048 << " Parton 2 name, type, spin-3, colour, 4-mom " 00049 << P2->GetDefinition()->GetParticleName() << ", " 00050 << P2->GetDefinition()->GetParticleType() << ", " 00051 << P2->GetSpinZ() << ", " 00052 << P2->GetColour() << ", " 00053 << P2->Get4Momentum() << G4endl 00054 << " string mass, 4mom " 00055 << (P1->Get4Momentum()+P2->Get4Momentum()).m() << " " 00056 << (P1->Get4Momentum()+P2->Get4Momentum()) << G4endl; 00057 #endif 00058 }
G4PartonPair::~G4PartonPair | ( | ) |
G4int G4PartonPair::GetCollisionType | ( | ) | [inline] |
Definition at line 89 of file G4PartonPair.hh.
Referenced by G4QGSModel< ParticipantType >::GetStrings().
G4int G4PartonPair::GetDirection | ( | ) | [inline] |
Definition at line 94 of file G4PartonPair.hh.
Referenced by G4SoftStringBuilder::BuildString(), and G4DiffractiveStringBuilder::BuildString().
G4Parton * G4PartonPair::GetParton1 | ( | void | ) | [inline] |
Definition at line 74 of file G4PartonPair.hh.
Referenced by G4SoftStringBuilder::BuildString(), G4DiffractiveStringBuilder::BuildString(), G4QGSParticipants::PerformDiffractiveCollisions(), and G4QGSParticipants::PerformSoftCollisions().
G4Parton * G4PartonPair::GetParton2 | ( | void | ) | [inline] |
Definition at line 79 of file G4PartonPair.hh.
Referenced by G4SoftStringBuilder::BuildString(), G4DiffractiveStringBuilder::BuildString(), G4QGSParticipants::PerformDiffractiveCollisions(), and G4QGSParticipants::PerformSoftCollisions().
void G4PartonPair::SetCollisionType | ( | G4int | Type | ) | [inline] |