Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CascadeFinalStateGenerator Class Reference

#include <G4CascadeFinalStateGenerator.hh>

+ Inheritance diagram for G4CascadeFinalStateGenerator:

Public Member Functions

 G4CascadeFinalStateGenerator ()
 
virtual ~G4CascadeFinalStateGenerator ()
 
void Configure (G4InuclElementaryParticle *bullet, G4InuclElementaryParticle *target, const std::vector< G4int > &particle_kinds)
 
- Public Member Functions inherited from G4HadDecayGenerator
 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)
 

Additional Inherited Members

- Public Types inherited from G4HadDecayGenerator
enum  Algorithm { NONE =0 , Kopylov =1 , GENBOD =2 , NBody =3 }
 
- Protected Member Functions inherited from G4HadDecayGenerator
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 inherited from G4HadDecayGenerator
G4int verboseLevel
 
G4VHadDecayAlgorithmtheAlgorithm
 

Detailed Description

Definition at line 45 of file G4CascadeFinalStateGenerator.hh.

Constructor & Destructor Documentation

◆ G4CascadeFinalStateGenerator()

G4CascadeFinalStateGenerator::G4CascadeFinalStateGenerator ( )

◆ ~G4CascadeFinalStateGenerator()

G4CascadeFinalStateGenerator::~G4CascadeFinalStateGenerator ( )
virtual

Definition at line 44 of file G4CascadeFinalStateGenerator.cc.

44{;}

Member Function Documentation

◆ Configure()

void G4CascadeFinalStateGenerator::Configure ( G4InuclElementaryParticle bullet,
G4InuclElementaryParticle target,
const std::vector< G4int > &  particle_kinds 
)

Definition at line 49 of file G4CascadeFinalStateGenerator.cc.

51 {
52 if (verboseLevel>1)
53 G4cout << " >>> G4CascadeFinalStateGenerator::Configure" << G4endl;
54
55 // Casting is safe, based on constructor implementation
58 cascAlg->Configure(bullet, target, particle_kinds);
59}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void Configure(G4InuclElementaryParticle *bullet, G4InuclElementaryParticle *target, const std::vector< G4int > &particle_kinds)
G4VHadDecayAlgorithm * theAlgorithm

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