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
9class OMSimRunAction : public G4UserRunAction
10{
11public:
14
15public:
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};
Defines structures and classes related to optical module photon hit management.
static OMSimHitManager & getInstance()
Definition OMSimHitManager.cc:44
Definition OMSimRunAction.hh:10