17 produces<edm::DetSet<Phase2TrackerCommissioningDigi>>(
"ConditionData");
18 token_ = consumes<FEDRawDataCollection>(
pset.getParameter<
edm::InputTag>(
"ProductLabel"));
26 event.getByToken(token_, buffers);
38 std::map<uint32_t, uint32_t> cond_data =
buffer->conditionData();
42 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"--- Condition data debug ---" << std::endl;
43 std::map<uint32_t, uint32_t>::const_iterator it;
44 for (it = cond_data.begin(); it != cond_data.end(); it++) {
45 LogTrace(
"Phase2TrackerCommissioningDigiProducer")
46 << std::hex <<
"key: " << it->first << std::hex <<
" value: " << it->second <<
" (hex) " <<
std::dec
47 << it->second <<
" (dec) " << std::endl;
49 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"----------------------------" << std::endl;
53 for (it = cond_data.begin(); it != cond_data.end(); it++) {
56 std::unique_ptr<edm::DetSet<Phase2TrackerCommissioningDigi>> cdd(cond_data_digi);
57 event.put(
std::move(cdd),
"ConditionData");