MONA - Mass Ordering Nikhef Analysis
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
SummaryEvent Class Reference

Data format for NMH analysis. More...

#include <SummaryEvent.h>

Inheritance diagram for SummaryEvent:

Public Member Functions

 SummaryEvent ()
 
 ~SummaryEvent ()
 
void SetSeed (UInt_t seed)
 Function to set the seed for the random event generation in SummaryEvent::CreatePseudoData. More...
 
void Set_MC_runID (Double_t mc_runid)
 
void Set_MC_evtID (Double_t mc_evtid)
 
void Set_MC_w2 (Double_t mc_w2)
 
void Set_MC_w1y (Double_t mc_w1y)
 
void Set_MC_erange_start (Double_t mc_ers)
 
void Set_MC_is_CC (Double_t mc_iscc)
 
void Set_MC_is_neutrino (Double_t mc_isnu)
 
void Set_MC_type (Double_t mc_type)
 
void Set_MC_energy (Double_t mc_e)
 
void Set_MC_bjorkeny (Double_t mc_by)
 
void Set_MC_dir (Double_t x, Double_t y, Double_t z)
 
void Set_MC_pos (Double_t x, Double_t y, Double_t z)
 
void Set_track_energy (Double_t t_e)
 
void Set_track_bjorkeny (Double_t t_by)
 
void Set_track_ql0 (Double_t t_ql0)
 
void Set_track_ql1 (Double_t t_ql1)
 
void Set_track_ql2 (Double_t t_ql2)
 
void Set_track_dir (Double_t x, Double_t y, Double_t z)
 
void Set_track_pos (Double_t x, Double_t y, Double_t z)
 
void Set_shower_energy (Double_t s_e)
 
void Set_shower_bjorkeny (Double_t s_by)
 
void Set_shower_ql0 (Double_t s_ql0)
 
void Set_shower_ql1 (Double_t s_ql1)
 
void Set_shower_ql2 (Double_t s_ql2)
 
void Set_shower_dir (Double_t x, Double_t y, Double_t z)
 
void Set_shower_pos (Double_t x, Double_t y, Double_t z)
 
void Set_RDF_muon_score (Double_t rms)
 
void Set_RDF_track_score (Double_t rts)
 
void Set_RDF_noise_score (Double_t rns)
 
Double_t Get_MC_runID ()
 
Double_t Get_MC_evtID ()
 
Double_t Get_MC_w2 ()
 
Double_t Get_MC_w1y ()
 
Double_t Get_MC_erange_start ()
 
Double_t Get_MC_is_CC ()
 
Double_t Get_MC_is_neutrino ()
 
Double_t Get_MC_type ()
 
Double_t Get_MC_dir_x ()
 
Double_t Get_MC_dir_y ()
 
Double_t Get_MC_dir_z ()
 
Double_t Get_MC_pos_x ()
 
Double_t Get_MC_pos_y ()
 
Double_t Get_MC_pos_z ()
 
Double_t Get_MC_energy ()
 
Double_t Get_MC_bjorkeny ()
 
TVector3 Get_MC_dir ()
 
TVector3 Get_MC_pos ()
 
Double_t Get_track_dir_x ()
 
Double_t Get_track_dir_y ()
 
Double_t Get_track_dir_z ()
 
Double_t Get_track_pos_x ()
 
Double_t Get_track_pos_y ()
 
Double_t Get_track_pos_z ()
 
Double_t Get_track_energy ()
 
Double_t Get_track_bjorkeny ()
 
Double_t Get_track_ql0 ()
 
Double_t Get_track_ql1 ()
 
Double_t Get_track_ql2 ()
 
TVector3 Get_track_dir ()
 
TVector3 Get_track_pos ()
 
Double_t Get_shower_dir_x ()
 
Double_t Get_shower_dir_y ()
 
Double_t Get_shower_dir_z ()
 
Double_t Get_shower_pos_x ()
 
