MaCh3  2.4.2
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

const int * Target = 0
 target the interaction was on More...
 
const int * nupdg = 0
 PDG of neutrino after oscillation. More...
 
const int * nupdgUnosc = 0
 PDG of neutrino before oscillation. More...
 
const double * rw_etru = &M3::_BAD_DOUBLE_
 Pointer to true Neutrino Energy. More...
 
const double * rw_truecz = &M3::_BAD_DOUBLE_
 Pointer to true cosine zenith. More...
 
std::vector< const double * > norm_pointers
 Pointers to normalisation weights which are being taken from Parameter Handler. More...
 
std::vector< const M3::float_t * > total_weight_pointers
 Pointers to weights like oscillation spline 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...
 
bool isNC = false
 Is event NC or not. More...
 
const double * mode = &M3::Unity_D
 Pointer to MaCh3 mode. 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

◆ isNC

bool EventInfo::isNC = false

Is event NC or not.

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

◆ mode

const double* EventInfo::mode = &M3::Unity_D

Pointer to MaCh3 mode.

Definition at line 125 of file FarDetectorCoreInfoStruct.h.

◆ NomBin

std::vector<int> EventInfo::NomBin

starting bins for each dimensions allowing to perform quick lookup

Definition at line 117 of file FarDetectorCoreInfoStruct.h.

◆ NominalSample

int EventInfo::NominalSample = M3::_BAD_INT_

Nominal sample to which event is associated.

Definition at line 120 of file FarDetectorCoreInfoStruct.h.

◆ norm_pointers

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

Pointers to normalisation weights which are being taken from Parameter Handler.

Definition at line 109 of file FarDetectorCoreInfoStruct.h.

◆ nupdg

const int* EventInfo::nupdg = 0

PDG of neutrino after oscillation.

Definition at line 99 of file FarDetectorCoreInfoStruct.h.

◆ nupdgUnosc

const int* EventInfo::nupdgUnosc = 0

PDG of neutrino before oscillation.

Definition at line 101 of file FarDetectorCoreInfoStruct.h.

◆ rw_etru

const double* EventInfo::rw_etru = &M3::_BAD_DOUBLE_

Pointer to true Neutrino Energy.

Definition at line 104 of file FarDetectorCoreInfoStruct.h.

◆ rw_truecz

const double* EventInfo::rw_truecz = &M3::_BAD_DOUBLE_

Pointer to true cosine zenith.

Definition at line 106 of file FarDetectorCoreInfoStruct.h.

◆ Target

const int* EventInfo::Target = 0

target the interaction was on

Definition at line 97 of file FarDetectorCoreInfoStruct.h.

◆ total_weight_pointers

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

Pointers to weights like oscillation spline etc.

Definition at line 112 of file FarDetectorCoreInfoStruct.h.


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