Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:45

0001 #ifndef CSC_CHAMBERTIMECORRECTIONS_SRC_IMPL_H
0002 #define CSC_CHAMBERTIMECORRECTIONS_SRC_IMPL_H
0003 
0004 #include <vector>
0005 #include <string>
0006 #include <iostream>
0007 #include <typeinfo>
0008 
0009 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0010 #include "CondFormats/CSCObjects/interface/CSCobject.h"
0011 #include "CondFormats/DataRecord/interface/CSCChamberTimeCorrectionsRcd.h"
0012 #include "FWCore/Framework/interface/ESHandle.h"
0013 #include "FWCore/Framework/interface/Event.h"
0014 #include "DataFormats/Common/interface/Handle.h"
0015 #include "FWCore/Framework/interface/EventSetup.h"
0016 #include "OnlineDB/CSCCondDB/interface/CSCChamberTimeCorrectionsValues.h"
0017 #include "OnlineDB/CSCCondDB/interface/CSCMap1.h"
0018 
0019 namespace popcon {
0020   class CSCChamberTimeCorrectionsImpl : public popcon::PopConSourceHandler<CSCChamberTimeCorrections> {
0021   public:
0022     void getNewObjects();
0023     std::string id() const { return m_name; }
0024     ~CSCChamberTimeCorrectionsImpl();
0025     CSCChamberTimeCorrectionsImpl(const edm::ParameterSet& pset);
0026 
0027   private:
0028     std::string m_name;
0029     bool isForMC;
0030     float ME11offsetMC;
0031     float ME11offsetData;
0032     float nonME11offsetMC;
0033     float nonME11offsetData;
0034   };
0035 }  // namespace popcon
0036 #endif