Double_t Get_shower_pos_y ()
 
Double_t Get_shower_pos_z ()
 
Double_t Get_shower_energy ()
 
Double_t Get_shower_bjorkeny ()
 
Double_t Get_shower_ql0 ()
 
Double_t Get_shower_ql1 ()
 
Double_t Get_shower_ql2 ()
 
TVector3 Get_shower_dir ()
 
TVector3 Get_shower_pos ()
 
Double_t Get_RDF_muon_score ()
 
Double_t Get_RDF_track_score ()
 
Double_t Get_RDF_noise_score ()
 
void FillPseudoData (Bool_t logE=kFALSE)
 This function writes simplistic pseudodata to the member variables and is mainly useful for testing. More...
 

Private Attributes

Double_t fMC_runID
 gSeaGen file run number More...
 
Double_t fMC_evtID
 Event ID in gSeaGen run. More...
 
Double_t fMC_w2
 Weight 2 from gSeaGen. More...
 
Double_t fMC_w1y
 multiply atm. muon/noise by this to get evts in year More...
 
Double_t fMC_erange_start
 Start of gSeaGen E range, e.g. for 3–100 GeV this is 3. More...
 
Double_t fMC_is_CC
 1 - CC, 0 - NC More...
 
Double_t fMC_is_neutrino
 1 - atm neutrion, 0 - atm muon More...
 
Double_t fMC_type
 PDG code of the primary lepton. More...
 
Double_t fMC_dir_x
 
Double_t fMC_dir_y
 
Double_t fMC_dir_z
 
Double_t fMC_pos_x
 
Double_t fMC_pos_y
 
Double_t fMC_pos_z
 
Double_t fMC_energy
 
Double_t fMC_bjorkeny
 
Double_t fTrack_dir_x
 
Double_t fTrack_dir_y
 
Double_t fTrack_dir_z
 
Double_t fTrack_pos_x
 
Double_t fTrack_pos_y
 
Double_t fTrack_pos_z
 
Double_t fTrack_energy
 Reconstructed neutrino energy. More...
 
Double_t fTrack_bjorkeny
 Reconstructed Bjorken Y (currently only placeholder) More...
 
Double_t fTrack_ql0
 Quality level 0 - lowest quality event (few quality checks) More...
 
Double_t fTrack_ql1
 Quality level 1 - more quality checks. More...
 
Double_t fTrack_ql2
 Quality level 2 - even more quality checks, see README.md. More...
 
Double_t fShower_dir_x
 
Double_t fShower_dir_y
 
Double_t fShower_dir_z
 
Double_t fShower_pos_x
 
Double_t fShower_pos_y
 
Double_t fShower_pos_z
 
Double_t fShower_energy
 Reconstructed neutrino energy. More...
 
Double_t fShower_bjorkeny
 Reconstructed Bjorken Y. More...
 
Double_t fShower_ql0
 Similar to gandalf quality levels, see README.md. More...
 
Double_t fShower_ql1
 
Double_t fShower_ql2
 currently only placeholder for shower More...
 
Double_t fRDF_muon_score
 PID score for this being an atm muon from random dec. forest. More...
 
Double_t fRDF_track_score
 PID score for this being a track event from random dec. forest. More...
 
Double_t fRDF_noise_score
 PID score for this being a noise event from random dec. forest. More...
 

Detailed Description

Data format for NMH analysis.

It is obvious that for a code to be maintainable, one requires a certain format for the data. At the time when this code was started, there was no clear agreement on what is the data format that is input to the NMH sensitivity analyses. For this reason this event class was defined, the data from ECAP Random Decision Forest PID is converted to this format by scripts in NMH/data_sorting/.

SummaryEvent consists of double's only. The main reason for this is to fascilitate simple data input to RooFit (where NMH fitting is performed), which works with flat trees. Additionally, such a tree can be easilty inspected/accessed without access to the SummaryEvent class. The variables are all private to dis-allow access without the use of the interface (setters/getters). The existing function names and variable names should not be changed, but new ones can be added.

