File indexing completed on 2024-04-06 12:02:47
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 #include "FWCore/Utilities/interface/ESGetToken.h"
0015
0016 #include "CondTools/DT/interface/DTKeyedConfigCache.h"
0017 #include "CondFormats/DTObjects/interface/DTCCBConfig.h"
0018 #include "CondFormats/DataRecord/interface/DTCCBConfigRcd.h"
0019 #include "CondFormats/DataRecord/interface/DTKeyedConfigListRcd.h"
0020
0021 #include <string>
0022
0023 namespace edmtest {
0024 class DTKeyedConfigDump : public edm::one::EDAnalyzer<> {
0025 public:
0026 explicit DTKeyedConfigDump(edm::ParameterSet const& p);
0027
0028 void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0029
0030 private:
0031 const bool dumpCCBKeys;
0032 const bool dumpAllData;
0033 DTKeyedConfigCache cfgCache;
0034 const edm::ESGetToken<DTCCBConfig, DTCCBConfigRcd> configToken_;
0035 edm::ESGetToken<cond::persistency::KeyList, DTKeyedConfigListRcd> keyListToken_;
0036 };
0037 }