#include <DAQSourceModelsScoutingRun3.h>
Public Member Functions | |
bool | checksumValid () override |
bool | dataBlockCompleted () const override |
bool | dataBlockInitialized () const override |
uint64_t | dataBlockSize () const override |
DataModeScoutingRun3 (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 |
void | fillSDSRawDataCollection (SDSRawDataCollection &rawData, char *buff, size_t len) |
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 |
~DataModeScoutingRun3 () 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< int > | buNumSources_ |
std::vector< std::filesystem::path > | buPaths_ |
std::vector< bool > | completedBlocks_ |
unsigned int | currOrbit_ = 0xFFFFFFFF |
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 |
short | numFiles_ = 0 |
std::vector< std::pair< int, int > > | sourceValidOrbitPair_ |
Additional Inherited Members | |
Protected Attributes inherited from DataMode | |
DAQSource * | daqSource_ |
bool | testing_ = false |
Definition at line 20 of file DAQSourceModelsScoutingRun3.h.
|
inline |
Definition at line 22 of file DAQSourceModelsScoutingRun3.h.
|
inlineoverride |
Definition at line 23 of file DAQSourceModelsScoutingRun3.h.
|
overridevirtual |
Implements DataMode.
Definition at line 182 of file DAQSourceModelsScoutingRun3.cc.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 91 of file DAQSourceModelsScoutingRun3.h.
References blockCompleted_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 97 of file DAQSourceModelsScoutingRun3.h.
References dataBlockInitialized_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 37 of file DAQSourceModelsScoutingRun3.h.
References events_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 30 of file DAQSourceModelsScoutingRun3.h.
References detectedFRDversion_.
|
overridevirtual |
Implements DataMode.
Definition at line 16 of file DAQSourceModelsScoutingRun3.cc.
References buNumSources_, buPaths_, SiStripCommissioningSource_FromRAW_cfg::fileListMode, reco_skim_cfg_mod::fullpath, mps_fire::i, dqmiolumiharvest::j, castor_dqm_sourceclient_file_cfg::path, and to_string().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 31 of file DAQSourceModelsScoutingRun3.h.
References detectedFRDversion_.
void DataModeScoutingRun3::fillSDSRawDataCollection | ( | SDSRawDataCollection & | rawData, |
char * | buff, | ||
size_t | len | ||
) |
Definition at line 81 of file DAQSourceModelsScoutingRun3.cc.
References FEDRawData::data(), l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), and objects.autophobj::sourceId.
Referenced by readEvent().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 95 of file DAQSourceModelsScoutingRun3.h.
|
overridevirtual |
Implements DataMode.
Definition at line 184 of file DAQSourceModelsScoutingRun3.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 34 of file DAQSourceModelsScoutingRun3.h.
References detectedFRDversion_, and FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 81 of file DAQSourceModelsScoutingRun3.h.
References cms::cuda::assert(), and events_.
|
overridevirtual |
Implements DataMode.
Definition at line 102 of file DAQSourceModelsScoutingRun3.cc.
References daqProvenanceHelpers_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 42 of file DAQSourceModelsScoutingRun3.h.
References generateTowerEtThresholdLUT::addr, cms::cuda::assert(), blockCompleted_, completedBlocks_, dataBlockAddrs_, dataBlockMax_, dataBlockMaxAddrs_, eventCached_, fileHeaderSize_, mps_fire::i, makeEvents(), reco_skim_cfg_mod::maxSize, numFiles_, mps_fire::result, setDataBlockInitialized(), and sourceValidOrbitPair_.
|
overridevirtual |
Implements DataMode.
Definition at line 3 of file DAQSourceModelsScoutingRun3.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, buNumSources_, buPaths_, and castor_dqm_sourceclient_file_cfg::path.
|
private |
Definition at line 124 of file DAQSourceModelsScoutingRun3.cc.
References cms::cuda::assert(), blockCompleted_, completedBlocks_, currOrbit_, dataBlockAddrs_, dataBlockMaxAddrs_, edmPickEvents::event, events_, mps_fire::i, numFiles_, and sourceValidOrbitPair_.
Referenced by makeDataBlockView(), and nextEventView().
|
overridevirtual |
Implements DataMode.
Definition at line 110 of file DAQSourceModelsScoutingRun3.cc.
References blockCompleted_, dataBlockAddrs_, eventCached_, events_, makeEvents(), and sourceValidOrbitPair_.
|
overridevirtual |
Implements DataMode.
Definition at line 47 of file DAQSourceModelsScoutingRun3.cc.
References cms::cuda::assert(), printConversionInfo::aux, DAQSource::currentLumiSection(), currOrbit_, daqProvenanceHelpers_, DataMode::daqSource_, eventCached_, DAQSource::eventRunNumber(), events_, fillSDSRawDataCollection(), DAQSource::makeEventWrapper(), eostools::move(), edm::EventAuxiliary::PhysicsTrigger, edm::InputSource::processGUID(), DAQSource::processHistoryID(), edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, sourceValidOrbitPair_, and hcalRecHitTable_cff::time.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 93 of file DAQSourceModelsScoutingRun3.h.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 86 of file DAQSourceModelsScoutingRun3.h.
References cms::cuda::assert(), and events_.
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 99 of file DAQSourceModelsScoutingRun3.h.
References dataBlockInitialized_, and heppy_batch::val.
Referenced by makeDataBlockView().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 35 of file DAQSourceModelsScoutingRun3.h.
References detectedFRDversion_, and FRDHeaderMaxVersion.
|
private |
Definition at line 123 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataBlockCompleted(), makeDataBlockView(), makeEvents(), and nextEventView().
|
private |
Definition at line 126 of file DAQSourceModelsScoutingRun3.h.
Referenced by defineAdditionalFiles(), and makeDirectoryEntries().
|
private |
Definition at line 125 of file DAQSourceModelsScoutingRun3.h.
Referenced by defineAdditionalFiles(), and makeDirectoryEntries().
|
private |
Definition at line 132 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), and makeEvents().
|
private |
Definition at line 130 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeEvents(), and readEvent().
|
private |
Definition at line 112 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDaqProvenanceHelpers(), and readEvent().
|
private |
Definition at line 117 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 118 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), makeEvents(), and nextEventView().
|
private |
Definition at line 122 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataBlockInitialized(), and setDataBlockInitialized().
|
private |
Definition at line 120 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 119 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), and makeEvents().
|
private |
Definition at line 113 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataVersion(), detectVersion(), headerSize(), and versionCheck().
|
private |
Definition at line 124 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), nextEventView(), and readEvent().
|
private |
Definition at line 116 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataBlockSize(), isRealData(), makeEvents(), nextEventView(), readEvent(), and run().
|
private |
Definition at line 114 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 115 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 121 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), and makeEvents().
|
private |
Definition at line 129 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView(), makeEvents(), nextEventView(), and readEvent().