17 produces< edm::DetSet<Phase2TrackerCommissioningDigi> >(
"ConditionData");
29 event.getByToken( token_, buffers );
43 std::map<uint32_t,uint32_t> cond_data = buffer->
conditionData();
47 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"--- Condition data debug ---" << std::endl;
48 std::map<uint32_t,uint32_t>::const_iterator it;
49 for(it = cond_data.begin(); it != cond_data.end(); it++)
51 LogTrace(
"Phase2TrackerCommissioningDigiProducer") << std::hex <<
"key: " << it->first
52 << std::hex <<
" value: " << it->second <<
" (hex) " 53 <<
std::dec << it->second <<
" (dec) " << std::endl;
55 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"----------------------------" << std::endl;
58 for(it = cond_data.begin(); it != cond_data.end(); it++)
62 std::unique_ptr<edm::DetSet<Phase2TrackerCommissioningDigi>> cdd(cond_data_digi);
63 event.put(
std::move(cdd),
"ConditionData");
T getParameter(std::string const &) const
void push_back(const T &t)
std::map< uint32_t, uint32_t > conditionData() const
void produce(edm::Event &event, const edm::EventSetup &es) override
static const uint16_t CMS_FED_ID_MAX
Phase2TrackerCommissioningDigiProducer(const edm::ParameterSet &pset)
constructor
size_t size() const
Lenght of the data buffer in bytes.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
~Phase2TrackerCommissioningDigiProducer() override
default constructor
static const uint16_t FED_ID_MAX
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static const uint16_t FED_ID_MIN