38 produces<edm::DetSet<Phase2TrackerCommissioningDigi>>(
"ConditionData");
39 token_ = consumes<FEDRawDataCollection>(
pset.getParameter<
edm::InputTag>(
"ProductLabel"));
47 event.getByToken(token_, buffers);
59 std::map<uint32_t, uint32_t> cond_data =
buffer->conditionData();
63 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"--- Condition data debug ---" << std::endl;
64 std::map<uint32_t, uint32_t>::const_iterator it;
65 for (it = cond_data.begin(); it != cond_data.end(); it++) {
66 LogTrace(
"Phase2TrackerCommissioningDigiProducer")
67 << std::hex <<
"key: " << it->first << std::hex <<
" value: " << it->second <<
" (hex) " <<
std::dec
68 << it->second <<
" (dec) " << std::endl;
70 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"----------------------------" << std::endl;
74 for (it = cond_data.begin(); it != cond_data.end(); it++) {
77 std::unique_ptr<edm::DetSet<Phase2TrackerCommissioningDigi>> cdd(cond_data_digi);
78 event.put(
std::move(cdd),
"ConditionData");