Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 59 of file CTPPSTotemDigiToRaw.cc.
Definition at line 110 of file CTPPSTotemDigiToRaw.cc.
References allDigiCounter_, allWordCounter_, edm::ESWatcher< T >::check(), CTPPSTotemDataFormatter::compare(), debug_, apvshotsanalyzer_cfi::digiCollection, edm::EventID::event(), eventCounter_, fedIds_, l1t_dqm_sourceclient-live_cfg::fedRawData, CTPPSTotemDataFormatter::formatRawData(), edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), LogDebug, taus_updatedMVAIds_cff::mapping, eostools::move(), CTPPSTotemDataFormatter::nDigis(), CTPPSTotemDataFormatter::nWords(), AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), recordWatcher_, findQualityFiles::size, tTotemRPDigi_, v_iDdet2fed_, and TotemDAQMapping::VFATMapping.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
122 for (
auto const& di : *digiCollection) {
123 digiCounter += (di.data).
size();
124 digis[di.detId()] = di.data;
133 fedIds_.emplace(
p.first.getFEDId());
137 p.first.getIdxInFiber(),
146 auto buffers = std::make_unique<FEDRawDataCollection>();
156 CTPPSTotemDataFormatter::RawData::iterator fedbuffer = rawdata.find(it);
157 if (fedbuffer != rawdata.end())
158 fedRawData = fedbuffer->second;
163 LogDebug(
"CTPPSTotemDigiToRaw") <<
"Words/Digis this iEvent: " << digiCounter <<
"(fm:" << formatter.nDigis()
EventNumber_t event() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EventSetup record for TOTEM readout-related information.
std::set< unsigned int > fedIds_
std::vector< CTPPSTotemDataFormatter::PPSStripIndex > v_iDdet2fed_
unsigned long eventCounter_
std::map< TotemFramePosition, TotemVFATInfo > VFATMapping
bool check(const edm::EventSetup &iSetup)
edm::ESWatcher< TotemReadoutRcd > recordWatcher_
edm::EDGetTokenT< edm::DetSetVector< TotemRPDigi > > tTotemRPDigi_