#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< edm::streamer::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 |
Implements DataMode.
Definition at line 138 of file DAQSourceModelsFRD.cc.
References crc32c().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 31 of file DAQSourceModelsFRD.h.
References event_.
|
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 71 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), FEDRawData::data(), Exception, l1tstage2_dqm_sourceclient-live_cfg::fedId, FEDTrailer::fragmentLength(), FEDHeader::length, FEDTrailer::length, FEDNumbering::MAXFEDID, FEDNumbering::MAXTCDSuTCAFEDID, FEDNumbering::MINTCDSuTCAFEDID, l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), FEDHeader::sourceID(), and hcalRecHitTable_cff::time.
|
inlineoverridevirtual |
|
overridevirtual |
Implements DataMode.
Definition at line 148 of file DAQSourceModelsFRD.cc.
References contentValuesCheck::ss.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 27 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and edm::streamer::FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 48 of file DAQSourceModelsFRD.h.
References event_.
|
overridevirtual |
Implements DataMode.
Definition at line 118 of file DAQSourceModelsFRD.cc.
|
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 126 of file DAQSourceModelsFRD.cc.
References Exception.
Referenced by makeDataBlockView().
|
overridevirtual |
Implements DataMode.
Definition at line 34 of file DAQSourceModelsFRD.cc.
References printConversionInfo::aux, Options::const, Exception, FEDHeader::length, evf::evtn::makeEventAuxiliary(), eostools::move(), edm::EventAuxiliary::PhysicsTrigger, edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, and FEDHeader::triggerType().
|
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 edm::streamer::FRDHeaderMaxVersion.
|
private |
Definition at line 80 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 76 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 81 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 82 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
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 dataBlockSize(), isRealData(), and run().
|
private |
Definition at line 86 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
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 setTCDSSearchRange().
|
private |
Definition at line 84 of file DAQSourceModelsFRD.h.
Referenced by setTCDSSearchRange().