|
Geant4.10
|
#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 () |
Definition at line 66 of file CCalPrimaryGeneratorAction.hh.
| CCalPrimaryGeneratorAction::CCalPrimaryGeneratorAction | ( | ) |
Definition at line 48 of file CCalPrimaryGeneratorAction.cc.
References python.hepunit::degree, G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), python.hepunit::GeV, SetMaximumEnergy(), SetMaximumEta(), SetMaximumPhi(), SetMinimumEnergy(), SetMinimumEta(), SetMinimumPhi(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), SetStepsEta(), SetStepsPhi(), and python.hepunit::TeV.
| CCalPrimaryGeneratorAction::~CCalPrimaryGeneratorAction | ( | ) |
Definition at line 81 of file CCalPrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 88 of file CCalPrimaryGeneratorAction.cc.
References python.hepunit::deg, G4cout, G4endl, G4ParticleGun::GeneratePrimaryVertex(), python.hepunit::GeV, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), CLHEP::RandFlat::shoot(), singleRandom, and singleScan.
|
inline |
Definition at line 91 of file CCalPrimaryGeneratorAction.hh.
References G4ParticleGun::GetParticleEnergy().
Referenced by CCalEndOfEventAction::EndOfEventAction().
|
inline |
Definition at line 90 of file CCalPrimaryGeneratorAction.hh.
References G4VPrimaryGenerator::GetParticlePosition().
Referenced by CCalEndOfEventAction::EndOfEventAction().
| void CCalPrimaryGeneratorAction::SetGunPosition | ( | const G4ThreeVector & | pos | ) | const |
Definition at line 327 of file CCalPrimaryGeneratorAction.cc.
References G4VPrimaryGenerator::SetParticlePosition().
Definition at line 215 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, and python.hepunit::GeV.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 299 of file CCalPrimaryGeneratorAction.cc.
References G4cout, and G4endl.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 251 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, and python.hepunit::pi.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 197 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, and python.hepunit::GeV.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 287 of file CCalPrimaryGeneratorAction.cc.
References G4cout, and G4endl.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 233 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, G4endl, and python.hepunit::pi.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 172 of file CCalPrimaryGeneratorAction.cc.
References singleFixed, and singleRandom.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 332 of file CCalPrimaryGeneratorAction.cc.
References G4RunManager::GetRunManager(), and G4RunManager::SetRunIDCounter().
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 184 of file CCalPrimaryGeneratorAction.cc.
References singleFixed, and singleScan.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 311 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, and G4endl.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 269 of file CCalPrimaryGeneratorAction.cc.
References G4cerr, G4cout, and G4endl.
Referenced by CCalPrimaryGeneratorAction(), and CCalPrimaryGeneratorMessenger::SetNewValue().
Definition at line 167 of file CCalPrimaryGeneratorAction.cc.
Referenced by CCalPrimaryGeneratorMessenger::SetNewValue().
1.8.7