Geant4 9.6.0
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 30 of file G4SoftStringBuilder.cc.

31{
32}

◆ ~G4SoftStringBuilder()

G4SoftStringBuilder::~G4SoftStringBuilder ( )

Definition at line 34 of file G4SoftStringBuilder.cc.

35{
36}

Member Function Documentation

◆ BuildString()

G4ExcitedString * G4SoftStringBuilder::BuildString ( G4PartonPair aPair)

Definition at line 40 of file G4SoftStringBuilder.cc.

41{
42#ifdef debug_G4SoftStringBuilder
43 G4cout << "BuildSoft " << aPair->GetParton1()->GetPDGcode() << " "
44 << aPair->GetParton1()->Get4Momentum() << " "
45 << aPair->GetParton1()->GetX() << " " << G4endl;
46 G4cout << " " << aPair->GetParton2()->GetPDGcode() << " "
47 << aPair->GetParton2()->Get4Momentum() << " "
48 << aPair->GetParton2()->GetX() << " " << G4endl;
49#endif
50 return new G4ExcitedString(aPair->GetParton1(), aPair->GetParton2(), aPair->GetDirection());
51}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
G4Parton * GetParton2(void)
Definition: G4PartonPair.hh:79
G4Parton * GetParton1(void)
Definition: G4PartonPair.hh:74
G4int GetDirection()
Definition: G4PartonPair.hh:94
G4double GetX()
Definition: G4Parton.hh:86
G4int GetPDGcode() const
Definition: G4Parton.hh:124
const G4LorentzVector & Get4Momentum() const
Definition: G4Parton.hh:140

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