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