MaCh3  2.4.2
Reference Guide
Public Member Functions | Public Attributes | List of all members
SampleInfo Struct Reference

KS: Store info about MC sample. More...

#include <Samples/FarDetectorCoreInfoStruct.h>

Collaboration diagram for SampleInfo:
[legend]

Public Member Functions

 SampleInfo ()=default
 Default constructor. More...
 
 ~SampleInfo ()
 Destructor. More...
 

Public Attributes

std::vector< std::string > VarStr
 the strings associated with the variables used for the binning e.g. "RecoNeutrinoEnergy" More...
 
std::string SampleTitle = ""
 the name of this sample e.g."muon-like" More...
 
int nDimensions = M3::_BAD_INT_
 Keep track of the dimensions of the sample binning. More...
 
std::vector< std::string > mc_files
 names of mc files associated associated with this object More...
 
std::vector< std::string > spline_files
 names of spline files associated associated with this object More...
 
std::vector< OscChannelInfoOscChannels
 Stores info about oscillation channel for a single sample. More...
 
TH1 * DataHist = nullptr
 histogram used for plotting storing data distribution More...
 
TH1 * MCHist = nullptr
 histogram used for plotting storing MC distribution More...
 
TH1 * W2Hist = nullptr
 histogram used for plotting storing W2 distribution More...
 

Detailed Description

KS: Store info about MC sample.

Definition at line 40 of file FarDetectorCoreInfoStruct.h.

Constructor & Destructor Documentation

◆ SampleInfo()

SampleInfo::SampleInfo ( )
default

Default constructor.

◆ ~SampleInfo()

SampleInfo::~SampleInfo ( )
inline

Destructor.

Definition at line 45 of file FarDetectorCoreInfoStruct.h.

45  {
46  if(DataHist != nullptr) delete DataHist;
47  if(MCHist != nullptr) delete MCHist;
48  if(W2Hist != nullptr) delete W2Hist;
49  }
TH1 * W2Hist
histogram used for plotting storing W2 distribution
TH1 * DataHist
histogram used for plotting storing data distribution
TH1 * MCHist
histogram used for plotting storing MC distribution

Member Data Documentation

◆ DataHist

TH1* SampleInfo::DataHist = nullptr

histogram used for plotting storing data distribution

Definition at line 69 of file FarDetectorCoreInfoStruct.h.

◆ mc_files

std::vector<std::string> SampleInfo::mc_files

names of mc files associated associated with this object

Definition at line 61 of file FarDetectorCoreInfoStruct.h.

◆ MCHist

TH1* SampleInfo::MCHist = nullptr

histogram used for plotting storing MC distribution

Definition at line 71 of file FarDetectorCoreInfoStruct.h.

◆ nDimensions

int SampleInfo::nDimensions = M3::_BAD_INT_

Keep track of the dimensions of the sample binning.

Definition at line 58 of file FarDetectorCoreInfoStruct.h.

◆ OscChannels

std::vector<OscChannelInfo> SampleInfo::OscChannels

Stores info about oscillation channel for a single sample.

Definition at line 66 of file FarDetectorCoreInfoStruct.h.

◆ SampleTitle

std::string SampleInfo::SampleTitle = ""

the name of this sample e.g."muon-like"

Definition at line 55 of file FarDetectorCoreInfoStruct.h.

◆ spline_files

std::vector<std::string> SampleInfo::spline_files

names of spline files associated associated with this object

Definition at line 63 of file FarDetectorCoreInfoStruct.h.

◆ VarStr

std::vector<std::string> SampleInfo::VarStr

the strings associated with the variables used for the binning e.g. "RecoNeutrinoEnergy"

Definition at line 52 of file FarDetectorCoreInfoStruct.h.

◆ W2Hist

TH1* SampleInfo::W2Hist = nullptr

histogram used for plotting storing W2 distribution

Definition at line 73 of file FarDetectorCoreInfoStruct.h.


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