Geant4  10.00.p03
G4HadDecayGenerator Class Reference

#include <G4HadDecayGenerator.hh>

+ Inheritance diagram for G4HadDecayGenerator:
+ Collaboration diagram for G4HadDecayGenerator:

Public Types

enum  Algorithm { NONE =0, Kopylov =1, GENBOD =2, NBody =3 }
 

Public Member Functions

 G4HadDecayGenerator (Algorithm alg=Kopylov, G4int verbose=0)
 
 G4HadDecayGenerator (G4VHadDecayAlgorithm *alg, G4int verbose=0)
 
virtual ~G4HadDecayGenerator ()
 
void SetVerboseLevel (G4int verbose)
 
const G4StringGetAlgorithmName () const
 
G4bool Generate (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
 
G4bool Generate (const G4ParticleDefinition *initialPD, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
 
G4bool Generate (const G4LorentzVector &initialState, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
 

Protected Member Functions

G4bool GenerateOneBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) const
 
void ReportInvalidAlgorithm (Algorithm alg) const
 
void ReportMissingAlgorithm () const
 
void UseAlgorithm (G4VHadDecayAlgorithm *alg)
 

Protected Attributes

G4int verboseLevel
 
G4VHadDecayAlgorithmtheAlgorithm
 

Detailed Description

Definition at line 50 of file G4HadDecayGenerator.hh.

Member Enumeration Documentation

Enumerator
NONE 
Kopylov 
GENBOD 
NBody 

Definition at line 53 of file G4HadDecayGenerator.hh.

Constructor & Destructor Documentation

G4HadDecayGenerator::G4HadDecayGenerator ( Algorithm  alg = Kopylov,
G4int  verbose = 0 
)

Definition at line 56 of file G4HadDecayGenerator.cc.

References G4cout, G4endl, GENBOD, G4VHadDecayAlgorithm::GetName(), Kopylov, NBody, NONE, ReportInvalidAlgorithm(), theAlgorithm, and verboseLevel.

+ Here is the call graph for this function:

G4HadDecayGenerator::G4HadDecayGenerator ( G4VHadDecayAlgorithm alg,
G4int  verbose = 0 
)

Definition at line 73 of file G4HadDecayGenerator.cc.

References G4cout, G4endl, G4VHadDecayAlgorithm::GetName(), theAlgorithm, and verboseLevel.

+ Here is the call graph for this function:

G4HadDecayGenerator::~G4HadDecayGenerator ( )
virtual

Definition at line 83 of file G4HadDecayGenerator.cc.

References theAlgorithm.

Member Function Documentation

G4bool G4HadDecayGenerator::Generate ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)

Definition at line 121 of file G4HadDecayGenerator.cc.

References G4cout, G4endl, G4VHadDecayAlgorithm::Generate(), GenerateOneBody(), ReportMissingAlgorithm(), theAlgorithm, and verboseLevel.

Referenced by Generate(), and G4ElementaryParticleCollider::generateSCMfinalState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4HadDecayGenerator::Generate ( const G4ParticleDefinition initialPD,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)

Definition at line 139 of file G4HadDecayGenerator.cc.

References G4cout, G4endl, Generate(), G4ParticleDefinition::GetPDGMass(), and verboseLevel.

+ Here is the call graph for this function:

G4bool G4HadDecayGenerator::Generate ( const G4LorentzVector initialState,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
)

Definition at line 151 of file G4HadDecayGenerator.cc.

References G4cout, G4endl, Generate(), and verboseLevel.

+ Here is the call graph for this function:

G4bool G4HadDecayGenerator::GenerateOneBody ( G4double  initialMass,
const std::vector< G4double > &  masses,
std::vector< G4LorentzVector > &  finalState 
) const
protected

Definition at line 172 of file G4HadDecayGenerator.cc.

References eV, G4cout, G4endl, and verboseLevel.

Referenced by Generate().

+ Here is the caller graph for this function:

const G4String & G4HadDecayGenerator::GetAlgorithmName ( ) const

Definition at line 112 of file G4HadDecayGenerator.cc.

References G4VHadDecayAlgorithm::GetName(), and theAlgorithm.

+ Here is the call graph for this function:

void G4HadDecayGenerator::ReportInvalidAlgorithm ( Algorithm  alg) const
protected

Definition at line 91 of file G4HadDecayGenerator.cc.

References G4cerr, G4endl, and verboseLevel.

Referenced by G4HadDecayGenerator().

+ Here is the caller graph for this function:

void G4HadDecayGenerator::ReportMissingAlgorithm ( ) const
protected

Definition at line 98 of file G4HadDecayGenerator.cc.

References G4cerr, G4endl, and verboseLevel.

Referenced by Generate().

+ Here is the caller graph for this function:

void G4HadDecayGenerator::SetVerboseLevel ( G4int  verbose)

Definition at line 107 of file G4HadDecayGenerator.cc.

References G4VHadDecayAlgorithm::SetVerboseLevel(), theAlgorithm, and verboseLevel.

Referenced by G4ElementaryParticleCollider::generateSCMfinalState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4HadDecayGenerator::UseAlgorithm ( G4VHadDecayAlgorithm alg)
inlineprotected

Definition at line 101 of file G4HadDecayGenerator.hh.

References theAlgorithm.

Member Data Documentation


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