#include <DAQSourceModelsFRD.h>
Public Member Functions | |
bool | checksumValid () override |
bool | dataBlockCompleted () const override |
bool | dataBlockInitialized () const override |
uint64_t | dataBlockSize () const override |
DataModeFRD (DAQSource *daqSource) | |
int | dataVersion () const override |
std::pair< bool, std::vector< std::string > > | defineAdditionalFiles (std::string const &primaryName, bool) const override |
void | detectVersion (unsigned char *fileBuf, uint32_t fileHeaderOffset) override |
edm::Timestamp | fillFEDRawDataCollection (FEDRawDataCollection &rawData, bool &tcdsInRange, unsigned char *&tcds_pointer) |
bool | fitToBuffer () const override |
std::string | getChecksumError () const override |
uint32_t | headerSize () const override |
bool | isRealData () const override |
std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > & | makeDaqProvenanceHelpers () override |
void | makeDataBlockView (unsigned char *addr, size_t maxSize, std::vector< uint64_t > const &fileSizes, size_t fileHeaderSize) override |
void | makeDirectoryEntries (std::vector< std::string > const &baseDirs, std::vector< int > const &numSources, std::string const &runDir) override |
bool | nextEventView () override |
void | readEvent (edm::EventPrincipal &eventPrincipal) override |
bool | requireHeader () const override |
uint32_t | run () const override |
void | setDataBlockInitialized (bool) override |
void | setTCDSSearchRange (uint16_t MINTCDSuTCAFEDID, uint16_t MAXTCDSuTCAFEDID) override |
bool | versionCheck () const override |
~DataModeFRD () override | |
Public Member Functions inherited from DataMode | |
DataMode (DAQSource *daqSource) | |
virtual bool | isMultiDir () |
void | setTesting (bool testing) |
virtual | ~DataMode ()=default |
Private Attributes | |
uint32_t | crc_ = 0 |
std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > | daqProvenanceHelpers_ |
unsigned char * | dataBlockAddr_ = nullptr |
size_t | dataBlockMax_ = 0 |
uint16_t | detectedFRDversion_ = 0 |
std::unique_ptr< FRDEventMsgView > | event_ |
bool | eventCached_ = false |
size_t | fileHeaderSize_ = 0 |
size_t | headerSize_ = 0 |
uint16_t | MAXTCDSuTCAFEDID_ = FEDNumbering::MAXTCDSuTCAFEDID |
uint16_t | MINTCDSuTCAFEDID_ = FEDNumbering::MINTCDSuTCAFEDID |
Additional Inherited Members | |
Protected Attributes inherited from DataMode | |
DAQSource * | daqSource_ |
bool | testing_ = false |
Definition at line 10 of file DAQSourceModelsFRD.h.
|
inline |
Definition at line 12 of file DAQSourceModelsFRD.h.
|
inlineoverride |
Definition at line 13 of file DAQSourceModelsFRD.h.
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 22 of file DAQSourceModelsFRD.h.
References detectedFRDversion_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 71 of file DAQSourceModelsFRD.h.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 23 of file DAQSourceModelsFRD.h.
References detectedFRDversion_.
edm::Timestamp DataModeFRD::fillFEDRawDataCollection | ( | FEDRawDataCollection & | rawData, |
bool & | tcdsInRange, | ||
unsigned char *& | tcds_pointer | ||
) |
Definition at line 69 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), FEDRawData::data(), event_, Exception, l1tstage2_dqm_sourceclient-live_cfg::fedId, FEDTrailer::fragmentLength(), FEDHeader::length, FEDTrailer::length, FEDNumbering::MAXFEDID, FEDNumbering::MAXTCDSuTCAFEDID, MAXTCDSuTCAFEDID_, FEDNumbering::MINTCDSuTCAFEDID, MINTCDSuTCAFEDID_, l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), FEDHeader::sourceID(), and hcalRecHitTable_cff::time.
Referenced by readEvent().
|
inlineoverridevirtual |
|
overridevirtual |
Implements DataMode.
Definition at line 146 of file DAQSourceModelsFRD.cc.
References crc_, event_, and contentValuesCheck::ss.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 27 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and FRDHeaderVersionSize.
|
inlineoverridevirtual |
|
overridevirtual |
Implements DataMode.
Definition at line 116 of file DAQSourceModelsFRD.cc.
References daqProvenanceHelpers_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 33 of file DAQSourceModelsFRD.h.
References generateTowerEtThresholdLUT::addr, dataBlockAddr_, dataBlockMax_, eventCached_, reco_skim_cfg_mod::maxSize, and nextEventView().
|
inlineoverridevirtual |
|
overridevirtual |
Implements DataMode.
Definition at line 124 of file DAQSourceModelsFRD.cc.
References dataBlockAddr_, dataBlockMax_, event_, eventCached_, and Exception.
Referenced by makeDataBlockView().
|
overridevirtual |
Implements DataMode.
Definition at line 32 of file DAQSourceModelsFRD.cc.
References printConversionInfo::aux, runTheMatrix::const, DAQSource::currentLumiSection(), daqProvenanceHelpers_, DataMode::daqSource_, event_, DAQSource::eventRunNumber(), Exception, DAQSource::fileListLoopMode(), fillFEDRawDataCollection(), FEDHeader::length, evf::evtn::makeEventAuxiliary(), DAQSource::makeEventWrapper(), eostools::move(), edm::EventAuxiliary::PhysicsTrigger, edm::InputSource::processGUID(), DAQSource::processHistoryID(), edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDHeader::triggerType(), and DAQSource::useL1EventID().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 50 of file DAQSourceModelsFRD.h.
References event_.
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 62 of file DAQSourceModelsFRD.h.
References MAXTCDSuTCAFEDID_, and MINTCDSuTCAFEDID_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 29 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and FRDHeaderMaxVersion.
|
private |
Definition at line 80 of file DAQSourceModelsFRD.h.
Referenced by checksumValid(), and getChecksumError().
|
private |
Definition at line 76 of file DAQSourceModelsFRD.h.
Referenced by makeDaqProvenanceHelpers(), and readEvent().
|
private |
Definition at line 81 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), and nextEventView().
|
private |
Definition at line 82 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), and nextEventView().
|
private |
Definition at line 77 of file DAQSourceModelsFRD.h.
Referenced by dataVersion(), detectVersion(), headerSize(), and versionCheck().
|
private |
Definition at line 79 of file DAQSourceModelsFRD.h.
Referenced by checksumValid(), dataBlockSize(), fillFEDRawDataCollection(), getChecksumError(), isRealData(), nextEventView(), readEvent(), and run().
|
private |
Definition at line 86 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), and nextEventView().
|
private |
Definition at line 83 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 78 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 85 of file DAQSourceModelsFRD.h.
Referenced by fillFEDRawDataCollection(), and setTCDSSearchRange().
|
private |
Definition at line 84 of file DAQSourceModelsFRD.h.
Referenced by fillFEDRawDataCollection(), and setTCDSSearchRange().