HighLAND
FGDMassSystematics.hxx
1 #ifndef FGDMassSystematics_h
2 #define FGDMassSystematics_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 
13 
14  virtual ~FGDMassSystematics() {
15  if (_scintmass) delete _scintmass; _scintmass = NULL;
16  if (_watermass) delete _watermass; _watermass = NULL;
17  }
18 
19  /// Apply this systematic
21  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box);
22 
23 protected:
24 
25  /// FGD mass correction and error
26  Float_t _scintmass_corr;
27  Float_t _scintmass_err;
28  Float_t _watermass_corr;
29  Float_t _watermass_err;
30 
31  BinnedParams* _scintmass;
32  BinnedParams* _watermass;
33 
34 };
35 
36 #endif
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Float_t _scintmass_corr
FGD mass correction and error.
This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced ...
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 ...