File indexing completed on 2024-04-06 11:58:27
0001 #ifndef CalibMuon_DTT0FEBPathCorrection_H
0002 #define CalibMuon_DTT0FEBPathCorrection_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "CalibMuon/DTCalibration/interface/DTT0BaseCorrection.h"
0013 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
0014 #include "FWCore/Utilities/interface/ESGetToken.h"
0015 #include "CondFormats/DataRecord/interface/DTT0Rcd.h"
0016 #include "CondFormats/DTObjects/interface/DTT0.h"
0017 #include "FWCore/Framework/interface/ConsumesCollector.h"
0018
0019 #include <string>
0020
0021 namespace edm {
0022 class ParameterSet;
0023 }
0024
0025 class DTT0;
0026
0027 namespace dtCalibration {
0028
0029 class DTT0FEBPathCorrection : public DTT0BaseCorrection {
0030 public:
0031
0032 DTT0FEBPathCorrection(const edm::ParameterSet&, edm::ConsumesCollector);
0033
0034
0035 ~DTT0FEBPathCorrection() override;
0036
0037 void setES(const edm::EventSetup& setup) override;
0038 DTT0Data correction(const DTWireId&) override;
0039
0040 float t0FEBPathCorrection(int wheel, int st, int sec, int sl, int l, int w);
0041
0042 private:
0043 DTT0Data defaultT0(const DTWireId&);
0044
0045 std::string calibChamber_;
0046
0047 DTChamberId chosenChamberId_;
0048 const DTT0* t0Map_;
0049 edm::ESGetToken<DTT0, DTT0Rcd> t0Token_;
0050 };
0051
0052 }
0053 #endif