#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 19 of file FEDRawData.cc.
References edm::hlt::Exception.
FEDRawData::FEDRawData | ( | const FEDRawData & | in | ) |
Copy constructor.
Definition at line 23 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 29 of file FEDRawData.cc.
References data_.
Referenced by evf::EvFRecordInserter::analyze(), ESRawDataTask::analyze(), ESFEDIntegrityTask::analyze(), PlaybackRawDataProvider::analyze(), SiStripFEDDumpPlugin::analyze(), HcalTBWriter::analyze(), RawToText::analyze(), EERawDataTask::analyze(), EBRawDataTask::analyze(), BxTiming::analyze(), DQMHcalPhiSymAlCaReco::analyze(), test::GlobalNumbersAnalysis::analyze(), HcalDetDiagNoiseMonitor::analyze(), EcalDumpRaw::analyze(), EcalHexDisplay::analyze(), SiPixelEDAClient::analyze(), EBHltTask::analyze(), EEHltTask::analyze(), HcalMonitorModule::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), SiStripFEDCheckPlugin::analyze(), L1TFED::analyze(), SiStripCMMonitorPlugin::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalDetDiagPedestalMonitor::analyze(), HcalDetDiagLaserMonitor::analyze(), HcalMonitorModule::CheckSubdetectorStatus(), SiStripAnalyser::checkTrackerFEDs(), BlockFormatter::CleanUp(), L1Comparator::compareFedRawCollections(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), DTDigiToRaw::createFedBuffers(), CSCDigiToRaw::createFedBuffers(), SRBlockFormatter::DigiToRaw(), BlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), CSCValidation::doTimeMonitoring(), sistrip::RawToDigiUnpacker::dumpRawData(), TowerBlockFormatter::EndEvent(), sistrip::RawToClustersLazyUnpacker::fill(), DTROS8FileReader::fillRawData(), FUShmReader::fillRawData(), DTROS25FileReader::fillRawData(), DTDDUFileReader::fillRawData(), DTSpyReader::fillRawData(), DTTFFEDSim::fillRawData(), LaserAlignmentEventFilter::filter(), HLTDTROMonitorFilter::filter(), DTROMonitorFilter::filter(), HLTL1NumberFilter::filter(), HLTHcalCalibTypeFilter::filter(), HLTHcalNZSFilter::filter(), EcalFEDErrorFilter::filter(), HcalCalibTypeFilter::filter(), PixelDataFormatter::formatData(), sistrip::FEDBufferGenerator::generateBuffer(), MatacqProducer::getCalibTriggerType(), LaserSorter::getDetailedTriggerType(), edm::DaqSource::getNextItemType(), MatacqProducer::getOrbitId(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), ESUnpacker::interpretRawData(), CamacTBDataFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), PixelDataFormatter::interpretRawData(), LaserSorter::isDccEventEmpty(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), CastorCtdcPacker::pack(), CastorPacker::pack(), HcalPacker::pack(), BlockFormatter::print(), GctDigiToRaw::print(), DTTFFEDReader::process(), HcalNZSMonitor::processEvent(), evf::EvFFEDSelector::produce(), DTDigiToRawModule::produce(), RawDataCollectorModule::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), DTUnpackingModule::produce(), CSCDCCUnpacker::produce(), CSCTFPacker::produce(), RPCUnpackingModule::produce(), SiPixelFedFillerWordEventNumber::produce(), CSCTFUnpacker::produce(), HcalTBSource::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), AlCaHcalNoiseProducer::produce(), LTCRawToDigi::produce(), ErrorStreamSource::produce(), EcalFEDWithCRCErrorProducer::produce(), EcalRawToDigi::produce(), GctRawToDigi::produce(), L1GlobalTriggerEvmRawToDigi::produce(), L1GtTextToRaw::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerRawToDigi::produce(), RPCPackingModule::rawData(), LmfSource::readEventWithinFile(), HcalTriggerPrimitiveAlgo::runFEFormatError(), RawDataFEDSelector::select(), sistrip::RawToDigiUnpacker::triggerFed(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBQADCUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSlowDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), HcalUnpacker::unpack(), HcalDataIntegrityTask::unpack(), HcalEEUSMonitor::unpack(), HcalRawDataMonitor::unpack(), GctRawToDigi::unpack(), hcaltb::HcalTBTDCUnpacker::unpackHits(), EcalUnpackerWorker::work(), FRDEventOutputModule< Consumer >::write(), and LaserSorter::writeFedBlock().
unsigned char * FEDRawData::data | ( | ) |
Return a pointer to the beginning of the data buffer.
Definition at line 31 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 33 of file FEDRawData.cc.
References data_, edm::hlt::Exception, and size().
Referenced by python.Vispa.Gui.TextDialog.TextDialog::__init__(), python.Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), python.Vispa.Main.MainWindow.MainWindow::_loadIni(), PlaybackRawDataProvider::analyze(), BlockFormatter::CleanUp(), CSCDigiToRaw::createFedBuffers(), SRBlockFormatter::DigiToRaw(), BlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESDataFormatterV4::DigiToRaw(), DTROS8FileReader::fillRawData(), FUShmReader::fillRawData(), DTROS25FileReader::fillRawData(), DTDDUFileReader::fillRawData(), DTSpyReader::fillRawData(), DTTFFEDSim::fillRawData(), sistrip::FEDBufferGenerator::generateBuffer(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), CastorCtdcPacker::pack(), CastorPacker::pack(), HcalPacker::pack(), evf::EvFFEDSelector::produce(), RawDataCollectorModule::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), CSCTFPacker::produce(), HcalTBSource::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), AlCaHcalNoiseProducer::produce(), ECALRegFEDSelector::produce(), TextToRaw::produce(), GctDigiToRaw::produce(), ErrorStreamSource::produce(), EcalFEDWithCRCErrorProducer::produce(), L1GTEvmDigiToRaw::produce(), L1GtTextToRaw::produce(), L1GTDigiToRaw::produce(), LmfSource::readEventWithinFile(), RawDataFEDSelector::select(), LmfSource::setRunAndEventInfo(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
Lenght of the data buffer in bytes.
Definition at line 47 of file FEDRawData.h.
References data_.
Referenced by evf::EvFRecordInserter::analyze(), ESRawDataTask::analyze(), ESFEDIntegrityTask::analyze(), SiStripFEDDumpPlugin::analyze(), HcalTBWriter::analyze(), RawToText::analyze(), EBRawDataTask::analyze(), EERawDataTask::analyze(), SiPixelDaqInfo::analyze(), BxTiming::analyze(), DQMHcalPhiSymAlCaReco::analyze(), test::GlobalNumbersAnalysis::analyze(), EcalDumpRaw::analyze(), HcalDetDiagNoiseMonitor::analyze(), EBHltTask::analyze(), EEHltTask::analyze(), SiPixelEDAClient::analyze(), EcalHexDisplay::analyze(), HcalMonitorModule::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), SiPixelHLTSource::analyze(), SiStripFEDCheckPlugin::analyze(), DQMHcalPhiSymHLT::analyze(), L1TFED::analyze(), SiStripCMMonitorPlugin::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalDetDiagPedestalMonitor::analyze(), HcalDetDiagLaserMonitor::analyze(), EcalSelectiveReadoutValidation::analyzeDataVolume(), HcalTBWriter::buildTree(), HcalMonitorModule::CheckSubdetectorStatus(), SiStripAnalyser::checkTrackerFEDs(), BlockFormatter::CleanUp(), L1Comparator::compareFedRawCollections(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), CSCDigiToRaw::createFedBuffers(), SRBlockFormatter::DigiToRaw(), BlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), CSCValidation::doTimeMonitoring(), sistrip::RawToDigiUnpacker::dumpRawData(), TowerBlockFormatter::EndEvent(), sistrip::RawToClustersLazyUnpacker::fill(), LaserAlignmentEventFilter::filter(), DTROMonitorFilter::filter(), HLTDTROMonitorFilter::filter(), HLTHcalCalibTypeFilter::filter(), HLTHcalNZSFilter::filter(), HLTFEDSizeFilter::filter(), EcalFEDErrorFilter::filter(), HcalCalibTypeFilter::filter(), MatacqProducer::getCalibTriggerType(), LaserSorter::getDetailedTriggerType(), edm::DaqSource::getNextItemType(), MatacqProducer::getOrbitId(), LaserSorter::getOutputFedList(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), ESUnpacker::interpretRawData(), CamacTBDataFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), PixelDataFormatter::interpretRawData(), LaserSorter::isDccEventEmpty(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), CastorCtdcPacker::pack(), CastorPacker::pack(), HcalPacker::pack(), BlockFormatter::print(), GctDigiToRaw::print(), BlockFormatter::PrintSizes(), DTTFFEDReader::process(), HcalNZSMonitor::processEvent(), HcalDataIntegrityTask::processEvent(), HcalRawDataMonitor::processEvent(), HcalEEUSMonitor::processEvent_RawData(), DTDigiToRawModule::produce(), evf::EvFFEDSelector::produce(), ESRawToDigi::produce(), RawDataCollectorModule::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), DTUnpackingModule::produce(), ESDigiToRaw::produce(), CSCTFPacker::produce(), CSCDCCUnpacker::produce(), SiPixelDigiToRaw::produce(), RPCUnpackingModule::produce(), SiPixelFedFillerWordEventNumber::produce(), HcalRawToDigi::produce(), CastorRawToDigi::produce(), CSCTFUnpacker::produce(), EcalDCCTBUnpackingModule::produce(), EcalDCCTB07UnpackingModule::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), AlCaHcalNoiseProducer::produce(), ScalersRawToDigi::produce(), LTCRawToDigi::produce(), EcalRawToDigi::produce(), EcalFEDWithCRCErrorProducer::produce(), GctRawToDigi::produce(), L1GlobalTriggerEvmRawToDigi::produce(), L1GtTextToRaw::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerRawToDigi::produce(), RPCPackingModule::rawData(), LmfSource::readEventWithinFile(), resize(), HcalTriggerPrimitiveAlgo::runFEFormatError(), RawDataFEDSelector::select(), sistrip::RawToDigiUnpacker::triggerFed(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBQADCUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), hcaltb::HcalTBSlowDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), HcalUnpacker::unpack(), HcalDataIntegrityTask::unpack(), HcalEEUSMonitor::unpack(), HcalRawDataMonitor::unpack(), GctRawToDigi::unpack(), hcaltb::HcalTBTDCUnpacker::unpackHits(), EcalUnpackerWorker::work(), FRDEventOutputModule< Consumer >::write(), and LaserSorter::writeFedBlock().