The NMH sensitivy is itself a very high-level analysis. For this reason there are placeholders only for one track reco and one shower reco. It is envisaged that the selection of the 'best' fitted track is done before this analysis and hence this data format does not include several tracks per event as e.g. aanet.

Similarly, currently there are placeholders for three levels of quality cuts, more can be added. Quality levels (i.e. event selection cuts) should be defined prior to this analysis or when data is written to this format. Example: one may wish to have all reconstructed track events (ql0), reconstructed track events with likelihood higher than some value (ql1), reconstructed tracks with likelihood higher than some value and a certain number of hits (ql2), etc.

If a better reco (some DNN) or PID becomes available, this info can either be stored in the existing variables or, if necessary, new variables can be added.

Definition at line 34 of file SummaryEvent.h.

Constructor & Destructor Documentation

SummaryEvent::SummaryEvent ( )

Definition at line 3 of file SummaryEvent.C.

SummaryEvent::~SummaryEvent ( )

Definition at line 54 of file SummaryEvent.C.

Member Function Documentation

void SummaryEvent::FillPseudoData ( Bool_t  logE = kFALSE)

This function writes simplistic pseudodata to the member variables and is mainly useful for testing.

For example, the pseudo-events can be processed through event filters/selections/detector responses.

Parameters
logEIf true, energy sampled from $ 10^{{\rm Uniform}(0,2)}$,otherwise from $ {\rm Uniform}(1,100)$

Definition at line 64 of file SummaryEvent.C.

Double_t SummaryEvent::Get_MC_bjorkeny ( )
inline

Definition at line 121 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_MC_dir ( )
inline

Definition at line 122 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_dir_x ( )
inline

Definition at line 114 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_dir_y ( )
inline

Definition at line 115 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_dir_z ( )
inline

Definition at line 116 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_energy ( )
inline

Definition at line 120 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_erange_start ( )
inline

Definition at line 110 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_evtID ( )
inline

Definition at line 107 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_is_CC ( )
inline

Definition at line 111 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_is_neutrino ( )
inline

Definition at line 112 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_MC_pos ( )
inline

Definition at line 123 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_pos_x ( )
inline

Definition at line 117 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_pos_y ( )
inline

Definition at line 118 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_pos_z ( )
inline

Definition at line 119 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_runID ( )
inline

Definition at line 106 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_type ( )
inline

Definition at line 113 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_w1y ( )
inline

Definition at line 109 of file SummaryEvent.h.

Double_t SummaryEvent::Get_MC_w2 ( )
inline

Definition at line 108 of file SummaryEvent.h.

Double_t SummaryEvent::Get_RDF_muon_score ( )
inline

Definition at line 153 of file SummaryEvent.h.

Double_t SummaryEvent::Get_RDF_noise_score ( )
inline

Definition at line 155 of file SummaryEvent.h.

Double_t SummaryEvent::Get_RDF_track_score ( )
inline

Definition at line 154 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_bjorkeny ( )
inline

Definition at line 146 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_shower_dir ( )
inline

Definition at line 150 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_dir_x ( )
inline

Definition at line 139 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_dir_y ( )
inline

Definition at line 140 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_dir_z ( )
inline

Definition at line 141 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_energy ( )
inline

Definition at line 145 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_shower_pos ( )
inline

Definition at line 151 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_pos_x ( )
inline

Definition at line 142 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_pos_y ( )
inline

Definition at line 143 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_pos_z ( )
inline

Definition at line 144 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_ql0 ( )
inline

Definition at line 147 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_ql1 ( )
inline

Definition at line 148 of file SummaryEvent.h.

Double_t SummaryEvent::Get_shower_ql2 ( )
inline

Definition at line 149 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_bjorkeny ( )
inline

Definition at line 132 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_track_dir ( )
inline

Definition at line 136 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_dir_x ( )
inline

