Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:38:57

0001 
0002 /*----------------------------------------------------------------------
0003 
0004 Toy EDAnalyzer for testing purposes only.
0005 
0006 ----------------------------------------------------------------------*/
0007 
0008 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0009 #include "FWCore/Framework/interface/Event.h"
0010 
0011 #include "FWCore/Framework/interface/EventSetup.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 
0014 class DTLVStatus;
0015 class DTLVStatusRcd;
0016 class DTLVStatusValidateDBRead : public edm::one::EDAnalyzer<> {
0017 public:
0018   explicit DTLVStatusValidateDBRead(edm::ParameterSet const& p);
0019   explicit DTLVStatusValidateDBRead(int i);
0020   ~DTLVStatusValidateDBRead() override = default;
0021   void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0022   void endJob() override;
0023 
0024 private:
0025   std::string dataFileName;
0026   std::string elogFileName;
0027   edm::ESGetToken<DTLVStatus, DTLVStatusRcd> dtlvstatusToken_;
0028 };