HighLAND
P0DVetoSystematics.hxx
1 #ifndef P0dVetoSystematics_h
2 #define P0dVetoSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
7 //P0D veto correction & systemtic based on cut defined in TN-080
8 //Note: 2016/07/15 - Do not apply to p0dNumuCCQEAnalysis since the
9 //current pileup correction covers this already. This should be updated soon
10 
12 public:
13 
15 
16  virtual ~P0DVetoSystematics() {
17  if (_p0d) delete _p0d; _p0d = NULL;
18 
19  }
20 
21  /// Apply this systematic
23  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box);
24 
25  BinnedParams* _p0d;
26 
27 
28 };
29 
30 #endif
virtual Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box, const SelectionBase &sel)
This is now the actual method called by SystematicManager, which allows further selection tunning of ...
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)