CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CalibMuon/DTCalibration/plugins/DTT0FillChamberFromDB.h

Go to the documentation of this file.
00001 #ifndef CalibMuon_DTT0FillChamberFromDB_H
00002 #define CalibMuon_DTT0FillChamberFromDB_H
00003 
00012 #include "CalibMuon/DTCalibration/interface/DTT0BaseCorrection.h"
00013 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
00014 
00015 #include <string>
00016 
00017 namespace edm {
00018   class ParameterSet;
00019 }
00020 
00021 class DTT0;
00022 
00023 namespace dtCalibration {
00024 
00025 class DTT0FillChamberFromDB: public DTT0BaseCorrection {
00026 public:
00027   // Constructor
00028   DTT0FillChamberFromDB(const edm::ParameterSet&);
00029 
00030   // Destructor
00031   virtual ~DTT0FillChamberFromDB();
00032 
00033   virtual void setES(const edm::EventSetup& setup);
00034   virtual DTT0Data correction(const DTWireId&);
00035 
00036 private:
00037   std::string dbLabelRef_;
00038   std::string chamberRef_;
00039 
00040   DTChamberId chosenChamberId_;
00041 
00042   const DTT0 *t0MapRef_;
00043   const DTT0 *t0Map_;
00044 };
00045 
00046 } // namespace
00047 #endif