HighLAND
ECalEMEnergySystematicsBase.hxx
1 #ifndef ECalEMEnergySystematicsBase_h
2 #define ECalEMEnergySystematicsBase_h
3 
4 #include "EventVariationBase.hxx"
5 #include "BinnedParams.hxx"
6 
7 /// This systematic smears the ECal EM energy by a
8 /// random amount from a Gaussian distribution.
9 
11 public:
12 
13  ECalEMEnergySystematicsBase(UInt_t npar, const std::string& name, BinnedParams::TypeEnum type);
14 
15  virtual ~ECalEMEnergySystematicsBase(){}
16 
17  /// Undo the systematic variations done by ApplyVariation. This is faster tha reseting the full Spill
18  virtual bool UndoSystematic(AnaEventC& event);
19 
20 protected:
21 
22  /// Check whether a RecObject is relevant for this systematic or not
23  virtual bool IsRelevantRecObject(const AnaEventC&, const AnaRecObjectC&) const;
24 
25  /// Get the TrackGroup IDs array for this systematic
26  Int_t GetRelevantRecObjectGroups(const SelectionBase& sel, Int_t* IDs) const;
27 
28 private:
30 
31 
32 };
33 
34 #endif
virtual bool UndoSystematic(AnaEventC &event)
Undo the systematic variations done by ApplyVariation. This is faster tha reseting the full Spill...
Int_t GetRelevantRecObjectGroups(const SelectionBase &sel, Int_t *IDs) const
Get the TrackGroup IDs array for this systematic.
TypeEnum
Enumerator describing the values that _type member can take.
virtual bool IsRelevantRecObject(const AnaEventC &, const AnaRecObjectC &) const
Check whether a RecObject is relevant for this systematic or not.