Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-19 10:28:04

0001 #ifndef CalibMuon_DTTTrigMatchRPhi_H
0002 #define CalibMuon_DTTTrigMatchRPhi_H
0003 
0004 /** \class DTTTrigMatchRPhi
0005  *  Concrete implementation of a DTTTrigBaseCorrection.
0006  *  Matches tTrig values for RPhi SL's
0007  *
0008  *  \author A. Vilela Pereira
0009  */
0010 
0011 #include "CalibMuon/DTCalibration/interface/DTTTrigBaseCorrection.h"
0012 #include "CondFormats/DataRecord/interface/DTTtrigRcd.h"
0013 #include "FWCore/Framework/interface/ConsumesCollector.h"
0014 
0015 #include <string>
0016 
0017 namespace edm {
0018   class ParameterSet;
0019 }
0020 
0021 class DTTtrig;
0022 
0023 namespace dtCalibration {
0024 
0025   class DTTTrigMatchRPhi : public DTTTrigBaseCorrection {
0026   public:
0027     // Constructor
0028     DTTTrigMatchRPhi(const edm::ParameterSet&, edm::ConsumesCollector);
0029 
0030     // Destructor
0031     ~DTTTrigMatchRPhi() override;
0032 
0033     void setES(const edm::EventSetup& setup) override;
0034     DTTTrigData correction(const DTSuperLayerId&) override;
0035 
0036   private:
0037     const DTTtrig* tTrigMap_;
0038     edm::ESGetToken<DTTtrig, DTTtrigRcd> ttrigToken_;
0039   };
0040 
0041 }  // namespace dtCalibration
0042 #endif