OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
effective_area/include/OMSimPrimaryGeneratorAction.hh
1#pragma once
2
3#include <G4VUserPrimaryGeneratorAction.hh>
4#include <G4AutoLock.hh>
5class G4GeneralParticleSource;
6class G4Event;
7class OMSimPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
8{
9public:
12
13public:
14 void GeneratePrimaries(G4Event* anEvent) override;
15
16private:
17 static thread_local std::unique_ptr<G4GeneralParticleSource> m_particleSource;
18 static G4Mutex m_mutex;
19};
20
21
Definition effective_area/include/OMSimPrimaryGeneratorAction.hh:8