MaCh3  2.5.0
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/FarDetectorCoreInfoStruct.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 82 of file FarDetectorCoreInfoStruct.h.

Constructor & Destructor Documentation

◆ EventInfo() [1/3]

EventInfo::EventInfo ( )
inline

Default constructor.

Definition at line 84 of file FarDetectorCoreInfoStruct.h.

84 {}

◆ 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 94 of file FarDetectorCoreInfoStruct.h.

94 {}

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 117 of file FarDetectorCoreInfoStruct.h.

◆ enu_true

double EventInfo::enu_true = M3::_BAD_DOUBLE_

Pointer to true Neutrino Energy.

Definition at line 115 of file FarDetectorCoreInfoStruct.h.

◆ isNC

bool EventInfo::isNC = false

Is event NC or not.

Definition at line 112 of file FarDetectorCoreInfoStruct.h.

◆ KinVar

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

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

Definition at line 100 of file FarDetectorCoreInfoStruct.h.

◆ NomBin

std::vector<int> EventInfo::NomBin

starting bins for each dimensions allowing to perform quick lookup

Definition at line 102 of file FarDetectorCoreInfoStruct.h.

◆ NominalSample

int EventInfo::NominalSample = M3::_BAD_INT_

Nominal sample to which event is associated.

Definition at line 105 of file FarDetectorCoreInfoStruct.h.

◆ nupdg

int EventInfo::nupdg = M3::_BAD_INT_

PDG of neutrino after oscillation.

Definition at line 108 of file FarDetectorCoreInfoStruct.h.

◆ nupdgUnosc

int EventInfo::nupdgUnosc = M3::_BAD_INT_

PDG of neutrino before oscillation.

Definition at line 110 of file FarDetectorCoreInfoStruct.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 97 of file FarDetectorCoreInfoStruct.h.


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