MaCh3  2.5.1
Reference Guide
Public Member Functions | Public Attributes | List of all members
EventInfo Struct Reference

Stores info about each MC event used during reweighting routine. More...

#include <Samples/EventInfo.h>

Collaboration diagram for EventInfo:
[legend]

Public Member Functions

 EventInfo ()
 Default constructor. More...
 
 EventInfo (EventInfo const &other)=delete
 Copy constructor (deleted to prevent copying). More...
 
 EventInfo (EventInfo &&other)=default
 Move constructor (defaulted to allow moving). More...
 
EventInfooperator= (EventInfo const &other)=delete
 Copy assignment operator (deleted). More...
 
EventInfooperator= (EventInfo &&other)=delete
 Move assignment operator (deleted). More...
 
 ~EventInfo ()
 default destructor More...
 

Public Attributes

std::vector< const M3::float_t * > total_weight_pointers
 Pointers to weights like oscillation spline, normalisation etc. More...
 
std::vector< const double * > KinVar
 The x_var and y_vars and beyond that you're binning in. More...
 
std::vector< int > NomBin
 starting bins for each dimensions allowing to perform quick lookup More...
 
int NominalSample = M3::_BAD_INT_
 Nominal sample to which event is associated. More...
 
int nupdg = M3::_BAD_INT_
 PDG of neutrino after oscillation. More...
 
int nupdgUnosc = M3::_BAD_INT_
 PDG of neutrino before oscillation. More...
 
bool isNC = false
 Is event NC or not. More...
 
double enu_true = M3::_BAD_DOUBLE_
 Pointer to true Neutrino Energy. More...
 
double coszenith_true = M3::_BAD_DOUBLE_
 Pointer to true cosine zenith. More...
 

Detailed Description

Stores info about each MC event used during reweighting routine.

Author
Dan Barrow
Ed Atkin
Kamil Skwarczynski
Warning
Try to no add more variables here as it will impact RAM usage

Definition at line 13 of file EventInfo.h.

Constructor & Destructor Documentation

◆ EventInfo() [1/3]

EventInfo::EventInfo ( )
inline

Default constructor.

Definition at line 15 of file EventInfo.h.

15 {}

◆ EventInfo() [2/3]

EventInfo::EventInfo ( EventInfo const &  other)
delete

Copy constructor (deleted to prevent copying).

◆ EventInfo() [3/3]

EventInfo::EventInfo ( EventInfo &&  other)
default

Move constructor (defaulted to allow moving).

◆ ~EventInfo()

EventInfo::~EventInfo ( )
inline

default destructor

Definition at line 25 of file EventInfo.h.

25 {}

Member Function Documentation

◆ operator=() [1/2]

EventInfo& EventInfo::operator= ( EventInfo &&  other)
delete

Move assignment operator (deleted).

◆ operator=() [2/2]

EventInfo& EventInfo::operator= ( EventInfo const &  other)
delete

Copy assignment operator (deleted).

Member Data Documentation

◆ coszenith_true

double EventInfo::coszenith_true = M3::_BAD_DOUBLE_

Pointer to true cosine zenith.

Definition at line 48 of file EventInfo.h.

◆ enu_true

double EventInfo::enu_true = M3::_BAD_DOUBLE_

Pointer to true Neutrino Energy.

Definition at line 46 of file EventInfo.h.

◆ isNC

bool EventInfo::isNC = false

Is event NC or not.

Definition at line 43 of file EventInfo.h.

◆ KinVar

std::vector<const double*> EventInfo::KinVar

The x_var and y_vars and beyond that you're binning in.

Definition at line 31 of file EventInfo.h.

◆ NomBin

std::vector<int> EventInfo::NomBin

starting bins for each dimensions allowing to perform quick lookup

Definition at line 33 of file EventInfo.h.

◆ NominalSample

int EventInfo::NominalSample = M3::_BAD_INT_

Nominal sample to which event is associated.

Definition at line 36 of file EventInfo.h.

◆ nupdg

int EventInfo::nupdg = M3::_BAD_INT_

PDG of neutrino after oscillation.

Definition at line 39 of file EventInfo.h.

◆ nupdgUnosc

int EventInfo::nupdgUnosc = M3::_BAD_INT_

PDG of neutrino before oscillation.

Definition at line 41 of file EventInfo.h.

◆ total_weight_pointers

std::vector<const M3::float_t*> EventInfo::total_weight_pointers

Pointers to weights like oscillation spline, normalisation etc.

Definition at line 28 of file EventInfo.h.


The documentation for this struct was generated from the following file: