Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:48

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 DTRangeT0;
0015 class DTRangeT0Rcd;
0016 
0017 class DTRangeT0ValidateDBRead : public edm::one::EDAnalyzer<> {
0018 public:
0019   explicit DTRangeT0ValidateDBRead(edm::ParameterSet const& p);
0020   explicit DTRangeT0ValidateDBRead(int i);
0021   ~DTRangeT0ValidateDBRead() override = default;
0022   void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0023   void endJob() override;
0024 
0025 private:
0026   std::string dataFileName;
0027   std::string elogFileName;
0028   edm::ESGetToken<DTRangeT0, DTRangeT0Rcd> dtrangeToken_;
0029 };