Definition at line 125 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_dir_y ( )
inline

Definition at line 126 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_dir_z ( )
inline

Definition at line 127 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_energy ( )
inline

Definition at line 131 of file SummaryEvent.h.

TVector3 SummaryEvent::Get_track_pos ( )
inline

Definition at line 137 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_pos_x ( )
inline

Definition at line 128 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_pos_y ( )
inline

Definition at line 129 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_pos_z ( )
inline

Definition at line 130 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_ql0 ( )
inline

Definition at line 133 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_ql1 ( )
inline

Definition at line 134 of file SummaryEvent.h.

Double_t SummaryEvent::Get_track_ql2 ( )
inline

Definition at line 135 of file SummaryEvent.h.

void SummaryEvent::Set_MC_bjorkeny ( Double_t  mc_by)
inline

Definition at line 57 of file SummaryEvent.h.

void SummaryEvent::Set_MC_dir ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 58 of file SummaryEvent.h.

void SummaryEvent::Set_MC_energy ( Double_t  mc_e)
inline

Definition at line 56 of file SummaryEvent.h.

void SummaryEvent::Set_MC_erange_start ( Double_t  mc_ers)
inline

Definition at line 52 of file SummaryEvent.h.

void SummaryEvent::Set_MC_evtID ( Double_t  mc_evtid)
inline

Definition at line 49 of file SummaryEvent.h.

void SummaryEvent::Set_MC_is_CC ( Double_t  mc_iscc)
inline

Definition at line 53 of file SummaryEvent.h.

void SummaryEvent::Set_MC_is_neutrino ( Double_t  mc_isnu)
inline

Definition at line 54 of file SummaryEvent.h.

void SummaryEvent::Set_MC_pos ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 63 of file SummaryEvent.h.

void SummaryEvent::Set_MC_runID ( Double_t  mc_runid)
inline

Definition at line 48 of file SummaryEvent.h.

void SummaryEvent::Set_MC_type ( Double_t  mc_type)
inline

Definition at line 55 of file SummaryEvent.h.

void SummaryEvent::Set_MC_w1y ( Double_t  mc_w1y)
inline

Definition at line 51 of file SummaryEvent.h.

void SummaryEvent::Set_MC_w2 ( Double_t  mc_w2)
inline

Definition at line 50 of file SummaryEvent.h.

void SummaryEvent::Set_RDF_muon_score ( Double_t  rms)
inline

Definition at line 101 of file SummaryEvent.h.

void SummaryEvent::Set_RDF_noise_score ( Double_t  rns)
inline

Definition at line 103 of file SummaryEvent.h.

void SummaryEvent::Set_RDF_track_score ( Double_t  rts)
inline

Definition at line 102 of file SummaryEvent.h.

void SummaryEvent::Set_shower_bjorkeny ( Double_t  s_by)
inline

Definition at line 86 of file SummaryEvent.h.

void SummaryEvent::Set_shower_dir ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 90 of file SummaryEvent.h.

void SummaryEvent::Set_shower_energy ( Double_t  s_e)
inline

Definition at line 85 of file SummaryEvent.h.

void SummaryEvent::Set_shower_pos ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 95 of file SummaryEvent.h.

void SummaryEvent::Set_shower_ql0 ( Double_t  s_ql0)
inline

Definition at line 87 of file SummaryEvent.h.

void SummaryEvent::Set_shower_ql1 ( Double_t  s_ql1)
inline

Definition at line 88 of file SummaryEvent.h.

void SummaryEvent::Set_shower_ql2 ( Double_t  s_ql2)
inline

Definition at line 89 of file SummaryEvent.h.

void SummaryEvent::Set_track_bjorkeny ( Double_t  t_by)
inline

Definition at line 70 of file SummaryEvent.h.

void SummaryEvent::Set_track_dir ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 74 of file SummaryEvent.h.

void SummaryEvent::Set_track_energy ( Double_t  t_e)
inline

