HighLAND
p0dCCQEOOFVSystematics.hxx
1 #ifndef P0DCCQEOOFVSystematics_h
2 #define P0DCCQEOOFVSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
8 public:
9 
12 
13  virtual ~p0dCCQEOOFVSystematics() {
14  delete _p0d;
15  delete _rate;
16  }
17 
18  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box);
19 
20 protected:
21 
22  Int_t GetDetNumber(SubDetId::SubDetEnum det);
23  Int_t GetBeamNumber(Int_t runperiod,AnaTrackB *maintrack);
24 
25 protected:
26 
27  /// Mean of the rate correction
28  Float_t _rate_corr;
29 
30  /// Uncertainty on the rate correction
31  Float_t _rate_error;
32 
33  /// Mean of the reco eff correction
34  Float_t _reco_corr[9];
35 
36  /// Uncertainty on the reco eff correction
37  Float_t _reco_error[9];
38 
39  //Index for rate corrections
40  Int_t _rate_index;
41 
42  //Index for reco corrections
43  Int_t _reco_index[9];
44 
45  BinnedParams* _p0d;
46  BinnedParams* _rate;
47 
48 };
49 
50 #endif
Float_t _rate_corr
Mean of the rate correction.
SubDetEnum
Enumeration of all detector systems and subdetectors.
Definition: SubDetId.hxx:25
Representation of a global track.
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Float_t _reco_error[9]
Uncertainty on the reco eff correction.
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
Uncertainty on the rate correction.
Float_t _reco_corr[9]
Mean of the reco eff correction.