OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
OMSimRunAction.hh
1
#pragma once
2
3
#include <G4UserRunAction.hh>
4
#include "
OMSimHitManager.hh
"
5
#include "OMSimLogger.hh"
6
#include "Randomize.hh"
7
#include "G4Run.hh"
8
9
class
OMSimRunAction
:
public
G4UserRunAction
10
{
11
public
:
12
OMSimRunAction
(){};
13
~OMSimRunAction
(){};
14
15
public
:
16
void
BeginOfRunAction(
const
G4Run *run) {
17
};
18
void
EndOfRunAction(
const
G4Run *run)
override
19
{
20
log_debug(
"EndOfRunAction called, nr of events {}"
, run->GetNumberOfEvent() );
21
OMSimHitManager::getInstance
().mergeThreadData();
22
}
23
};
OMSimHitManager.hh
Defines structures and classes related to optical module photon hit management.
OMSimHitManager::getInstance
static OMSimHitManager & getInstance()
Definition
OMSimHitManager.cc:44
OMSimRunAction
Definition
OMSimRunAction.hh:10
common
framework
include
OMSimRunAction.hh
Generated on Mon Dec 23 2024 11:17:27 for OMSim by
1.9.8