Definition at line 69 of file SummaryEvent.h.

void SummaryEvent::Set_track_pos ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 79 of file SummaryEvent.h.

void SummaryEvent::Set_track_ql0 ( Double_t  t_ql0)
inline

Definition at line 71 of file SummaryEvent.h.

void SummaryEvent::Set_track_ql1 ( Double_t  t_ql1)
inline

Definition at line 72 of file SummaryEvent.h.

void SummaryEvent::Set_track_ql2 ( Double_t  t_ql2)
inline

Definition at line 73 of file SummaryEvent.h.

void SummaryEvent::SetSeed ( UInt_t  seed)
inline

Function to set the seed for the random event generation in SummaryEvent::CreatePseudoData.

Parameters
seedGenerator seed

Definition at line 43 of file SummaryEvent.h.

Member Data Documentation

Double_t SummaryEvent::fMC_bjorkeny
private

Definition at line 180 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_dir_x
private

Definition at line 173 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_dir_y
private

Definition at line 174 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_dir_z
private

Definition at line 175 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_energy
private

Definition at line 179 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_erange_start
private

Start of gSeaGen E range, e.g. for 3–100 GeV this is 3.

Definition at line 169 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_evtID
private

Event ID in gSeaGen run.

Definition at line 166 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_is_CC
private

1 - CC, 0 - NC

Definition at line 170 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_is_neutrino
private

1 - atm neutrion, 0 - atm muon

Definition at line 171 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_pos_x
private

Definition at line 176 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_pos_y
private

Definition at line 177 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_pos_z
private

Definition at line 178 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_runID
private

gSeaGen file run number

Definition at line 165 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_type
private

PDG code of the primary lepton.

Definition at line 172 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_w1y
private

multiply atm. muon/noise by this to get evts in year

Definition at line 168 of file SummaryEvent.h.

Double_t SummaryEvent::fMC_w2
private

Weight 2 from gSeaGen.

Definition at line 167 of file SummaryEvent.h.

Double_t SummaryEvent::fRDF_muon_score
private

PID score for this being an atm muon from random dec. forest.

Definition at line 206 of file SummaryEvent.h.

Double_t SummaryEvent::fRDF_noise_score
private

PID score for this being a noise event from random dec. forest.

Definition at line 208 of file SummaryEvent.h.

Double_t SummaryEvent::fRDF_track_score
private

PID score for this being a track event from random dec. forest.

Definition at line 207 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_bjorkeny
private

Reconstructed Bjorken Y.

Definition at line 201 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_dir_x
private

Definition at line 194 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_dir_y
private

Definition at line 195 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_dir_z
private

Definition at line 196 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_energy
private

Reconstructed neutrino energy.

Definition at line 200 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_pos_x
private

Definition at line 197 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_pos_y
private

Definition at line 198 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_pos_z
private

Definition at line 199 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_ql0
private

Similar to gandalf quality levels, see README.md.

Definition at line 202 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_ql1
private

Definition at line 203 of file SummaryEvent.h.

Double_t SummaryEvent::fShower_ql2
private

currently only placeholder for shower

Definition at line 204 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_bjorkeny
private

Reconstructed Bjorken Y (currently only placeholder)

Definition at line 189 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_dir_x
private

Definition at line 182 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_dir_y
private

Definition at line 183 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_dir_z
private

Definition at line 184 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_energy
private

Reconstructed neutrino energy.

Definition at line 188 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_pos_x
private

Definition at line 185 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_pos_y
private

Definition at line 186 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_pos_z
private

Definition at line 187 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_ql0
private

Quality level 0 - lowest quality event (few quality checks)

Definition at line 190 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_ql1
private

Quality level 1 - more quality checks.

Definition at line 191 of file SummaryEvent.h.

Double_t SummaryEvent::fTrack_ql2
private

Quality level 2 - even more quality checks, see README.md.

Definition at line 192 of file SummaryEvent.h.


The documentation for this class was generated from the following files: