#include <FDsimG4PrimaryGeneratorAction.hh>
Public Member Functions | |
FDsimG4PrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *anEvent) |
G4int | GetNumberOfEvents () |
G4GeneralParticleSource * | GetParticleGun () |
G4ThreeVector | GetParticleMomentumDirection () |
G4ThreeVector | GetSourcePosition () |
void | SetNumberOfEvents (G4int Nevents) |
void | SetUseGeneralParticleSource (G4bool use) |
~FDsimG4PrimaryGeneratorAction () | |
Private Member Functions | |
void | GenerateGPSPrimaries (G4Event *anEvent) |
void | ReadFDSimulatorEvent (G4Event *anEvent) |
void | SetPhotonSpectrum (G4String type) |
Private Attributes | |
const FDsimG4DetectorConstruction * | DetectorConstruction |
G4bool | fUseGenPartSource |
G4int | NumberOfEvents |
G4GeneralParticleSource * | particleGun |
G4ParticleTable * | pParticleTable |
TelescopeSimulator * | theFDSimulator |
Definition at line 28 of file FDsimG4PrimaryGeneratorAction.hh.
FDsimG4PrimaryGeneratorAction::FDsimG4PrimaryGeneratorAction | ( | ) |
Definition at line 26 of file FDsimG4PrimaryGeneratorAction.cc.
References fUseGenPartSource, particleGun, pParticleTable, and theFDSimulator.
FDsimG4PrimaryGeneratorAction::~FDsimG4PrimaryGeneratorAction | ( | ) |
Definition at line 42 of file FDsimG4PrimaryGeneratorAction.cc.
References particleGun.
|
private |
Definition at line 97 of file FDsimG4PrimaryGeneratorAction.cc.
References particleGun.
Referenced by GeneratePrimaries().
void FDsimG4PrimaryGeneratorAction::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Definition at line 48 of file FDsimG4PrimaryGeneratorAction.cc.
References fUseGenPartSource, GenerateGPSPrimaries(), and ReadFDSimulatorEvent().
|
inline |
Definition at line 45 of file FDsimG4PrimaryGeneratorAction.hh.
References NumberOfEvents.
|
inline |
Definition at line 42 of file FDsimG4PrimaryGeneratorAction.hh.
References particleGun.
G4ThreeVector TelescopeSimulatorLX::FDsimG4PrimaryGeneratorAction::GetParticleMomentumDirection | ( | ) |
G4ThreeVector TelescopeSimulatorLX::FDsimG4PrimaryGeneratorAction::GetSourcePosition | ( | ) |
|
private |
Definition at line 57 of file FDsimG4PrimaryGeneratorAction.cc.
References galactic::eV, TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetDirX(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetDirY(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetDirZ(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetEnergy(), TelescopeSimulatorLX::TelescopeSimulator::GetG4Photon(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetPosX(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetPosY(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetPosZ(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetTime(), TelescopeSimulatorLX::FDsimG4StoreOpticalHit::GetWeight(), utl::m, utl::mm, ns, particle, pParticleTable, and theFDSimulator.
Referenced by GeneratePrimaries().
|
inline |
Definition at line 44 of file FDsimG4PrimaryGeneratorAction.hh.
References NumberOfEvents.
|
private |
|
inline |
Definition at line 47 of file FDsimG4PrimaryGeneratorAction.hh.
References fUseGenPartSource.
Referenced by TelescopeSimulatorLX::TelescopeSimulator::Init().
|
private |
Definition at line 54 of file FDsimG4PrimaryGeneratorAction.hh.
|
private |
Definition at line 58 of file FDsimG4PrimaryGeneratorAction.hh.
Referenced by FDsimG4PrimaryGeneratorAction(), GeneratePrimaries(), and SetUseGeneralParticleSource().
|
private |
Definition at line 59 of file FDsimG4PrimaryGeneratorAction.hh.
Referenced by GetNumberOfEvents(), and SetNumberOfEvents().
|
private |
Definition at line 55 of file FDsimG4PrimaryGeneratorAction.hh.
Referenced by FDsimG4PrimaryGeneratorAction(), GenerateGPSPrimaries(), GetParticleGun(), and ~FDsimG4PrimaryGeneratorAction().
|
private |
Definition at line 56 of file FDsimG4PrimaryGeneratorAction.hh.
Referenced by FDsimG4PrimaryGeneratorAction(), and ReadFDSimulatorEvent().
|
private |
Definition at line 62 of file FDsimG4PrimaryGeneratorAction.hh.
Referenced by FDsimG4PrimaryGeneratorAction(), and ReadFDSimulatorEvent().