Geant4-11
Public Member Functions | Private Member Functions
G4SoftStringBuilder Class Reference

#include <G4SoftStringBuilder.hh>

Public Member Functions

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

Private Member Functions

 G4SoftStringBuilder (const G4SoftStringBuilder &right)
 
G4bool operator!= (const G4SoftStringBuilder &right) const
 
G4bool operator== (const G4SoftStringBuilder &right) const
 

Detailed Description

Definition at line 35 of file G4SoftStringBuilder.hh.

Constructor & Destructor Documentation

◆ G4SoftStringBuilder() [1/2]

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}

◆ G4SoftStringBuilder() [2/2]

G4SoftStringBuilder::G4SoftStringBuilder ( const G4SoftStringBuilder right)
private

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:57
G4GLOB_DLL std::ostream G4cout
G4Parton * GetParton2(void)
Definition: G4PartonPair.hh:76
G4Parton * GetParton1(void)
Definition: G4PartonPair.hh:71
G4int GetDirection()
Definition: G4PartonPair.hh:91
G4double GetX()
Definition: G4Parton.hh:87
G4int GetPDGcode() const
Definition: G4Parton.hh:127
const G4LorentzVector & Get4Momentum() const
Definition: G4Parton.hh:143

References G4cout, G4endl, G4Parton::Get4Momentum(), G4PartonPair::GetDirection(), G4PartonPair::GetParton1(), G4PartonPair::GetParton2(), G4Parton::GetPDGcode(), and G4Parton::GetX().

◆ operator!=()

G4bool G4SoftStringBuilder::operator!= ( const G4SoftStringBuilder right) const
private

◆ operator==()

G4bool G4SoftStringBuilder::operator== ( const G4SoftStringBuilder right) const
private

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