#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< edm::streamer::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 184 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 18 of file DAQSourceModelsScoutingRun3.cc.
References SiStripCommissioningSource_FromRAW_cfg::fileListMode, reco_skim_cfg_mod::fullpath, mps_fire::i, dqmiolumiharvest::j, EnsembleCalibrationLA_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 83 of file DAQSourceModelsScoutingRun3.cc.
References make_classfiles::buff, FEDRawData::data(), l1tstage2_dqm_sourceclient-live_cfg::rawData, FEDRawData::resize(), and objects.autophobj::sourceId.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 95 of file DAQSourceModelsScoutingRun3.h.
|
overridevirtual |
Implements DataMode.
Definition at line 186 of file DAQSourceModelsScoutingRun3.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 34 of file DAQSourceModelsScoutingRun3.h.
References detectedFRDversion_, and edm::streamer::FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 81 of file DAQSourceModelsScoutingRun3.h.
References cms::cuda::assert(), and events_.
|
overridevirtual |
Implements DataMode.
Definition at line 104 of file DAQSourceModelsScoutingRun3.cc.
|
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 5 of file DAQSourceModelsScoutingRun3.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, and EnsembleCalibrationLA_cfg::path.
|
private |
Definition at line 126 of file DAQSourceModelsScoutingRun3.cc.
References cms::cuda::assert(), edmPickEvents::event, and mps_fire::i.
Referenced by makeDataBlockView().
|
overridevirtual |
Implements DataMode.
Definition at line 112 of file DAQSourceModelsScoutingRun3.cc.
|
overridevirtual |
Implements DataMode.
Definition at line 49 of file DAQSourceModelsScoutingRun3.cc.
References cms::cuda::assert(), printConversionInfo::aux, eostools::move(), edm::EventAuxiliary::PhysicsTrigger, edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, 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 edm::streamer::FRDHeaderMaxVersion.
|
private |
Definition at line 123 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataBlockCompleted(), and makeDataBlockView().
|
private |
Definition at line 126 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 125 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 132 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 130 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 112 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 117 of file DAQSourceModelsScoutingRun3.h.
|
private |
Definition at line 118 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView().
|
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().
|
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().
|
private |
Definition at line 116 of file DAQSourceModelsScoutingRun3.h.
Referenced by dataBlockSize(), isRealData(), 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().
|
private |
Definition at line 129 of file DAQSourceModelsScoutingRun3.h.
Referenced by makeDataBlockView().