HighLAND
ToFResolSystematics.hxx
1 #ifndef tofSystematics_h
2 #define tofSystematics_h
3 
4 #include "EventVariationBase.hxx"
5 #include "BinnedParams.hxx"
6 #include "ToFSenseCorrector.hxx"
7 
9 public:
10 
12 
13  virtual ~ToFResolSystematics() {}
14 
15  /// Apply the systematic
16  virtual void Apply(const ToyExperiment& toy, AnaEventC& event);
17 
18  /// Undo the systematic variations done by ApplyVariation. This is faster tha reseting the full Spill
19  virtual bool UndoSystematic(AnaEventC& event);
20 
21 
22 protected:
23 
24  /// Get the TrackGroup IDs array for this systematic
25  Int_t GetRelevantRecObjectGroups(const SelectionBase& sel, Int_t* IDs) const;
26 
27  /// Only sigma values since mean is supposed to be already "fixed" by a dedicated (highland2) correction
28  Float_t _sigma_FGD1FGD2;
29  Float_t _sigma_FGD1P0D_Track;
30  Float_t _sigma_FGD1ECAL_LAStartFgd_Track;
31  Float_t _sigma_FGD1ECAL_LAStartFgd_Shower;
32  Float_t _sigma_FGD1ECAL_LAEndFgd_Track;
33  Float_t _sigma_FGD1ECAL_LAEndFgd_Shower;
34  Float_t _sigma_FGD1ECAL_HAStartFgd_Track;
35  Float_t _sigma_FGD1ECAL_HAStartFgd_Shower;
36  Float_t _sigma_FGD1ECAL_HAEndFgd_Track;
37  Float_t _sigma_FGD1ECAL_HAEndFgd_Shower;
38 
39 
40  /// ToF sense corrector
42 
43  /// Tmp (Sept 2016), a parameter whether to reverse and object based on ToF
45 
46 };
47 
48 #endif
bool _apply_ToF_based_Flip
Tmp (Sept 2016), a parameter whether to reverse and object based on ToF.
Int_t GetRelevantRecObjectGroups(const SelectionBase &sel, Int_t *IDs) const
Get the TrackGroup IDs array for this systematic.
Float_t _sigma_FGD1FGD2
Only sigma values since mean is supposed to be already "fixed" by a dedicated (highland2) correction...
ToFSenseCorrector _tofCorrector
ToF sense corrector.
virtual void Apply(const ToyExperiment &toy, AnaEventC &event)
Apply the systematic.
virtual bool UndoSystematic(AnaEventC &event)
Undo the systematic variations done by ApplyVariation. This is faster tha reseting the full Spill...