Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-16 03:23:16

0001 /*     <Notes on implementation>
0002  */
0003 //
0004 // Original Author:  Stephanie BEAUCERON
0005 //         Created:  Tue May 15 16:23:21 CEST 2007
0006 //
0007 //
0008 
0009 // system include files
0010 #include <memory>
0011 
0012 // user include files
0013 #include "FWCore/Framework/interface/Frameworkfwd.h"
0014 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0015 
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/MakerMacros.h"
0018 
0019 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0020 
0021 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstantsMC.h"
0022 #include "CondFormats/DataRecord/interface/EcalIntercalibConstantsMCRcd.h"
0023 //
0024 // class decleration
0025 //
0026 
0027 class WriteEcalMiscalibConstantsMC : public edm::one::EDAnalyzer<> {
0028 public:
0029   explicit WriteEcalMiscalibConstantsMC(const edm::ParameterSet&);
0030   ~WriteEcalMiscalibConstantsMC() override;
0031 
0032 private:
0033   void beginJob() override;
0034   void analyze(const edm::Event&, const edm::EventSetup&) override;
0035   void endJob() override;
0036 
0037   // ----------member data ---------------------------
0038   std::string newTagRequest_;
0039 
0040   const edm::ESGetToken<EcalIntercalibConstantsMC, EcalIntercalibConstantsMCRcd> intercalibConstsToken_;
0041 };