File indexing completed on 2023-03-17 10:47:52
0001
0002
0003
0004
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 DTMtime;
0015 class DTMtimeRcd;
0016 class DTRecoConditions;
0017 class DTRecoConditionsVdriftRcd;
0018 class DTMtimeValidateDBRead : public edm::one::EDAnalyzer<> {
0019 public:
0020 explicit DTMtimeValidateDBRead(edm::ParameterSet const& p);
0021 explicit DTMtimeValidateDBRead(int i);
0022 ~DTMtimeValidateDBRead() override = default;
0023 void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0024 void endJob() override;
0025
0026 private:
0027 std::string dataFileName;
0028 std::string elogFileName;
0029 bool readLegacyVDriftDB;
0030 edm::ESGetToken<DTMtime, DTMtimeRcd> dtmtTimeToken_;
0031 edm::ESGetToken<DTRecoConditions, DTRecoConditionsVdriftRcd> dtrecoCondToken_;
0032 };