Geant4  10.02.p03
G4SoftStringBuilder Class Reference

#include <G4SoftStringBuilder.hh>

Collaboration diagram for G4SoftStringBuilder:

Public Member Functions

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

Private Member Functions

 G4SoftStringBuilder (const G4SoftStringBuilder &right)
 
G4int operator== (const G4SoftStringBuilder &right) const
 
G4int 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 30 of file G4SoftStringBuilder.cc.

31 {
32 }

◆ ~G4SoftStringBuilder()

G4SoftStringBuilder::~G4SoftStringBuilder ( )

Definition at line 34 of file G4SoftStringBuilder.cc.

35 {
36 }

◆ G4SoftStringBuilder() [2/2]

G4SoftStringBuilder::G4SoftStringBuilder ( const G4SoftStringBuilder right)
private

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 }
G4Parton * GetParton2(void)
Definition: G4PartonPair.hh:79
const G4LorentzVector & Get4Momentum() const
Definition: G4Parton.hh:140
G4Parton * GetParton1(void)
Definition: G4PartonPair.hh:74
G4GLOB_DLL std::ostream G4cout
G4int GetDirection()
Definition: G4PartonPair.hh:94
G4double GetX()
Definition: G4Parton.hh:86
G4int GetPDGcode() const
Definition: G4Parton.hh:124
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ operator!=()

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

◆ operator==()

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

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