#include <G4SoftStringBuilder.hh>
Public Member Functions | |
G4SoftStringBuilder () | |
~G4SoftStringBuilder () | |
G4ExcitedString * | BuildString (G4PartonPair *aPair) |
Definition at line 35 of file G4SoftStringBuilder.hh.
G4SoftStringBuilder::G4SoftStringBuilder | ( | ) |
G4SoftStringBuilder::~G4SoftStringBuilder | ( | ) |
G4ExcitedString * G4SoftStringBuilder::BuildString | ( | G4PartonPair * | aPair | ) |
Definition at line 40 of file G4SoftStringBuilder.cc.
References G4cout, G4endl, G4Parton::Get4Momentum(), G4PartonPair::GetDirection(), G4PartonPair::GetParton1(), G4PartonPair::GetParton2(), G4Parton::GetPDGcode(), and G4Parton::GetX().
Referenced by G4QGSModel< ParticipantType >::GetStrings().
00041 { 00042 #ifdef debug_G4SoftStringBuilder 00043 G4cout << "BuildSoft " << aPair->GetParton1()->GetPDGcode() << " " 00044 << aPair->GetParton1()->Get4Momentum() << " " 00045 << aPair->GetParton1()->GetX() << " " << G4endl; 00046 G4cout << " " << aPair->GetParton2()->GetPDGcode() << " " 00047 << aPair->GetParton2()->Get4Momentum() << " " 00048 << aPair->GetParton2()->GetX() << " " << G4endl; 00049 #endif 00050 return new G4ExcitedString(aPair->GetParton1(), aPair->GetParton2(), aPair->GetDirection()); 00051 }