MaCh3 DUNE 1.0.0
Reference Guide
|
Base class for handling beam ND LAR samples. More...
#include <samplePDFDUNE/samplePDFDUNEBeamND.h>
Public Types | |
enum | KinematicTypes { kTrueNeutrinoEnergy , kRecoQ } |
Enum to identify kinematics. More... | |
Public Member Functions | |
samplePDFDUNEBeamND (std::string mc_version, covarianceXsec *xsec_cov, covarianceOsc *osc_cov) | |
samplePDFDUNE ND beam Constructor | |
~samplePDFDUNEBeamND () | |
destructor | |
Protected Member Functions | |
void | Init () |
Initialises object. | |
int | setupExperimentMC (int iSample) |
Function to setup MC from file. | |
void | setupFDMC (int iSample) |
Tells FD base which variables to point to/be set to. | |
void | SetupWeightPointers () |
Sets up pointers weights for each event (oscillation/xsec/etc.) | |
void | SetupSplines () |
Sets up splines. | |
const double * | GetPointerToKinematicParameter (KinematicTypes KinPar, int iSample, int iEvent) |
Returns pointer to kinemtatic parameter for event in Structs DUNE. | |
const double * | GetPointerToKinematicParameter (double KinematicVariable, int iSample, int iEvent) |
Returns pointer to kinemtatic parameter for event in Structs DUNE. | |
const double * | GetPointerToKinematicParameter (std::string KinematicParameter, int iSample, int iEvent) |
Returns pointer to kinemtatic parameter for event in Structs DUNE. | |
double | ReturnKinematicParameter (double KinematicVariable, int iSample, int iEvent) |
Returns pointer to kinemtatic parameter for event in Structs DUNE. | |
double | ReturnKinematicParameter (std::string KinematicParameter, int iSample, int iEvent) |
Returns pointer to kinemtatic parameter for event in Structs DUNE. | |
std::vector< double > | ReturnKinematicParameterBinning (std::string KinematicParameter) |
Gets binning for a given parameter. | |
std::string | ReturnStringFromKinematicParameter (int KinematicParameter) |
Gets name of kinematic parmaeter. | |
int | ReturnKinematicParameterFromString (std::string KinematicParameterStr) |
Get kinematic parameter ID from string name. | |
double | CalcXsecWeightFunc (int iSample, int iEvent) |
NOT IMPLEMENTED: Dunder method to calculate xsec weights. | |
void | applyShifts (int iSample, int iEvent) |
NOT IMPLEMENTED: Apply kinematic shifts. | |
Protected Attributes | |
std::vector< struct dunemc_base > | dunendmcSamples |
Array filled with MC samples for each oscillation channel. | |
TFile * | _sampleFile |
File containing sample objects. | |
TTree * | _data |
TTree containing sample Data. | |
double | pot |
Value of POT used for sample. | |
TString | _nutype |
int | _mode |
double | _ev |
double | _erec |
double | _erec_lep |
double | _erec_had |
int | _reco_numu |
int | _reco_nue |
double | _eRecoP |
double | _eRecoPip |
double | _eRecoPim |
double | _eRecoPi0 |
double | _eRecoN |
double | _LepNuAngle |
double | _LepE |
double | _eP |
double | _ePip |
double | _ePim |
double | _ePi0 |
double | _eN |
double | _BeRPA_cvwgt |
int | _isCC |
int | _nuPDGunosc |
int | _nuPDG |
int | _run |
int | _isND |
int | _isFHC |
double | _vtx_x |
double | _vtx_y |
double | _vtx_z |
double | _LepTheta |
double | _Q2 |
int | _reco_q |
bool | iselike |
bool | isND |
bool | IsRHC |
double | tot_escale_nd_pos |
double | tot_escale_sqrt_nd_pos |
double | tot_escale_invsqrt_nd_pos |
double | had_escale_nd_pos |
double | had_escale_sqrt_nd_pos |
double | had_escale_invsqrt_nd_pos |
double | mu_escale_nd_pos |
double | mu_escale_sqrt_nd_pos |
double | mu_escale_invsqrt_nd_pos |
double | n_escale_nd_pos |
double | n_escale_sqrt_nd_pos |
double | n_escale_invsqrt_nd_pos |
double | em_escale_nd_pos |
double | em_escale_sqrt_nd_pos |
double | em_escale_invsqrt_nd_pos |
double | had_res_nd_pos |
double | mu_res_nd_pos |
double | n_res_nd_pos |
double | em_res_nd_pos |
std::vector< const double * > | NDDetectorSystPointers |
ND Detector Systematics. | |
int | nNDDetectorSystPointers |
Number of FD Detector Systematics. | |
Base class for handling beam ND LAR samples.
Definition at line 23 of file samplePDFDUNEBeamND.h.
Enum to identify kinematics.
Enumerator | |
---|---|
kTrueNeutrinoEnergy | |
kRecoQ |
Definition at line 36 of file samplePDFDUNEBeamND.h.
samplePDFDUNEBeamND::samplePDFDUNEBeamND | ( | std::string | mc_version, |
covarianceXsec * | xsec_cov, | ||
covarianceOsc * | osc_cov ) |
samplePDFDUNE ND beam Constructor
mc_version | Config Name |
xsec_cov | Cross-section covariance matrix |
osc_cov | Oscillation covariance matrix |
Definition at line 10 of file samplePDFDUNEBeamND.cpp.
samplePDFDUNEBeamND::~samplePDFDUNEBeamND | ( | ) |
|
protected |
NOT IMPLEMENTED: Apply kinematic shifts.
iSample | Sample Number |
iEvent | Event number |
Definition at line 373 of file samplePDFDUNEBeamND.cpp.
|
inlineprotected |
NOT IMPLEMENTED: Dunder method to calculate xsec weights.
iSample | sample ID |
iEvent | Event number |
Definition at line 112 of file samplePDFDUNEBeamND.h.
|
protected |
Returns pointer to kinemtatic parameter for event in Structs DUNE.
KinematicVariable | Kinematic parameter as double (gets cast -> int) |
iSample | Sample ID |
iEvent | Event ID |
Definition at line 341 of file samplePDFDUNEBeamND.cpp.
|
protected |
Returns pointer to kinemtatic parameter for event in Structs DUNE.
KinPar | Kinematic parameter enum val |
iSample | Sample ID |
iEvent | Event ID |
Definition at line 323 of file samplePDFDUNEBeamND.cpp.
|
protected |
Returns pointer to kinemtatic parameter for event in Structs DUNE.
KinematicParameter | Kinematic parameter name as string (gets cast -> int) |
iSample | Sample ID |
iEvent | Event ID |
Definition at line 346 of file samplePDFDUNEBeamND.cpp.
|
protected |
Initialises object.
Definition at line 17 of file samplePDFDUNEBeamND.cpp.
|
protected |
Returns pointer to kinemtatic parameter for event in Structs DUNE.
KinematicVariable | Kinematic parameter ID as double (gets cast -> int) |
iSample | Sample ID |
iEvent | Event ID |
Definition at line 351 of file samplePDFDUNEBeamND.cpp.
|
protected |
Returns pointer to kinemtatic parameter for event in Structs DUNE.
KinematicParameter | Kinematic parameter name as string (gets cast -> int) |
iSample | Sample ID |
iEvent | Event ID |
Definition at line 355 of file samplePDFDUNEBeamND.cpp.
|
protected |
Gets binning for a given parameter.
KinematicParameterStr | Parameter name |
Definition at line 437 of file samplePDFDUNEBeamND.cpp.
|
protected |
Get kinematic parameter ID from string name.
KinematicStr |
Definition at line 443 of file samplePDFDUNEBeamND.cpp.
|
protected |
Gets name of kinematic parmaeter.
KinPar | Parameter ID |
Definition at line 447 of file samplePDFDUNEBeamND.cpp.
|
protected |
Function to setup MC from file.
iSample | sample ID |
Definition at line 168 of file samplePDFDUNEBeamND.cpp.
|
protected |
Tells FD base which variables to point to/be set to.
iSample | Sample ID |
Definition at line 359 of file samplePDFDUNEBeamND.cpp.
|
protected |
Sets up splines.
Definition at line 138 of file samplePDFDUNEBeamND.cpp.
|
protected |
Sets up pointers weights for each event (oscillation/xsec/etc.)
Definition at line 153 of file samplePDFDUNEBeamND.cpp.
|
protected |
Definition at line 156 of file samplePDFDUNEBeamND.h.
|
protected |
TTree containing sample Data.
Definition at line 126 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 155 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 151 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 154 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 153 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 152 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 137 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 139 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 138 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 147 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 143 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 146 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 145 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 144 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 136 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 157 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 162 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 161 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 150 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 149 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 166 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 133 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 159 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 158 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 131 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 167 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 141 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 140 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 168 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 160 of file samplePDFDUNEBeamND.h.
|
protected |
File containing sample objects.
Definition at line 123 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 163 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 164 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 165 of file samplePDFDUNEBeamND.h.
|
protected |
Array filled with MC samples for each oscillation channel.
Definition at line 120 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 190 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 188 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 189 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 194 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 181 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 179 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 180 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 191 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 171 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 172 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 173 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 184 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 182 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 183 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 192 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 187 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 185 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 186 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 193 of file samplePDFDUNEBeamND.h.
|
protected |
ND Detector Systematics.
Definition at line 197 of file samplePDFDUNEBeamND.h.
|
protected |
Number of FD Detector Systematics.
Definition at line 200 of file samplePDFDUNEBeamND.h.
|
protected |
Value of POT used for sample.
Definition at line 129 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 178 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 176 of file samplePDFDUNEBeamND.h.
|
protected |
Definition at line 177 of file samplePDFDUNEBeamND.h.