Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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::G4SoftStringBuilder ( )

Definition at line 31 of file G4SoftStringBuilder.cc.

32{
33}

◆ ~G4SoftStringBuilder()

G4SoftStringBuilder::~G4SoftStringBuilder ( )

Definition at line 35 of file G4SoftStringBuilder.cc.

36{
37}

Member Function Documentation

◆ BuildString()

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}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
G4Parton * GetParton2(void)
G4Parton * GetParton1(void)
G4int GetDirection()
G4double GetX()
Definition G4Parton.hh:87
G4int GetPDGcode() const
Definition G4Parton.hh:127
const G4LorentzVector & Get4Momentum() const
Definition G4Parton.hh:143

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