HighLAND
ECalEmHipPIDSystematics.hxx
1 #ifndef ECalEmHipPIDSystematics_h
2 #define ECalEmHipPIDSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
8 public:
9 
10  ECalEmHipPIDSystematics(bool computecounters=false);
11 
12 
13  virtual ~ECalEmHipPIDSystematics() {}
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 protected:
24 
25  /// Is this track relevant for this systematic ?
26  bool IsRelevantRecObject(const AnaEventC& event, const AnaRecObjectC& recObj) const;
27 
28  /// Get the TrackGroup IDs array for this systematic
29  Int_t GetRelevantRecObjectGroups(const SelectionBase& sel, Int_t ibranch, Int_t* IDs) const;
30 
31  bool _computecounters;
32 };
33 
34 #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 TrackGroup IDs array for this systematic.
Weight_h ComputeWeight(const ToyExperiment &, const AnaEventC &, const ToyBoxB &)
Apply the systematic.