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>
5
class
G4GeneralParticleSource;
6
class
G4Event;
7
class
OMSimPrimaryGeneratorAction
:
public
G4VUserPrimaryGeneratorAction
8
{
9
public
:
10
OMSimPrimaryGeneratorAction
();
11
~OMSimPrimaryGeneratorAction
();
12
13
public
:
14
void
GeneratePrimaries(G4Event* anEvent)
override
;
15
16
private
:
17
static
thread_local
std::unique_ptr<G4GeneralParticleSource> m_particleSource;
18
static
G4Mutex m_mutex;
19
};
20
21
OMSimPrimaryGeneratorAction
Definition
effective_area/include/OMSimPrimaryGeneratorAction.hh:8
simulations
effective_area
include
OMSimPrimaryGeneratorAction.hh
Generated on Mon Dec 23 2024 11:17:27 for OMSim by
1.9.8