1#ifndef _samplePDFDUNEBeamND_h_
2#define _samplePDFDUNEBeamND_h_
10#include <TGraph2DErrors.h>
16#include "covariance/covarianceXsec.h"
17#include "covariance/covarianceOsc.h"
18#include "samplePDF/samplePDFFDBase.h"
30 samplePDFDUNEBeamND(std::string mc_version, covarianceXsec* xsec_cov, covarianceOsc* osc_cov);
Base class for handling beam ND LAR samples.
samplePDFDUNEBeamND(std::string mc_version, covarianceXsec *xsec_cov, covarianceOsc *osc_cov)
samplePDFDUNE ND beam Constructor
double n_escale_sqrt_nd_pos
int ReturnKinematicParameterFromString(std::string KinematicParameterStr)
Get kinematic parameter ID from string name.
double tot_escale_sqrt_nd_pos
double had_escale_sqrt_nd_pos
std::vector< double > ReturnKinematicParameterBinning(std::string KinematicParameter)
Gets binning for a given parameter.
double mu_escale_invsqrt_nd_pos
int nNDDetectorSystPointers
Number of FD Detector Systematics.
double em_escale_invsqrt_nd_pos
double em_escale_sqrt_nd_pos
int setupExperimentMC(int iSample)
Function to setup MC from file.
void applyShifts(int iSample, int iEvent)
NOT IMPLEMENTED: Apply kinematic shifts.
std::vector< const double * > NDDetectorSystPointers
ND Detector Systematics.
double tot_escale_invsqrt_nd_pos
double had_escale_invsqrt_nd_pos
double CalcXsecWeightFunc(int iSample, int iEvent)
NOT IMPLEMENTED: Dunder method to calculate xsec weights.
void SetupWeightPointers()
Sets up pointers weights for each event (oscillation/xsec/etc.)
void SetupSplines()
Sets up splines.
void Init()
Initialises object.
double n_escale_invsqrt_nd_pos
void setupFDMC(int iSample)
Tells FD base which variables to point to/be set to.
TTree * _data
TTree containing sample Data.
~samplePDFDUNEBeamND()
destructor
std::vector< struct dunemc_base > dunendmcSamples
Array filled with MC samples for each oscillation channel.
TFile * _sampleFile
File containing sample objects.
double mu_escale_sqrt_nd_pos
KinematicTypes
Enum to identify kinematics.
double ReturnKinematicParameter(double KinematicVariable, int iSample, int iEvent)
Returns pointer to kinemtatic parameter for event in Structs DUNE.
const double * GetPointerToKinematicParameter(KinematicTypes KinPar, int iSample, int iEvent)
Returns pointer to kinemtatic parameter for event in Structs DUNE.
std::string ReturnStringFromKinematicParameter(int KinematicParameter)
Gets name of kinematic parmaeter.
double pot
Value of POT used for sample.