G4SoftStringBuilder Class Reference

#include <G4SoftStringBuilder.hh>


Public Member Functions

 G4SoftStringBuilder ()
 ~G4SoftStringBuilder ()
G4ExcitedStringBuildString (G4PartonPair *aPair)


Detailed Description

Definition at line 35 of file G4SoftStringBuilder.hh.


Constructor & Destructor Documentation

G4SoftStringBuilder::G4SoftStringBuilder (  ) 

Definition at line 30 of file G4SoftStringBuilder.cc.

00031 {
00032 }

G4SoftStringBuilder::~G4SoftStringBuilder (  ) 

Definition at line 34 of file G4SoftStringBuilder.cc.

00035 {
00036 }


Member Function Documentation

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 }


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