Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 62 of file CTPPSPixelDigiToRaw.cc.
Definition at line 115 of file CTPPSPixelDigiToRaw.cc.
References allDigiCounter_, allWordCounter_, edm::ESWatcher< T >::check(), CTPPSPixelDataFormatter::compare(), debug_, apvshotsanalyzer_cfi::digiCollection, edm::EventID::event(), eventCounter_, CTPPSPixelDAQMapping::fedIds(), fedIds_, l1t_dqm_sourceclient-live_cfg::fedRawData, CTPPSPixelDataFormatter::formatRawData(), edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), LogDebug, taus_updatedMVAIds_cff::mapping, eostools::move(), CTPPSPixelDataFormatter::nDigis(), CTPPSPixelDataFormatter::nWords(), AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), recordWatcher_, CTPPSPixelDAQMapping::ROCMapping, findQualityFiles::size, tCTPPSPixelDigi_, and v_iDdet2fed_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
128 for (
auto const& di : *digiCollection) {
129 digiCounter += (di.data).
size();
130 digis[di.id] = di.data;
138 p.second.iD,
p.second.roc,
p.first.getROC(),
p.first.getFEDId(),
p.first.getChannelIdx()});
144 auto buffers = std::make_unique<FEDRawDataCollection>();
154 CTPPSPixelDataFormatter::RawData::iterator fedbuffer = rawdata.find(*it);
155 if (fedbuffer != rawdata.end())
156 fedRawData = fedbuffer->second;
161 LogDebug(
"CTPPSPixelDigiToRaw") <<
"Words/Digis this iEvent: " << digiCounter <<
"(fm:" << formatter.nDigis()
EventNumber_t event() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::set< unsigned int > fedIds() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
unsigned long eventCounter_
edm::ESWatcher< CTPPSPixelDAQMappingRcd > recordWatcher_
std::vector< CTPPSPixelDataFormatter::PPSPixelIndex > v_iDdet2fed_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tCTPPSPixelDigi_
std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > ROCMapping
bool check(const edm::EventSetup &iSetup)
std::set< unsigned int > fedIds_