File indexing completed on 2024-04-06 11:58:23
0001 #ifndef CSC_DBCHIPSPEEDCORRECTION_SRC_IMPL_H
0002 #define CSC_DBCHIPSPEEDCORRECTION_SRC_IMPL_H
0003
0004 #include <iostream>
0005 #include <string>
0006 #include <typeinfo>
0007 #include <vector>
0008
0009 #include "CalibMuon/CSCCalibration/interface/CSCChipSpeedCorrectionDBConditions.h"
0010 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0011 #include "CondFormats/CSCObjects/interface/CSCobject.h"
0012 #include "CondFormats/DataRecord/interface/CSCDBChipSpeedCorrectionRcd.h"
0013 #include "DataFormats/Common/interface/Handle.h"
0014 #include "FWCore/Framework/interface/ESHandle.h"
0015 #include "FWCore/Framework/interface/Event.h"
0016 #include "FWCore/Framework/interface/EventSetup.h"
0017
0018 namespace popcon {
0019 class CSCDBChipSpeedCorrectionImpl : public popcon::PopConSourceHandler<CSCDBChipSpeedCorrection> {
0020 public:
0021 void getNewObjects();
0022 std::string id() const { return m_name; }
0023 ~CSCDBChipSpeedCorrectionImpl();
0024 CSCDBChipSpeedCorrectionImpl(const edm::ParameterSet &pset);
0025
0026 private:
0027 std::string m_name;
0028 bool isForMC;
0029 std::string dataCorrFileName;
0030 float dataOffset;
0031 };
0032 }
0033 #endif