#include <FEDRawData.h>
Public Types | |
typedef std::vector< unsigned char > | Data |
typedef Data::iterator | iterator |
Public Member Functions | |
const unsigned char * | data () const |
Return a const pointer to the beginning of the data buffer. More... | |
unsigned char * | data () |
Return a pointer to the beginning of the data buffer. More... | |
FEDRawData () | |
Default ctor. More... | |
FEDRawData (size_t newsize) | |
FEDRawData (const FEDRawData &) | |
Copy constructor. More... | |
void | resize (size_t newsize) |
size_t | size () const |
Lenght of the data buffer in bytes. More... | |
~FEDRawData () | |
Dtor. More... | |
Private Attributes | |
Data | data_ |
Class representing the raw data for one FED. The raw data is owned as a binary buffer. It is required that the lenght of the data is a multiple of the S-Link64 word lenght (8 byte). The FED data should include the standard FED header and trailer.
Definition at line 20 of file FEDRawData.h.
typedef std::vector<unsigned char> FEDRawData::Data |
Definition at line 23 of file FEDRawData.h.
typedef Data::iterator FEDRawData::iterator |
Definition at line 24 of file FEDRawData.h.
FEDRawData::FEDRawData | ( | ) |
FEDRawData::FEDRawData | ( | size_t | newsize | ) |
Ctor specifying the size to be preallocated, in bytes. It is required that the size is a multiple of the size of a FED word (8 bytes)
Definition at line 18 of file FEDRawData.cc.
References Exception.
FEDRawData::FEDRawData | ( | const FEDRawData & | in | ) |
Copy constructor.
Definition at line 22 of file FEDRawData.cc.
FEDRawData::~FEDRawData | ( | ) |
const unsigned char * FEDRawData::data | ( | ) | const |
Return a const pointer to the beginning of the data buffer.
Definition at line 28 of file FEDRawData.cc.
References data_.
Referenced by hcaldqm::DQTask::_getCalibType(), RawTask::_process(), PlaybackRawDataProvider::analyze(), ESRawDataTask::analyze(), ESFEDIntegrityTask::analyze(), HcalTBWriter::analyze(), SiStripFEDDumpPlugin::analyze(), RawToText::analyze(), L1TMP7ZeroSupp::analyze(), DQMHcalPhiSymAlCaReco::analyze(), EcalDumpRaw::analyze(), EcalHexDisplay::analyze(), BxTiming::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), L1TFED::analyze(), SiPixelRawDataErrorSource::analyze(), SiStripFEDCheckPlugin::analyze(), L1TStage2CaloLayer1::analyze(), SiStripCMMonitorPlugin::analyze(), SiStripAnalyser::checkTrackerFEDs(), BlockFormatter::CleanUp(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::SpyUnpacker::createDigis(), DTDigiToRaw::createFedBuffers(), CSCDigiToRaw::createFedBuffers(), sistrip::DigiToRaw::createFedBuffers_(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), BlockFormatter::DigiToRaw(), CSCOfflineMonitor::doBXMonitor(), CSCValidation::doTimeMonitoring(), sistrip::RawToDigiUnpacker::dumpRawData(), TowerBlockFormatter::EndEvent(), FedRawDataInputSource::fillFEDRawDataCollection(), DaqFakeReader::fillFEDs(), DaqFakeReader::fillGTPFED(), DTNewROS8FileReader::fillRawData(), DTROS8FileReader::fillRawData(), DTDDUFileReader::fillRawData(), DTROS25FileReader::fillRawData(), DTSpyReader::fillRawData(), DTTFFEDSim::fillRawData(), LaserAlignmentEventFilter::filter(), HLTDTROMonitorFilter::filter(), HLTL1NumberFilter::filter(), HLTHcalCalibTypeFilter::filter(), HcalEmptyEventFilter::filter(), HcalCalibTypeFilter::filter(), TMTFilter::filter(), sistrip::SpyEventMatcherModule::findL1IDandAPVAddress(), HCalFED::formatFEDdata(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), PixelDataFormatter::formatRawData(), sistrip::FEDBufferGenerator::generateBuffer(), MatacqProducer::getCalibTriggerType(), LaserSorter::getDetailedTriggerType(), LaserSorter::getOrbitFromDcc(), MatacqProducer::getOrbitId(), HLTHcalNZSFilter::hltFilter(), EcalFEDErrorFilter::hltFilter(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), ESUnpacker::interpretRawData(), CamacTBDataFormatter::interpretRawData(), CTPPSPixelDataFormatter::interpretRawData(), PixelDataFormatter::interpretRawData(), LaserSorter::isDccEventEmpty(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), sistrip::SpyEventMatcher::mergeMatchingData(), CastorCtdcPacker::pack(), CastorPacker::pack(), HcalPacker::pack(), cscdqm::EventProcessor::preProcessEvent(), BlockFormatter::print(), GctDigiToRaw::print(), DTuROSRawToDigi::process(), DTuROSDigiToRaw::process(), DTTFFEDReader::process(), L1TTwinMuxRawToDigi::processFed(), DTDigiToRawModule::produce(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), DTUnpackingModule::produce(), HcalTBSource::produce(), CSCDCCUnpacker::produce(), SiPixelFedFillerWordEventNumber::produce(), RPCTwinMuxDigiToRaw::produce(), TotemTriggerRawToDigi::produce(), Phase2Tracker::Phase2TrackerDigiProducer::produce(), RPCAMCRawToDigi::produce(), RPCUnpackingModule::produce(), GEMDigiToRawModule::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), GEMRawToDigiModule::produce(), sistrip::SpyEventSummaryProducer::produce(), RPCTwinMuxRawToDigi::produce(), CSCTFUnpacker::produce(), ECALRegFEDSelector::produce(), TextToRaw::produce(), LTCRawToDigi::produce(), GctDigiToRaw::produce(), AlCaHcalNoiseProducer::produce(), TcdsRawToDigi::produce(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), EcalFEDWithCRCErrorProducer::produce(), EcalRawToDigi::produce(), l1t::L1TRawToDigi::produce(), GctRawToDigi::produce(), omtf::OmtfPacker::produce(), OnlineMetaDataRawToDigi::produce(), L1GlobalTriggerEvmRawToDigi::produce(), l1t::L1TDigiToRaw::produce(), omtf::OmtfUnpacker::produce(), L1GtTextToRaw::produce(), L1GTEvmDigiToRaw::produce(), l1t::AMC13DumpToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerRawToDigi::produce(), L1TCaloLayer1RawToDigi::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), RPCPackingModule::rawData(), LmfSource::readEventWithinFile(), ctpps::RawDataUnpacker::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), RawDataFEDSelector::select(), sistrip::RawToDigiUnpacker::triggerFed(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBQADCUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), ZdcUnpacker::unpack(), HcalUnpacker::unpack(), RctRawToDigi::unpack(), GctRawToDigi::unpack(), hcaltb::HcalTBTDCUnpacker::unpackHits(), hcaltb::HcalTBSlowDataUnpacker::unpackMaps(), HcalUnpacker::unpackUMNio(), HcalUnpacker::unpackUTCA(), HcalUnpacker::unpackVME(), RawEventOutputModuleForBU< Consumer >::write(), LaserSorter::writeEvent(), and LaserSorter::writeFedBlock().
unsigned char * FEDRawData::data | ( | ) |
Return a pointer to the beginning of the data buffer.
Definition at line 30 of file FEDRawData.cc.
References data_.
void FEDRawData::resize | ( | size_t | newsize | ) |
Resize to the specified size in bytes. It is required that the size is a multiple of the size of a FED word (8 bytes)
Definition at line 32 of file FEDRawData.cc.
References data_, Exception, and size().
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), PlaybackRawDataProvider::analyze(), BlockFormatter::CleanUp(), CSCDigiToRaw::createFedBuffers(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), BlockFormatter::DigiToRaw(), FedRawDataInputSource::fillFEDRawDataCollection(), DaqFakeReader::fillFEDs(), DaqFakeReader::fillGTPFED(), DTNewROS8FileReader::fillRawData(), DTROS8FileReader::fillRawData(), DTDDUFileReader::fillRawData(), DTROS25FileReader::fillRawData(), DTSpyReader::fillRawData(), DTTFFEDSim::fillRawData(), HCalFED::formatFEDdata(), l1t::AMCDumpToRaw::formatRaw(), l1t::MP7BufferDumpToRaw::formatRaw(), sistrip::FEDBufferGenerator::generateBuffer(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), CastorPacker::pack(), CastorCtdcPacker::pack(), HcalPacker::pack(), DTuROSDigiToRaw::process(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), HcalTBSource::produce(), RPCTwinMuxDigiToRaw::produce(), GEMDigiToRawModule::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), TextToRaw::produce(), GctDigiToRaw::produce(), AlCaHcalNoiseProducer::produce(), EcalFEDWithCRCErrorProducer::produce(), omtf::OmtfPacker::produce(), l1t::L1TDigiToRaw::produce(), L1GtTextToRaw::produce(), L1GTEvmDigiToRaw::produce(), l1t::AMC13DumpToRaw::produce(), L1GTDigiToRaw::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), LmfSource::readEventWithinFile(), RawDataFEDSelector::select(), LmfSource::setRunAndEventInfo(), size(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
Lenght of the data buffer in bytes.
Definition at line 47 of file FEDRawData.h.
References data_, and resize().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), hcaldqm::DQTask::_getCalibType(), RawTask::_process(), MatacqProducer::addMatacqData(), PlaybackRawDataProvider::analyze(), ESRawDataTask::analyze(), ESFEDIntegrityTask::analyze(), HcalTBWriter::analyze(), myRawAna::analyze(), SiStripFEDDumpPlugin::analyze(), RawToText::analyze(), L1TMP7ZeroSupp::analyze(), DQMHcalPhiSymAlCaReco::analyze(), L1TdeStage2CaloLayer1::analyze(), EcalDumpRaw::analyze(), EcalHexDisplay::analyze(), BxTiming::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), L1TFED::analyze(), SiPixelHLTSource::analyze(), SiPixelRawDataErrorSource::analyze(), SiStripFEDCheckPlugin::analyze(), SiStripFEDMonitorPlugin::analyze(), L1TStage2CaloLayer1::analyze(), SiStripCMMonitorPlugin::analyze(), EcalSelectiveReadoutValidation::analyzeDataVolume(), HcalTBWriter::buildTree(), SiStripAnalyser::checkTrackerFEDs(), BlockFormatter::CleanUp(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::SpyUnpacker::createDigis(), CSCDigiToRaw::createFedBuffers(), sistrip::DigiToRaw::createFedBuffers_(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), BlockFormatter::DigiToRaw(), CSCOfflineMonitor::doBXMonitor(), CSCValidation::doTimeMonitoring(), sistrip::RawToDigiUnpacker::dumpRawData(), TowerBlockFormatter::EndEvent(), LaserAlignmentEventFilter::filter(), HLTDTROMonitorFilter::filter(), HLTL1NumberFilter::filter(), HLTHcalCalibTypeFilter::filter(), HcalEmptyEventFilter::filter(), HcalCalibTypeFilter::filter(), sistrip::SpyEventMatcherModule::findL1IDandAPVAddress(), MatacqProducer::getCalibTriggerType(), LaserSorter::getDetailedTriggerType(), LaserSorter::getOrbitFromDcc(), MatacqProducer::getOrbitId(), LaserSorter::getOutputFedList(), HLTFEDSizeFilter::hltFilter(), HLTHcalNZSFilter::hltFilter(), EcalFEDErrorFilter::hltFilter(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), CamacTBDataFormatter::interpretRawData(), ESUnpacker::interpretRawData(), CTPPSPixelDataFormatter::interpretRawData(), PixelDataFormatter::interpretRawData(), LaserSorter::isDccEventEmpty(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), sistrip::SpyEventMatcher::mergeMatchingData(), CastorCtdcPacker::pack(), CastorPacker::pack(), HcalPacker::pack(), cscdqm::EventProcessor::preProcessEvent(), BlockFormatter::print(), GctDigiToRaw::print(), BlockFormatter::PrintSizes(), DTuROSRawToDigi::process(), DTTFFEDReader::process(), L1TTwinMuxRawToDigi::processFed(), DTDigiToRawModule::produce(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce(), ESRawToDigi::produce(), evf::EvFFEDSelector::produce(), RawDataCollectorByLabel::produce(), ESDigiToRaw::produce(), HcalCalibFEDSelector::produce(), DTUnpackingModule::produce(), CSCDCCUnpacker::produce(), CTPPSPixelRawToDigi::produce(), SiPixelFedFillerWordEventNumber::produce(), Phase2Tracker::Phase2TrackerDigiProducer::produce(), RPCAMCRawToDigi::produce(), TotemTriggerRawToDigi::produce(), sistrip::ExcludedFEDListProducer::produce(), RPCUnpackingModule::produce(), EcalDCCTBUnpackingModule::produce(), EcalDCCTB07UnpackingModule::produce(), HcalRawToDigi::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), sistrip::SpyEventSummaryProducer::produce(), GEMRawToDigiModule::produce(), CastorRawToDigi::produce(), RPCTwinMuxRawToDigi::produce(), CSCTFUnpacker::produce(), ECALRegFEDSelector::produce(), ScalersRawToDigi::produce(), LTCRawToDigi::produce(), AlCaHcalNoiseProducer::produce(), TcdsRawToDigi::produce(), dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::produce(), EcalFEDWithCRCErrorProducer::produce(), EcalRawToDigi::produce(), RctRawToDigi::produce(), SiPixelDigiToRaw::produce(), l1t::L1TRawToDigi::produce(), GctRawToDigi::produce(), OnlineMetaDataRawToDigi::produce(), omtf::OmtfUnpacker::produce(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GtTextToRaw::produce(), l1t::AMCDumpToRaw::produce(), l1t::AMC13DumpToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerRawToDigi::produce(), l1t::MP7BufferDumpToRaw::produce(), L1TCaloLayer1RawToDigi::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), RPCPackingModule::rawData(), LmfSource::readEventWithinFile(), resize(), ctpps::RawDataUnpacker::run(), TotemVFATRawToDigi::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), ecaldqm::SelectiveReadoutTask::runOnSource(), RawDataFEDSelector::select(), sistrip::RawToDigiUnpacker::triggerFed(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBQADCUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), ZdcUnpacker::unpack(), HcalUnpacker::unpack(), RctRawToDigi::unpack(), GctRawToDigi::unpack(), hcaltb::HcalTBTDCUnpacker::unpackHits(), hcaltb::HcalTBSlowDataUnpacker::unpackMaps(), HcalUnpacker::unpackVME(), RawEventOutputModuleForBU< Consumer >::write(), LaserSorter::writeEvent(), and LaserSorter::writeFedBlock().