HighLAND
CT4POTCorrection.hxx
1 #ifndef CT4POTCorrection_h
2 #define CT4POTCorrection_h
3 
4 #include "CorrectionBase.hxx"
5 #include <vector>
6 #include <utility>
7 
8 /// This correction ensures that the CT4 POT is used for POT accounting when
9 /// looking at MR44 data (when CT5 wasn't performing correctly).
11  public:
12 
14 
15  virtual ~CT4POTCorrection() {}
16 
17  /// Apply the correction to the spill.
18  void Apply(AnaSpillC& spill);
19 
20  private:
21 
22  /// The lower limit of MR runs to apply the correction to.
23  int MRrunLower;
24 
25  /// The upper limit of MR runs to apply the correction to.
26  int MRrunUpper;
27 };
28 
29 #endif
All corrections should be registered with the CorrectionManager.
void Apply(AnaSpillC &spill)
Apply the correction to the spill.