Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4PrimaryTransformer.hh>
Public Member Functions | |
G4PrimaryTransformer () | |
virtual | ~G4PrimaryTransformer ()=default |
G4TrackVector * | GimmePrimaries (G4Event *anEvent, G4int trackIDCounter=0) |
void | CheckUnknown () |
void | SetVerboseLevel (G4int vl) |
void | SetUnknnownParticleDefined (G4bool vl) |
G4bool | GetUnknownParticleDefined () const |
Protected Member Functions | |
void | GenerateTracks (G4PrimaryVertex *primaryVertex) |
void | GenerateSingleTrack (G4PrimaryParticle *primaryParticle, G4double x0, G4double y0, G4double z0, G4double t0, G4double wv) |
void | SetDecayProducts (G4PrimaryParticle *mother, G4DynamicParticle *motherDP) |
G4bool | CheckDynamicParticle (G4DynamicParticle *DP) |
virtual G4ParticleDefinition * | GetDefinition (G4PrimaryParticle *pp) |
virtual G4bool | IsGoodForTrack (G4ParticleDefinition *pd) |
Protected Attributes | |
G4TrackVector | TV |
G4ParticleTable * | particleTable = nullptr |
G4ParticleDefinition * | unknown = nullptr |
G4ParticleDefinition * | opticalphoton = nullptr |
G4int | verboseLevel = 0 |
G4int | trackID = 0 |
G4int | nWarn = 0 |
G4bool | unknownParticleDefined = false |
G4bool | opticalphotonDefined = false |
Definition at line 47 of file G4PrimaryTransformer.hh.
G4PrimaryTransformer::G4PrimaryTransformer | ( | ) |
Definition at line 44 of file G4PrimaryTransformer.cc.
|
virtualdefault |
|
protected |
Definition at line 343 of file G4PrimaryTransformer.cc.
Referenced by GenerateSingleTrack(), and SetDecayProducts().
void G4PrimaryTransformer::CheckUnknown | ( | ) |
Definition at line 50 of file G4PrimaryTransformer.cc.
Referenced by G4PrimaryTransformer(), and G4RunManagerKernel::RunInitialization().
|
protected |
Definition at line 108 of file G4PrimaryTransformer.cc.
Referenced by GenerateSingleTrack(), and GenerateTracks().
|
protected |
Definition at line 77 of file G4PrimaryTransformer.cc.
Referenced by GimmePrimaries().
|
protectedvirtual |
Definition at line 360 of file G4PrimaryTransformer.cc.
Referenced by GenerateSingleTrack(), and SetDecayProducts().
|
inline |
Definition at line 65 of file G4PrimaryTransformer.hh.
G4TrackVector * G4PrimaryTransformer::GimmePrimaries | ( | G4Event * | anEvent, |
G4int | trackIDCounter = 0 |
||
) |
Definition at line 59 of file G4PrimaryTransformer.cc.
|
protectedvirtual |
Definition at line 374 of file G4PrimaryTransformer.cc.
Referenced by CheckDynamicParticle(), GenerateSingleTrack(), and SetDecayProducts().
|
protected |
Definition at line 252 of file G4PrimaryTransformer.cc.
Referenced by GenerateSingleTrack(), and SetDecayProducts().
void G4PrimaryTransformer::SetUnknnownParticleDefined | ( | G4bool | vl | ) |
Definition at line 331 of file G4PrimaryTransformer.cc.
|
inline |
Definition at line 57 of file G4PrimaryTransformer.hh.
Referenced by G4EventManager::SetVerboseLevel().
|
protected |
Definition at line 101 of file G4PrimaryTransformer.hh.
Referenced by GenerateSingleTrack().
|
protected |
Definition at line 98 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), and GenerateSingleTrack().
|
protected |
Definition at line 103 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), and GenerateSingleTrack().
|
protected |
Definition at line 95 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), G4PrimaryTransformer(), and GetDefinition().
|
protected |
Definition at line 100 of file G4PrimaryTransformer.hh.
Referenced by GenerateSingleTrack(), and GimmePrimaries().
|
protected |
Definition at line 94 of file G4PrimaryTransformer.hh.
Referenced by GenerateSingleTrack(), and GimmePrimaries().
|
protected |
Definition at line 97 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), GetDefinition(), and SetUnknnownParticleDefined().
|
protected |
Definition at line 102 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), GetDefinition(), GetUnknownParticleDefined(), and SetUnknnownParticleDefined().
|
protected |
Definition at line 99 of file G4PrimaryTransformer.hh.
Referenced by GenerateSingleTrack(), GenerateTracks(), SetDecayProducts(), and SetVerboseLevel().