Geant4
10.01.p02
|
#include <CCalPrimaryGeneratorAction.hh>
Public Member Functions | |
CCalPrimaryGeneratorAction () | |
~CCalPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *anEvent) |
void | SetVerboseLevel (G4int val) |
void | SetRandom (G4String val) |
void | SetScan (G4String val) |
void | SetMinimumEnergy (G4double p) |
void | SetMaximumEnergy (G4double p) |
void | SetMinimumPhi (G4double p) |
void | SetMaximumPhi (G4double p) |
void | SetStepsPhi (G4int val) |
void | SetMinimumEta (G4double p) |
void | SetMaximumEta (G4double p) |
void | SetStepsEta (G4int val) |
void | SetGunPosition (const G4ThreeVector &pos) const |
void | SetRunNo (G4int val) |
G4ThreeVector | GetParticlePosition () |
G4double | GetParticleEnergy () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Member Functions | |
void | initialize () |
void | print (G4int val) |
Definition at line 66 of file CCalPrimaryGeneratorAction.hh.
CCalPrimaryGeneratorAction::CCalPrimaryGeneratorAction | ( | ) |
Definition at line 48 of file CCalPrimaryGeneratorAction.cc.
References degree, G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), GeV, gunMessenger, n_particle, particleDir, particleEnergy, particleGun, particleName, particlePosition, print(), SetMaximumEnergy(), SetMaximumEta(), SetMaximumPhi(), SetMinimumEnergy(), SetMinimumEta(), SetMinimumPhi(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), SetStepsEta(), SetStepsPhi(), and TeV.
CCalPrimaryGeneratorAction::~CCalPrimaryGeneratorAction | ( | ) |
Definition at line 81 of file CCalPrimaryGeneratorAction.cc.
References gunMessenger, and particleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 88 of file CCalPrimaryGeneratorAction.cc.
References deg, energyMax, energyMin, etaMax, etaMin, etaSteps, etaValue, G4cout, G4endl, G4ParticleGun::GeneratePrimaryVertex(), generatorInput, GeV, initialize(), isInitialized, particleDir, particleEnergy, particleGun, phiMax, phiMin, phiSteps, phiValue, scanSteps, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4INCL::DeJongSpin::shoot(), singleRandom, singleScan, and verboseLevel.
|
inline |
Definition at line 91 of file CCalPrimaryGeneratorAction.hh.
References G4ParticleGun::GetParticleEnergy(), and particleGun.
Referenced by CCalEndOfEventAction::EndOfEventAction().
|
inline |
Definition at line 90 of file CCalPrimaryGeneratorAction.hh.
References G4VPrimaryGenerator::GetParticlePosition(), and particleGun.
Referenced by CCalEndOfEventAction::EndOfEventAction().
|
private |
Definition at line 336 of file CCalPrimaryGeneratorAction.cc.
References isInitialized, and print().
Referenced by GeneratePrimaries().
|
private |
Definition at line 344 of file CCalPrimaryGeneratorAction.cc.
References degree, energyMax, energyMin, etaMax, etaMin, etaSteps, G4cout, G4endl, generatorInput, G4ParticleGun::GetNumberOfParticles(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), G4ParticleGun::GetParticleMomentumDirection(), G4ParticleDefinition::GetParticleName(), G4VPrimaryGenerator::GetParticlePosition(), GeV, particleGun, phiMax, phiMin, phiSteps, singleFixed, singleRandom, singleScan, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), initialize(), SetRandom(), and SetScan().
void CCalPrimaryGeneratorAction::SetGunPosition | ( | const G4ThreeVector & | pos | ) | const |
Definition at line 327 of file CCalPrimaryGeneratorAction.cc.
References particleGun, and G4VPrimaryGenerator::SetParticlePosition().
void CCalPrimaryGeneratorAction::SetMaximumEnergy | ( | G4double | p | ) |
Definition at line 215 of file CCalPrimaryGeneratorAction.cc.
References energyMax, G4cerr, G4cout, G4endl, GeV, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetMaximumEta | ( | G4double | p | ) |
Definition at line 299 of file CCalPrimaryGeneratorAction.cc.
References etaMax, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetMaximumPhi | ( | G4double | p | ) |
Definition at line 251 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, phiMax, G4INCL::Math::pi, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetMinimumEnergy | ( | G4double | p | ) |
Definition at line 197 of file CCalPrimaryGeneratorAction.cc.
References energyMin, G4cerr, G4cout, G4endl, GeV, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetMinimumEta | ( | G4double | p | ) |
Definition at line 287 of file CCalPrimaryGeneratorAction.cc.
References etaMin, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetMinimumPhi | ( | G4double | p | ) |
Definition at line 233 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, phiMin, G4INCL::Math::pi, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetRandom | ( | G4String | val | ) |
Definition at line 172 of file CCalPrimaryGeneratorAction.cc.
References generatorInput, print(), singleFixed, and singleRandom.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetRunNo | ( | G4int | val | ) |
Definition at line 332 of file CCalPrimaryGeneratorAction.cc.
References G4RunManager::GetRunManager(), and G4RunManager::SetRunIDCounter().
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetScan | ( | G4String | val | ) |
Definition at line 184 of file CCalPrimaryGeneratorAction.cc.
References generatorInput, print(), scanSteps, singleFixed, and singleScan.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetStepsEta | ( | G4int | val | ) |
Definition at line 311 of file CCalPrimaryGeneratorAction.cc.
References etaSteps, G4cerr, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetStepsPhi | ( | G4int | val | ) |
Definition at line 269 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, phiSteps, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
void CCalPrimaryGeneratorAction::SetVerboseLevel | ( | G4int | val | ) |
Definition at line 167 of file CCalPrimaryGeneratorAction.cc.
References verboseLevel.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 105 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMaximumEnergy().
|
private |
Definition at line 105 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMinimumEnergy().
|
private |
Definition at line 106 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMaximumEta().
|
private |
Definition at line 106 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMinimumEta().
|
private |
Definition at line 108 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetStepsEta().
|
private |
Definition at line 111 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 96 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), SetRandom(), and SetScan().
|
private |
Definition at line 94 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction(), and ~CCalPrimaryGeneratorAction().
|
private |
Definition at line 110 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and initialize().
|
private |
Definition at line 99 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 103 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 101 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 95 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction(), GeneratePrimaries(), GetParticleEnergy(), GetParticlePosition(), print(), SetGunPosition(), and ~CCalPrimaryGeneratorAction().
|
private |
Definition at line 100 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 102 of file CCalPrimaryGeneratorAction.hh.
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 107 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMaximumPhi().
|
private |
Definition at line 107 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetMinimumPhi().
|
private |
Definition at line 108 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), and SetStepsPhi().
|
private |
Definition at line 111 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 112 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetScan().
|
private |
Definition at line 98 of file CCalPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), print(), SetMaximumEnergy(), SetMaximumEta(), SetMaximumPhi(), SetMinimumEnergy(), SetMinimumEta(), SetMinimumPhi(), SetStepsEta(), SetStepsPhi(), and SetVerboseLevel().