Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 31 of file G4SoftStringBuilder.cc.

32 {
33 }
G4SoftStringBuilder::~G4SoftStringBuilder ( )

Definition at line 35 of file G4SoftStringBuilder.cc.

36 {
37 }

Member Function Documentation

G4ExcitedString * G4SoftStringBuilder::BuildString ( G4PartonPair aPair)

Definition at line 41 of file G4SoftStringBuilder.cc.

42 {
43  #ifdef debug_G4SoftStringBuilder
44  G4cout << "BuildSoft " << aPair->GetParton1()->GetPDGcode() << " "
45  << aPair->GetParton1()->Get4Momentum() << " "
46  << aPair->GetParton1()->GetX() << " " << G4endl;
47  G4cout << " " << aPair->GetParton2()->GetPDGcode() << " "
48  << aPair->GetParton2()->Get4Momentum() << " "
49  << aPair->GetParton2()->GetX() << " " << G4endl;
50  #endif
51 
52  return new G4ExcitedString(aPair->GetParton1(), aPair->GetParton2(), aPair->GetDirection());
53 }
G4Parton * GetParton2(void)
Definition: G4PartonPair.hh:76
G4int GetPDGcode() const
Definition: G4Parton.hh:127
const G4LorentzVector & Get4Momentum() const
Definition: G4Parton.hh:143
G4Parton * GetParton1(void)
Definition: G4PartonPair.hh:71
G4GLOB_DLL std::ostream G4cout
G4int GetDirection()
Definition: G4PartonPair.hh:91
G4double GetX()
Definition: G4Parton.hh:87
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:


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