HighLAND
tutorialWeightSystematics.hxx
1 #ifndef tutorialWeightSystematics_h
2 #define tutorialWeightSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
7 /// This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced in the MC
8 
10 public:
11 
12  /// Default constructor
14 
15  virtual ~tutorialWeightSystematics() {}
16 
17  /// Apply this systematic
19  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box);
20 
21 protected:
22 
23  /// FGD mass correction and error
24  Float_t _scintmass_corr;
25  Float_t _scintmass_err;
26  Float_t _watermass_corr;
27  Float_t _watermass_err;
28 
29  BinnedParams *_scintmass;
30  BinnedParams *_watermass;
31 
32 };
33 
34 #endif
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
tutorialWeightSystematics()
Default constructor.
Float_t _scintmass_corr
FGD mass correction and error.
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 ...
This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced ...