#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< edm::streamer::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 280 of file DAQSourceModelsFRD.cc.
References crc32c(), 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 305 of file DAQSourceModelsFRD.cc.
References SiStripCommissioningSource_FromRAW_cfg::fileListMode, reco_skim_cfg_mod::fullpath, mps_fire::i, and EnsembleCalibrationLA_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 207 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, jetsAK4_Puppi_cff::payload, l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), FEDHeader::sourceID(), and hcalRecHitTable_cff::time.
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 109 of file DAQSourceModelsFRD.h.
References detectedFRDversion_, and edm::streamer::FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 151 of file DAQSourceModelsFRD.h.
References cms::cuda::assert(), and events_.
|
overridevirtual |
Implements DataMode.
Definition at line 258 of file DAQSourceModelsFRD.cc.
|
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 158 of file DAQSourceModelsFRD.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, and EnsembleCalibrationLA_cfg::path.
|
private |
Definition at line 336 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), Exception, mps_fire::i, and findQualityFiles::size.
Referenced by makeDataBlockView().
|
overridevirtual |
Implements DataMode.
Definition at line 325 of file DAQSourceModelsFRD.cc.
References mps_fire::i.
|
overridevirtual |
Implements DataMode.
Definition at line 168 of file DAQSourceModelsFRD.cc.
References cms::cuda::assert(), 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 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 edm::streamer::FRDHeaderMaxVersion.
|
private |
Definition at line 197 of file DAQSourceModelsFRD.h.
Referenced by dataBlockCompleted(), and makeDataBlockView().
|
private |
Definition at line 201 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 190 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 185 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 191 of file DAQSourceModelsFRD.h.
|
private |
Definition at line 192 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().
|
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().
|
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().
|
private |
Definition at line 189 of file DAQSourceModelsFRD.h.
Referenced by dataBlockSize(), isRealData(), 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 setTCDSSearchRange().
|
private |
Definition at line 199 of file DAQSourceModelsFRD.h.
Referenced by setTCDSSearchRange().
|
private |
Definition at line 195 of file DAQSourceModelsFRD.h.
Referenced by makeDataBlockView().