![]() |
![]() |
#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(), evf::EvFRecordInserter::analyze(), HcalTBWriter::analyze(), SiStripFEDDumpPlugin::analyze(), RawToText::analyze(), EcalHexDisplay::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), L1TFED::analyze(), DTDigiToRaw::createFedBuffers(), SRBlockFormatter::DigiToRaw(), DTROS8FileReader::fillRawData(), DTROS25FileReader::fillRawData(), DTSpyReader::fillRawData(), LaserAlignmentEventFilter::filter(), HLTDTROMonitorFilter::filter(), HLTL1NumberFilter::filter(), HLTHcalCalibTypeFilter::filter(), HcalEmptyEventFilter::filter(), HcalCalibTypeFilter::filter(), HLTHcalNZSFilter::hltFilter(), EcalFEDErrorFilter::hltFilter(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), CastorCtdcPacker::pack(), CastorPacker::pack(), DTDigiToRawModule::produce(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), HcalTBSource::produce(), TotemTriggerRawToDigi::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), LTCRawToDigi::produce(), EcalFEDWithCRCErrorProducer::produce(), TcdsRawToDigi::produce(), L1GtTextToRaw::produce(), RPCPackingModule::rawData(), RawDataFEDSelector::select(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), and hcaltb::HcalTBSlowDataUnpacker::unpackMaps().
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__(), SRBlockFormatter::DigiToRaw(), DTROS8FileReader::fillRawData(), DTROS25FileReader::fillRawData(), DTSpyReader::fillRawData(), CastorPacker::pack(), CastorCtdcPacker::pack(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), HcalTBSource::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), TextToRaw::produce(), EcalFEDWithCRCErrorProducer::produce(), L1GtTextToRaw::produce(), and RawDataFEDSelector::select().
|
inline |
Lenght of the data buffer in bytes.
Definition at line 47 of file FEDRawData.h.
References data_.
Referenced by hcaldqm::DQTask::_getCalibType(), evf::EvFRecordInserter::analyze(), HcalTBWriter::analyze(), SiStripFEDDumpPlugin::analyze(), RawToText::analyze(), EcalHexDisplay::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), L1TFED::analyze(), HcalTBWriter::buildTree(), SRBlockFormatter::DigiToRaw(), LaserAlignmentEventFilter::filter(), HLTDTROMonitorFilter::filter(), HLTL1NumberFilter::filter(), HLTHcalCalibTypeFilter::filter(), HcalEmptyEventFilter::filter(), HcalCalibTypeFilter::filter(), HLTFEDSizeFilter::hltFilter(), HLTHcalNZSFilter::hltFilter(), EcalFEDErrorFilter::hltFilter(), SiStripDCSStatus::initialise(), EcalSupervisorTBDataFormatter::interpretRawData(), TableDataFormatter::interpretRawData(), MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), CastorCtdcPacker::pack(), CastorPacker::pack(), DTDigiToRawModule::produce(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce(), ESRawToDigi::produce(), RawDataCollectorByLabel::produce(), HcalCalibFEDSelector::produce(), ESDigiToRaw::produce(), TotemTriggerRawToDigi::produce(), sistrip::ExcludedFEDListProducer::produce(), SiPixelDigiToRaw::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), LTCRawToDigi::produce(), EcalFEDWithCRCErrorProducer::produce(), TcdsRawToDigi::produce(), L1GtTextToRaw::produce(), RPCPackingModule::rawData(), resize(), RawDataFEDSelector::select(), HcalLaserUnpacker::unpack(), hcaltb::HcalTBSourcePositionDataUnpacker::unpack(), hcaltb::HcalTBTriggerDataUnpacker::unpack(), CastorCtdcUnpacker::unpack(), and hcaltb::HcalTBSlowDataUnpacker::unpackMaps().