1 #ifndef SIPionSystematics_h 2 #define SIPionSystematics_h 4 #include "EventWeightBase.hxx" 5 #include "BinnedParams.hxx" 6 #include "PionInteractionSystematic.hxx" 8 const unsigned int NINTERACTIONS=200;
9 const unsigned int NMAXMOMBINS=201;
23 void Initialize(Int_t nsel, Int_t isel, Int_t nbranch, Int_t nevents);
37 Float_t _xsec_data[NINTERACTIONS][NMAXMOMBINS];
38 Float_t _err_data[NINTERACTIONS][NMAXMOMBINS];
48 Int_t _interactionID[3];
PionInteractionSystematic ** _pionWeightInfo
Pion SI systematic associated quantities. TODO: better way of handeling this.
Weight_h ComputeWeight(const ToyExperiment &, const AnaEventC &, const ToyBoxB &)
Apply the systematic.
void FinalizeEvent(const AnaEventC &event)
Delete the PionInteractionSystematic for this event.
PionSIManager * _pionSIManager
A manager that grabs the needed data for systematics calculation.
virtual void Initialize()
Initilaize the systematics itself, basically the manager.
void FillSystBox(const AnaEventC &event, const SelectionBase &sel, Int_t ibranch)
Fill the SystBox for this event, selection and branch.