Geant4_10
|
#include <G4HadDecayGenerator.hh>
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 G4String & | GetAlgorithmName () 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 |
G4VHadDecayAlgorithm * | theAlgorithm |
Definition at line 50 of file G4HadDecayGenerator.hh.
Enumerator | |
---|---|
NONE | |
Kopylov | |
GENBOD | |
NBody |
Definition at line 53 of file G4HadDecayGenerator.hh.
G4HadDecayGenerator::G4HadDecayGenerator | ( | G4VHadDecayAlgorithm * | alg, |
G4int | verbose = 0 |
||
) |
|
virtual |
Definition at line 83 of file G4HadDecayGenerator.cc.
G4bool G4HadDecayGenerator::Generate | ( | G4double | initialMass, |
const std::vector< G4double > & | masses, | ||
std::vector< G4LorentzVector > & | finalState | ||
) |
Definition at line 121 of file G4HadDecayGenerator.cc.
G4bool G4HadDecayGenerator::Generate | ( | const G4ParticleDefinition * | initialPD, |
const std::vector< G4double > & | masses, | ||
std::vector< G4LorentzVector > & | finalState | ||
) |
G4bool G4HadDecayGenerator::Generate | ( | const G4LorentzVector & | initialState, |
const std::vector< G4double > & | masses, | ||
std::vector< G4LorentzVector > & | finalState | ||
) |
|
protected |
const G4String & G4HadDecayGenerator::GetAlgorithmName | ( | ) | const |
|
protected |
|
inlineprotected |
Definition at line 101 of file G4HadDecayGenerator.hh.
|
protected |
Definition at line 104 of file G4HadDecayGenerator.hh.
|
protected |
Definition at line 103 of file G4HadDecayGenerator.hh.