#include <DAQSourceModelsFRD.h>
Public Member Functions | |
bool | checksumValid () override |
bool | dataBlockCompleted () const override |
bool | dataBlockInitialized () const override |
uint64_t | dataBlockSize () const override |
DataModeFRDStriped (DAQSource *daqSource) | |
int | dataVersion () const override |
std::pair< bool, std::vector< std::string > > | defineAdditionalFiles (std::string const &primaryName, bool fileListMode) const override |
void | detectVersion (unsigned char *fileBuf, uint32_t fileHeaderOffset) override |
edm::Timestamp | fillFRDCollection (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 val) override |
void | setTCDSSearchRange (uint16_t MINTCDSuTCAFEDID, uint16_t MAXTCDSuTCAFEDID) override |
bool | versionCheck () const override |
~DataModeFRDStriped () override | |
Public Member Functions inherited from DataMode | |
DataMode (DAQSource *daqSource) | |
virtual bool | isMultiDir () |
void | setTesting (bool testing) |
virtual | ~DataMode ()=default |
Private Member Functions | |
bool | makeEvents () |
Private Attributes | |
bool | blockCompleted_ = true |
std::vector< std::filesystem::path > | buPaths_ |
std::string | crcMsg_ |
std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > | daqProvenanceHelpers_ |
unsigned char * | dataBlockAddr_ = nullptr |
std::vector< unsigned char * > | dataBlockAddrs_ |
bool | dataBlockInitialized_ = false |
size_t | dataBlockMax_ = 0 |
std::vector< unsigned char * > | dataBlockMaxAddrs_ |
uint16_t | detectedFRDversion_ = 0 |
bool | eventCached_ = false |
std::vector< std::unique_ptr< FRDEventMsgView > > | events_ |
size_t | fileHeaderSize_ = 0 |
size_t | headerSize_ = 0 |
uint16_t | MAXTCDSuTCAFEDID_ = FEDNumbering::MAXTCDSuTCAFEDID |
uint16_t | MINTCDSuTCAFEDID_ = FEDNumbering::MINTCDSuTCAFEDID |
short | numFiles_ = 0 |
Additional Inherited Members | |
Protected Attributes inherited from DataMode | |
DAQSource * | daqSource_ |
bool | testing_ = false |
Definition at line 94 of file DAQSourceModelsFRD.h.
|
inline |
Definition at line 96 of file DAQSourceModelsFRD.h.
|
inlineoverride |
Definition at line 97 of file DAQSourceModelsFRD.h.
|
overridevirtual |
Implements DataMode.
Definition at line 278 of file DAQSourceModelsFRD.cc.
References crc32c(), crcMsg_, events_, mps_fire::i, contentValuesCheck::ss, and mps_update::status.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 161 of file DAQSourceModelsFRD.h.
References blockCompleted_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 167 of file DAQSourceModelsFRD.h.
References dataBlockInitialized_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 113 of file DAQSourceModelsFRD.h.
References events_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 104 of file DAQSourceModelsFRD.h.
References detectedFRDversion_.
|
overridevirtual |
Implements DataMode.
Definition at line 303 of file DAQSourceModelsFRD.cc.
References buPaths_, SiStripCommissioningSource_FromRAW_cfg::fileListMode, reco_skim_cfg_mod::fullpath, mps_fire::i, and castor_dqm_sourceclient_file_cfg::path.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 105 of file DAQSourceModelsFRD.h.
References detectedFRDversion_.
edm::Timestamp DataModeFRDStriped::fillFRDCollection | ( | FEDRawDataCollection & | rawData, |
bool & | tcdsInRange, | ||
unsigned char *& | tcds_pointer | ||
) |
Definition at line 205 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), FEDRawData::data(), events_, Exception, l1tstage2_dqm_sourceclient-live_cfg::fedId, FEDTrailer::fragmentLength(), FEDHeader::length, FEDTrailer::length, FEDNumbering::MAXFEDID, FEDNumbering::MAXTCDSuTCAFEDID, MAXTCDSuTCAFEDID_, FEDNumbering::MINTCDSuTCAFEDID, MINTCDSuTCAFEDID_, jetsAK4_Puppi_cff::payload, l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), FEDHeader::sourceID(), DataMode::testing_, and hcalRecHitTable_cff::time.
Referenced by readEvent().
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 109 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 151 of file DAQSourceModelsFRD.h.
References cms::cuda::assert(), and events_.
|
overridevirtual |
Implements DataMode.
Definition at line 256 of file DAQSourceModelsFRD.cc.
References daqProvenanceHelpers_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 120 of file DAQSourceModelsFRD.h.
References generateTowerEtThresholdLUT::addr, cms::cuda::assert(), blockCompleted_, dataBlockAddrs_, dataBlockMax_, dataBlockMaxAddrs_, eventCached_, fileHeaderSize_, mps_fire::i, makeEvents(), reco_skim_cfg_mod::maxSize, numFiles_, mps_fire::result, and setDataBlockInitialized().
|
overridevirtual |
Implements DataMode.
Definition at line 156 of file DAQSourceModelsFRD.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, buPaths_, and castor_dqm_sourceclient_file_cfg::path.
|
private |
Definition at line 334 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), blockCompleted_, dataBlockAddrs_, dataBlockMaxAddrs_, events_, Exception, mps_fire::i, numFiles_, and findQualityFiles::size.
Referenced by makeDataBlockView(), and nextEventView().
|
overridevirtual |
Implements DataMode.
Definition at line 323 of file DAQSourceModelsFRD.cc.
References blockCompleted_, dataBlockAddrs_, eventCached_, events_, mps_fire::i, and makeEvents().
|
overridevirtual |
Implements DataMode.
Definition at line 166 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), printConversionInfo::aux, runTheMatrix::const, DAQSource::currentLumiSection(), daqProvenanceHelpers_, DataMode::daqSource_, eventCached_, DAQSource::eventRunNumber(), events_, Exception, DAQSource::fileListLoopMode(), fillFRDCollection(), 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 156 of file DAQSourceModelsFRD.h.
References cms::cuda::assert(), and events_.
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 169 of file DAQSourceModelsFRD.h.
References dataBlockInitialized_, and heppy_batch::val.
Referenced by makeDataBlockView().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 171 of file DAQSourceModelsFRD.h.
References MAXTCDSuTCAFEDID_, and MINTCDSuTCAFEDID_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 111 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and FRDHeaderMaxVersion.
|
private |
Definition at line 197 of file DAQSourceModelsFRD.h.
Referenced by dataBlockCompleted(), makeDataBlockView(), makeEvents(), and nextEventView().
|
private |
Definition at line 201 of file DAQSourceModelsFRD.h.
Referenced by defineAdditionalFiles(), and makeDirectoryEntries().
|
private |
Definition at line 190 of file DAQSourceModelsFRD.h.
Referenced by checksumValid(), and getChecksumError().
|
private |
Definition at line 185 of file DAQSourceModelsFRD.h.
Referenced by makeDaqProvenanceHelpers(), and readEvent().
|
private |
Definition at line 191 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 192 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), makeEvents(), and nextEventView().
|
private |
Definition at line 196 of file DAQSourceModelsFRD.h.
Referenced by dataBlockInitialized(), and setDataBlockInitialized().
|
private |
Definition at line 194 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 193 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), and makeEvents().
|
private |
Definition at line 186 of file DAQSourceModelsFRD.h.
Referenced by dataVersion(), detectVersion(), headerSize(), and versionCheck().
|
private |
Definition at line 198 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), nextEventView(), and readEvent().
|
private |
Definition at line 189 of file DAQSourceModelsFRD.h.
Referenced by checksumValid(), dataBlockSize(), fillFRDCollection(), isRealData(), makeEvents(), nextEventView(), readEvent(), and run().
|
private |
Definition at line 187 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 188 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 200 of file DAQSourceModelsFRD.h.
Referenced by fillFRDCollection(), and setTCDSSearchRange().
|
private |
Definition at line 199 of file DAQSourceModelsFRD.h.
Referenced by fillFRDCollection(), and setTCDSSearchRange().
|
private |
Definition at line 195 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView(), and makeEvents().