Description: Producer to unpack event meta-data from soft-FED 1022
Definition at line 48 of file OnlineMetaDataRawToDigi.cc.
Definition at line 82 of file OnlineMetaDataRawToDigi.cc.
References online::Data_v1::beamSpot, online::Data_v2::beamSpot, online::Data_v2::ctpps, FEDRawData::data(), dataToken_, online::Data_v1::dcs, online::Data_v2::dcs, FEDRawDataCollection::FEDData(), getBeamSpot(), edm::Event::getByToken(), edm::HandleBase::isValid(), FEDHeader::length, online::Data_v1::luminosity, online::Data_v2::luminosity, FEDNumbering::MINMetaDataSoftFEDID, BeamSpotOnline_cff::onlineBeamSpot, jets_cff::payload, edm::Event::put(), matplotRender::rawdata, FEDRawData::size(), and jets_cff::version.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
99 const uint8_t
version = *(
reinterpret_cast<uint8_t const*
>(
payload));
116 iEvent.
put(std::make_unique<CTPPSRecord>(ctppsRecord));
117 iEvent.
put(std::make_unique<DCSRecord>(dcsRecord));
118 iEvent.
put(std::make_unique<OnlineLuminosityRecord>(onlineLuminosityRecord));
119 iEvent.
put(std::make_unique<reco::BeamSpot>(onlineBeamSpot));
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const Luminosity_v1 luminosity
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Class to contain the online luminosity from soft FED 1022.
Class to contain DCS information from soft FED 1022.
const Luminosity_v1 luminosity
size_t size() const
Lenght of the data buffer in bytes.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const BeamSpot_v1 beamSpot
Class to contain CTPPS information from soft FED 1022.
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
const BeamSpot_v1 beamSpot