Geant4
10.01.p03
|
#include <G4PrimaryTransformer.hh>
Public Member Functions | |
G4PrimaryTransformer () | |
virtual | ~G4PrimaryTransformer () |
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) |
Definition at line 47 of file G4PrimaryTransformer.hh.
G4PrimaryTransformer::G4PrimaryTransformer | ( | ) |
Definition at line 43 of file G4PrimaryTransformer.cc.
References CheckUnknown(), G4ParticleTable::GetParticleTable(), and particleTable.
|
virtual |
Definition at line 53 of file G4PrimaryTransformer.cc.
|
protected |
Definition at line 305 of file G4PrimaryTransformer.cc.
References G4DecayProducts::entries(), G4cerr, G4endl, G4Exception(), G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetPreAssignedDecayProducts(), IsGoodForTrack(), and JustWarning.
void G4PrimaryTransformer::CheckUnknown | ( | ) |
Definition at line 56 of file G4PrimaryTransformer.cc.
References G4ParticleTable::FindParticle(), opticalphoton, opticalphotonDefined, particleTable, unknown, and unknownParticleDefined.
Referenced by G4PrimaryTransformer(), and G4RunManagerKernel::RunInitialization().
|
protected |
Definition at line 116 of file G4PrimaryTransformer.cc.
References G4DynamicParticle::AddElectron(), DBL_MAX, deg, eplus, G4cerr, G4cout, G4endl, G4Exception(), G4UniformRand, G4ParticleDefinition::GetAtomicNumber(), G4PrimaryParticle::GetCharge(), G4PrimaryParticle::GetDaughter(), G4PrimaryParticle::GetKineticEnergy(), G4PrimaryParticle::GetMass(), G4PrimaryParticle::GetMomentum(), G4DynamicParticle::GetMomentumDirection(), G4PrimaryParticle::GetMomentumDirection(), G4PrimaryParticle::GetNext(), G4ParticleDefinition::GetParticleName(), G4PrimaryParticle::GetPDGcode(), G4ParticleDefinition::GetPDGEncoding(), G4PrimaryParticle::GetPolarization(), G4PrimaryParticle::GetPolX(), G4PrimaryParticle::GetPolY(), G4PrimaryParticle::GetPolZ(), G4PrimaryParticle::GetProperTime(), G4PrimaryParticle::GetWeight(), iz, JustWarning, CLHEP::normal(), G4DynamicParticle::SetCharge(), G4DynamicParticle::SetMass(), G4Track::SetParentID(), G4DynamicParticle::SetPDGcode(), G4DynamicParticle::SetPolarization(), G4DynamicParticle::SetPreAssignedDecayProperTime(), G4DynamicParticle::SetPrimaryParticle(), G4Track::SetTrackID(), G4PrimaryParticle::SetTrackID(), and G4Track::SetWeight().
Referenced by GenerateTracks().
|
protected |
Definition at line 87 of file G4PrimaryTransformer.cc.
References G4cout, G4endl, GenerateSingleTrack(), G4PrimaryParticle::GetNext(), G4PrimaryVertex::GetPrimary(), G4PrimaryVertex::GetT0(), G4PrimaryVertex::GetWeight(), G4PrimaryVertex::GetX0(), G4PrimaryVertex::GetY0(), G4PrimaryVertex::GetZ0(), mm, nanosecond, G4PrimaryVertex::Print(), and verboseLevel.
Referenced by GimmePrimaries().
|
protectedvirtual |
Definition at line 318 of file G4PrimaryTransformer.cc.
References G4ParticleTable::FindParticle(), G4PrimaryParticle::GetG4code(), G4PrimaryParticle::GetPDGcode(), G4ParticleDefinition::IsShortLived(), particleTable, unknown, and unknownParticleDefined.
|
inline |
Definition at line 78 of file G4PrimaryTransformer.hh.
References unknownParticleDefined.
G4TrackVector * G4PrimaryTransformer::GimmePrimaries | ( | G4Event * | anEvent, |
G4int | trackIDCounter = 0 |
||
) |
Definition at line 70 of file G4PrimaryTransformer.cc.
References GenerateTracks(), G4PrimaryVertex::GetNext(), G4Event::GetPrimaryVertex(), trackID, and TV.
Referenced by G4EventManager::DoProcessing().
|
protectedvirtual |
Definition at line 326 of file G4PrimaryTransformer.cc.
References G4ParticleDefinition::GetDecayTable(), and G4ParticleDefinition::IsShortLived().
Referenced by CheckDynamicParticle().
|
protected |
Definition at line 235 of file G4PrimaryTransformer.cc.
References DBL_MAX, G4cout, G4endl, G4PrimaryParticle::GetCharge(), G4PrimaryParticle::GetDaughter(), G4PrimaryParticle::GetMass(), G4PrimaryParticle::GetMomentum(), G4PrimaryParticle::GetNext(), G4ParticleDefinition::GetParticleName(), G4PrimaryParticle::GetPDGcode(), G4DynamicParticle::GetPreAssignedDecayProducts(), G4PrimaryParticle::GetProperTime(), G4DecayProducts::PushProducts(), G4DynamicParticle::SetCharge(), G4DynamicParticle::SetMass(), G4DynamicParticle::SetPreAssignedDecayProducts(), G4DynamicParticle::SetPreAssignedDecayProperTime(), and G4DynamicParticle::SetPrimaryParticle().
void G4PrimaryTransformer::SetUnknnownParticleDefined | ( | G4bool | vl | ) |
Definition at line 295 of file G4PrimaryTransformer.cc.
References G4cerr, G4endl, unknown, and unknownParticleDefined.
|
inline |
Definition at line 70 of file G4PrimaryTransformer.hh.
Referenced by G4EventManager::SetVerboseLevel().
|
protected |
Definition at line 67 of file G4PrimaryTransformer.hh.
|
protected |
Definition at line 64 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown().
|
protected |
Definition at line 65 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown().
|
protected |
Definition at line 58 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), G4PrimaryTransformer(), and GetDefinition().
|
protected |
Definition at line 60 of file G4PrimaryTransformer.hh.
Referenced by GimmePrimaries().
|
protected |
Definition at line 57 of file G4PrimaryTransformer.hh.
Referenced by GimmePrimaries().
|
protected |
Definition at line 62 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), GetDefinition(), and SetUnknnownParticleDefined().
|
protected |
Definition at line 63 of file G4PrimaryTransformer.hh.
Referenced by CheckUnknown(), GetDefinition(), GetUnknownParticleDefined(), and SetUnknnownParticleDefined().
|
protected |
Definition at line 59 of file G4PrimaryTransformer.hh.
Referenced by GenerateTracks().