ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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 65 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 65 of file CCalPrimaryGeneratorAction.hh
CCalPrimaryGeneratorAction::CCalPrimaryGeneratorAction | ( | ) |
Definition at line 49 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 49 of file CCalPrimaryGeneratorAction.cc
References degree, G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), GeV, gunMessenger, n_particle, 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 82 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 82 of file CCalPrimaryGeneratorAction.cc
References gunMessenger, and particleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 89 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 89 of file CCalPrimaryGeneratorAction.cc
References deg, E, energyMax, energyMin, Acts::VectorHelpers::eta(), etaMax, etaMin, etaSteps, etaValue, G4cout, G4endl, G4Exp(), G4ParticleGun::GeneratePrimaryVertex(), generatorInput, GeV, initialize(), isInitialized, particleDir, particleEnergy, particleGun, phi, phiMax, phiMin, phiSteps, phiValue, scanSteps, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), CLHEP::RandFlat::shoot(), singleRandom, singleScan, theta(), and verboseLevel.
|
inline |
Definition at line 90 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 90 of file CCalPrimaryGeneratorAction.hh
References G4ParticleGun::GetParticleEnergy(), and particleGun.
Referenced by CCalEventAction::EndOfEventAction().
|
inline |
Definition at line 89 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 89 of file CCalPrimaryGeneratorAction.hh
References G4VPrimaryGenerator::GetParticlePosition(), and particleGun.
Referenced by CCalEventAction::EndOfEventAction().
|
private |
Definition at line 335 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 335 of file CCalPrimaryGeneratorAction.cc
References isInitialized, and print().
Referenced by GeneratePrimaries().
Definition at line 343 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 343 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 326 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 326 of file CCalPrimaryGeneratorAction.cc
References particleGun, and G4VPrimaryGenerator::SetParticlePosition().
Definition at line 214 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 214 of file CCalPrimaryGeneratorAction.cc
References energyMax, G4cerr, G4cout, G4endl, GeV, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 298 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 298 of file CCalPrimaryGeneratorAction.cc
References etaMax, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 250 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 250 of file CCalPrimaryGeneratorAction.cc
References G4cerr, G4cout, G4endl, phiMax, pi, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 196 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 196 of file CCalPrimaryGeneratorAction.cc
References energyMin, G4cerr, G4cout, G4endl, GeV, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 286 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 286 of file CCalPrimaryGeneratorAction.cc
References etaMin, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 232 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 232 of file CCalPrimaryGeneratorAction.cc
References G4cerr, G4cout, G4endl, phiMin, pi, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 171 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 171 of file CCalPrimaryGeneratorAction.cc
References generatorInput, print(), singleFixed, and singleRandom.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 331 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 331 of file CCalPrimaryGeneratorAction.cc
References G4RunManager::GetRunManager(), and G4RunManager::SetRunIDCounter().
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 183 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 183 of file CCalPrimaryGeneratorAction.cc
References generatorInput, print(), scanSteps, singleFixed, and singleScan.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 310 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 310 of file CCalPrimaryGeneratorAction.cc
References etaSteps, G4cerr, G4cout, G4endl, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 268 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 268 of file CCalPrimaryGeneratorAction.cc
References G4cerr, G4cout, G4endl, phiSteps, and verboseLevel.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 166 of file CCalPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 166 of file CCalPrimaryGeneratorAction.cc
References verboseLevel.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 104 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 104 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMaximumEnergy().
|
private |
Definition at line 104 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 104 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMinimumEnergy().
|
private |
Definition at line 105 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 105 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMaximumEta().
|
private |
Definition at line 105 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 105 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMinimumEta().
|
private |
Definition at line 107 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 107 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetStepsEta().
|
private |
Definition at line 110 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 110 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 95 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 95 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), SetRandom(), and SetScan().
|
private |
Definition at line 93 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 93 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction(), and ~CCalPrimaryGeneratorAction().
|
private |
Definition at line 109 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 109 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and initialize().
|
private |
Definition at line 98 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 98 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 102 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 102 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 100 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 100 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 94 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 94 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction(), GeneratePrimaries(), GetParticleEnergy(), GetParticlePosition(), print(), SetGunPosition(), and ~CCalPrimaryGeneratorAction().
|
private |
Definition at line 99 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 99 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 101 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 101 of file CCalPrimaryGeneratorAction.hh
Referenced by CCalPrimaryGeneratorAction().
|
private |
Definition at line 106 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 106 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMaximumPhi().
|
private |
Definition at line 106 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 106 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetMinimumPhi().
|
private |
Definition at line 107 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 107 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), and SetStepsPhi().
|
private |
Definition at line 110 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 110 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 111 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 111 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and SetScan().
|
private |
Definition at line 97 of file CCalPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 97 of file CCalPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), print(), SetMaximumEnergy(), SetMaximumEta(), SetMaximumPhi(), SetMinimumEnergy(), SetMinimumEta(), SetMinimumPhi(), SetStepsEta(), SetStepsPhi(), and SetVerboseLevel().