HighLAND
nueOOFVSystematics.hxx
1 #ifndef nueOOFVSystematics_h
2 #define nueOOFVSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
7 /// This systematic evaluates the oofv systematic for nue analysis. At the moment a 30% rate unceratinty is applied to out of fgd events
8 
10 public:
11 
14 
15  virtual ~nueOOFVSystematics() {
16  if (_fgd1) delete _fgd1; _fgd1 = NULL;
17  if (_fgd2) delete _fgd2; _fgd2 = NULL;
18  if (_rate) delete _rate; _rate = NULL;
19  }
20 
21  /// Apply the systematic
22  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box);
23 
24 protected:
25 
26  Int_t GetDetNumber(SubDetId::SubDetEnum det);
27 
28 protected:
29 
30  /// Mean of the rate correction
31  Float_t _rate_corr[2][9];
32 
33  /// Uncertainty on the rate correction
34  Float_t _rate_error[2][9];
35 
36  /// Mean of the reco eff correction
37  Float_t _reco_corr[2][9];
38 
39  /// Uncertainty on the reco eff correction
40  Float_t _reco_error[2][9];
41 
42  //Index for rate corrections
43  Int_t _rate_index[2][9];
44 
45  //Index for reco corrections
46  Int_t _reco_index[2][9];
47 
48  BinnedParams* _fgd1;
49  BinnedParams* _fgd2;
50  BinnedParams* _rate;
51 
52 };
53 
54 #endif
Float_t _reco_error[2][9]
Uncertainty on the reco eff correction.
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Apply the systematic.
Float_t _rate_corr[2][9]
Mean of the rate correction.
SubDetEnum
Enumeration of all detector systems and subdetectors.
Definition: SubDetId.hxx:25
This systematic evaluates the oofv systematic for nue analysis. At the moment a 30% rate unceratinty ...
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 ...
Float_t _rate_error[2][9]
Uncertainty on the rate correction.
Float_t _reco_corr[2][9]
Mean of the reco eff correction.