File indexing completed on 2024-04-06 11:58:27
0001 #ifndef CalibMuon_DTTTrigConstantShift_H
0002 #define CalibMuon_DTTTrigConstantShift_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "CalibMuon/DTCalibration/interface/DTTTrigBaseCorrection.h"
0013 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
0014 #include "CondFormats/DataRecord/interface/DTTtrigRcd.h"
0015 #include "FWCore/Framework/interface/ConsumesCollector.h"
0016
0017 #include <string>
0018
0019 namespace edm {
0020 class ParameterSet;
0021 }
0022
0023 class DTTtrig;
0024
0025 namespace dtCalibration {
0026
0027 class DTTTrigConstantShift : public DTTTrigBaseCorrection {
0028 public:
0029
0030 DTTTrigConstantShift(const edm::ParameterSet&, edm::ConsumesCollector);
0031
0032
0033 ~DTTTrigConstantShift() override;
0034
0035 void setES(const edm::EventSetup& setup) override;
0036 DTTTrigData correction(const DTSuperLayerId&) override;
0037
0038 private:
0039 std::string calibChamber_;
0040 double value_;
0041
0042 const DTTtrig* tTrigMap_;
0043 DTChamberId chosenChamberId_;
0044 edm::ESGetToken<DTTtrig, DTTtrigRcd> ttrigToken_;
0045 };
0046
0047 }
0048 #endif