1#ifndef _samplePDFDUNEBeamFD_h_
2#define _samplePDFDUNEBeamFD_h_
10#include <TGraph2DErrors.h>
16#include "covariance/covarianceXsec.h"
17#include "covariance/covarianceOsc.h"
18#include "samplePDF/samplePDFFDBase.h"
31 samplePDFDUNEBeamFD(std::string mc_version, covarianceXsec* xsec_cov, covarianceOsc* osc_cov);
Base class for handling FD Beam samples.
double tot_escale_invsqrt_fd_pos
double n_escale_sqrt_fd_pos
std::vector< const double * > FDDetectorSystPointers
FD Detector Systematics.
void SetupSplines()
Setup our spline file, this calls InitialseSplineObject() under the hood.
void applyShifts(int iSample, int iEvent)
Apply kinematic shifts.
double n_escale_invsqrt_fd_pos
double tot_escale_sqrt_fd_pos
TFile * _sampleFile
File containing sample objects.
samplePDFDUNEBeamFD(std::string mc_version, covarianceXsec *xsec_cov, covarianceOsc *osc_cov)
samplePDFDUNE FD beam Constructor
double CalcXsecWeightFunc(int iSample, int iEvent)
NOT IMPLEMENTED: Dunder method to calculate xsec weights.
double had_escale_invsqrt_fd_pos
std::vector< struct dunemc_base > dunemcSamples
DUNE MC sampels.
std::string ReturnStringFromKinematicParameter(int KinematicParameterStr)
TTree * _data
TTree containing sample Data.
TH1D * get1DVarHist(KinematicTypes Var1, int fModeToFill=-1, int fSampleToFill=-1, int WeightStyle=0, TAxis *Axis=0)
Getter to make plots in different variables, mode, osc channel, systematic weighting and with bin ran...
double mu_escale_sqrt_fd_pos
const double * GetPointerToKinematicParameter(std::string KinematicParameter, int iSample, int iEvent)
Returns pointer to kinemtatic parameter for event in Structs DUNE.
int ReturnKinematicParameterFromString(std::string KinematicParameterStr)
double mu_escale_invsqrt_fd_pos
void SetupWeightPointers()
Sets up pointers weights for each event (oscillation/xsec/etc.)
double pot
Value of POT used for sample.
int setupExperimentMC(int iSample)
Function to setup MC from file.
int nFDDetectorSystPointers
Number of FD Detector Systematics.
double em_escale_sqrt_fd_pos
double had_escale_sqrt_fd_pos
void setupFDMC(int iSample)
Tells FD base which variables to point to/be set to.
~samplePDFDUNEBeamFD()
destructor
double ReturnKinematicParameter(double KinematicVariable, int iSample, int iEvent)
Returns pointer to kinemtatic parameter for event in Structs DUNE.
void Init()
Initialises object.
double em_escale_invsqrt_fd_pos
std::vector< double > ReturnKinematicParameterBinning(std::string KinematicParameter)