31 isO2Opayload =
pset.getUntrackedParameter<
bool>(
"isO2Opayload",
false);
32 writeToDB =
pset.getUntrackedParameter<
bool>(
"writeToDB",
false);
33 esToken = esConsumes<L1TMuonOverlapFwVersion, L1TMuonOverlapFwVersionRcd>();
34 esToken_O2O = esConsumes<L1TMuonOverlapFwVersion, L1TMuonOverlapFwVersionO2ORcd>();
47 <<
"*** Contents of L1TMuonOverlapFwVersion: algoVersion() = " <<
data.algoVersion()
48 <<
", layersVersion() = " <<
data.layersVersion() <<
", patternsVersion() = " <<
data.patternsVersion()
49 <<
", synthDate() = " <<
data.synthDate();
54 edm::LogInfo(
"L1TMuonOverlapFwVersionTester") <<
"*** Writing payload to DB";
57 data, firstSinceTime, (isO2Opayload ?
"L1TMuonOverlapFwVersionO2ORcd" :
"L1TMuonOverlapFwVersionRcd"));
L1TMuonOverlapFwVersionTester(const edm::ParameterSet &pset)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
cond::Time_t beginOfTime() const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< L1TMuonOverlapFwVersion, L1TMuonOverlapFwVersionRcd > esToken
unsigned long long Time_t
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
Log< level::Info, false > LogInfo
char data[epos_bytes_allocation]
writeToDB
inputs/ouputs control ####
edm::ESGetToken< L1TMuonOverlapFwVersion, L1TMuonOverlapFwVersionO2ORcd > esToken_O2O