HighLAND
FGD2ShowerSystematics.hxx
1 #ifndef FGD2ShowerSystematics_h
2 #define FGD2ShowerSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
8 public:
9 
10  FGD2ShowerSystematics(bool computecounters = false);
11 
12 
13  virtual ~FGD2ShowerSystematics() {}
14 
15  /// Apply the systematic
16  Weight_h ComputeWeight(const ToyExperiment&, const AnaEventC&, const ToyBoxB&){return 1;}
17 
18  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box, const SelectionBase& sel);
19 
20 protected:
21 
22  /// Is this track relevant for this systematic ?
23  bool IsRelevantRecObject(const AnaEventC& event, const AnaRecObjectC& recObj) const;
24 
25  /// Get the TrackGroup IDs array for this systematic
26  Int_t GetRelevantRecObjectGroups(const SelectionBase& sel, Int_t ibranch, Int_t* IDs) const;
27 
28  bool _computecounters;
29 };
30 
31 #endif
bool IsRelevantRecObject(const AnaEventC &event, const AnaRecObjectC &recObj) const
Is this track relevant for this systematic ?
Weight_h ComputeWeight(const ToyExperiment &, const AnaEventC &, const ToyBoxB &)
Apply the systematic.
Int_t GetRelevantRecObjectGroups(const SelectionBase &sel, Int_t ibranch, Int_t *IDs) const
Get the TrackGroup IDs array for this systematic.