Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 DTT0;
0015 class DTT0Rcd;
0016 class DTT0ValidateDBRead : public edm::one::EDAnalyzer<> {
0017 public:
0018   explicit DTT0ValidateDBRead(edm::ParameterSet const& p);
0019   explicit DTT0ValidateDBRead(int i);
0020   ~DTT0ValidateDBRead() 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<DTT0, DTT0Rcd> dtT0Token_;
0028 };