8 #ifndef FDsimG4PrimaryGeneratorAction_h
9 #define FDsimG4PrimaryGeneratorAction_h 1
11 #include "G4VUserPrimaryGeneratorAction.hh"
12 #include "G4ThreeVector.hh"
15 namespace TelescopeSimulatorLX {
16 class FDsimG4CorsikaEvtInterface;
20 class G4GeneralParticleSource;
22 class G4ParticleTable;
24 namespace TelescopeSimulatorLX {
class TelescopeSimulator; }
26 namespace TelescopeSimulatorLX {
FDsimG4PrimaryGeneratorAction()
void GeneratePrimaries(G4Event *anEvent)
G4int GetNumberOfEvents()
G4GeneralParticleSource * particleGun
void SetPhotonSpectrum(G4String type)
G4GeneralParticleSource * GetParticleGun()
void SetUseGeneralParticleSource(G4bool use)
G4ThreeVector GetParticleMomentumDirection()
G4ParticleTable * pParticleTable
void SetNumberOfEvents(G4int Nevents)
TelescopeSimulator * theFDSimulator
void GenerateGPSPrimaries(G4Event *anEvent)
void ReadFDSimulatorEvent(G4Event *anEvent)
const FDsimG4DetectorConstruction * DetectorConstruction
G4ThreeVector GetSourcePosition()
~FDsimG4PrimaryGeneratorAction()
Simulates the FD telescope using Geant4.