Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-27 04:04:15

0001 #ifndef CalibTracker_SiStripESProducer_SiStripFedCablingManipulator_h
0002 #define CalibTracker_SiStripESProducer_SiStripFedCablingManipulator_h
0003 
0004 // user include files
0005 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0008 #include "FWCore/ServiceRegistry/interface/Service.h"
0009 #include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
0010 
0011 #include "CondFormats/SiStripObjects/interface/SiStripFedCabling.h"
0012 #include "CondFormats/DataRecord/interface/SiStripFedCablingRcd.h"
0013 
0014 #include "FWCore/Utilities/interface/Exception.h"
0015 
0016 #include <string>
0017 
0018 class SiStripFedCablingManipulator : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
0019 public:
0020   explicit SiStripFedCablingManipulator(const edm::ParameterSet& iConfig);
0021   ~SiStripFedCablingManipulator() override;
0022   void analyze(const edm::Event& e, const edm::EventSetup& es) override{};
0023   void beginRun(const edm::Run& run, const edm::EventSetup& es) override{};
0024   void endRun(const edm::Run& run, const edm::EventSetup& es) override;
0025 
0026 private:
0027   std::unique_ptr<SiStripFedCabling> manipulate(const SiStripFedCabling&);
0028 
0029   edm::ParameterSet iConfig_;
0030   edm::ESGetToken<SiStripFedCabling, SiStripFedCablingRcd> fedCablingToken_;
0031 };
0032 
0033 #endif