MaCh3  2.5.1
Reference Guide
EventInfo.h
Go to the documentation of this file.
1 #pragma once
2 #include <vector>
3 #include <string>
4 
6 
13 struct EventInfo {
17  EventInfo(EventInfo const &other) = delete;
19  EventInfo(EventInfo &&other) = default;
21  EventInfo& operator=(EventInfo const &other) = delete;
23  EventInfo& operator=(EventInfo &&other) = delete;
26 
28  std::vector<const M3::float_t*> total_weight_pointers;
29 
31  std::vector<const double*> KinVar;
33  std::vector<int> NomBin;
34 
37 
43  bool isNC = false;
44 
49 };
constexpr static const double _BAD_DOUBLE_
Default value used for double initialisation.
Definition: Core.h:53
constexpr static const int _BAD_INT_
Default value used for int initialisation.
Definition: Core.h:55
Stores info about each MC event used during reweighting routine.
Definition: EventInfo.h:13
int NominalSample
Nominal sample to which event is associated.
Definition: EventInfo.h:36
EventInfo & operator=(EventInfo const &other)=delete
Copy assignment operator (deleted).
EventInfo & operator=(EventInfo &&other)=delete
Move assignment operator (deleted).
int nupdgUnosc
PDG of neutrino before oscillation.
Definition: EventInfo.h:41
std::vector< int > NomBin
starting bins for each dimensions allowing to perform quick lookup
Definition: EventInfo.h:33
~EventInfo()
default destructor
Definition: EventInfo.h:25
double coszenith_true
Pointer to true cosine zenith.
Definition: EventInfo.h:48
EventInfo(EventInfo &&other)=default
Move constructor (defaulted to allow moving).
double enu_true
Pointer to true Neutrino Energy.
Definition: EventInfo.h:46
EventInfo(EventInfo const &other)=delete
Copy constructor (deleted to prevent copying).
std::vector< const M3::float_t * > total_weight_pointers
Pointers to weights like oscillation spline, normalisation etc.
Definition: EventInfo.h:28
int nupdg
PDG of neutrino after oscillation.
Definition: EventInfo.h:39
bool isNC
Is event NC or not.
Definition: EventInfo.h:43
std::vector< const double * > KinVar
The x_var and y_vars and beyond that you're binning in.
Definition: EventInfo.h:31
EventInfo()
Default constructor.
Definition: EventInfo.h:15