OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
OMSimSNAnalysis.hh
1#pragma once
2
3#include "G4Types.hh"
4#include "G4String.hh"
5#include "G4ThreeVector.hh"
6
7#include "OMSimHitManager.hh"
8
9#include <vector>
10#include <fstream>
11#include <tuple>
12
14{
15 G4double neutrinoTime;
16 G4double meanEnergy;
17 G4double neutrinoEnergy;
18 G4double cosTheta;
19 G4double primaryEnergy;
20 G4double weight;
21};
22
24{
25public:
28
34 {
35 static OMSimSNAnalysis instance;
36 return instance;
37 }
38
39 void analyseEvent();
40 void initEventStat();
41 void processEvent();
42 void writeHeaders();
43 void writeInfoFileHeader();
44 void writeDataFileHeader();
45 void writeInfoFile();
46 void writeDataFile();
47
48 G4ThreadLocal static SNEventStats *m_eventStat;
49 G4ThreadLocal static bool m_headerWasWritten;
50
51private:
52 G4String m_outputSufix;
53};
54
Defines structures and classes related to optical module photon hit management.
Definition OMSimSNAnalysis.hh:24
static OMSimSNAnalysis & getInstance()
Returns the singleton instance of the OMSimSNAnalysis.
Definition OMSimSNAnalysis.hh:33
Definition OMSimSNAnalysis.hh:14