File indexing completed on 2024-04-06 12:02:07
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 "CondFormats/DTObjects/interface/DTCCBConfig.h"
0015 #include "CondFormats/DataRecord/interface/DTCCBConfigRcd.h"
0016
0017
0018
0019
0020
0021 #include <string>
0022
0023 namespace edmtest {
0024 class DTConfigPrint : public edm::one::EDAnalyzer<> {
0025 public:
0026 explicit DTConfigPrint(edm::ParameterSet const& p);
0027 explicit DTConfigPrint(int i);
0028 ~DTConfigPrint() override = default;
0029 void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0030
0031 private:
0032 std::string connect;
0033 std::string auth_path;
0034 std::string catalog;
0035 std::string token;
0036 bool local;
0037 edm::ESGetToken<DTCCBConfig, DTCCBConfigRcd> es_token;
0038
0039
0040
0041 };
0042 }