#include <DAQSourceModelsScouting.h>
Public Member Functions | |
bool | checksumValid () override |
bool | dataBlockCompleted () const override |
bool | dataBlockInitialized () const override |
uint64_t | dataBlockSize () const override |
DataModeScoutingRun2Multi (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 |
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::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 |
~DataModeScoutingRun2Multi () override | |
Public Member Functions inherited from DataMode | |
DataMode (DAQSource *daqSource) | |
virtual bool | fitToBuffer () const =0 |
virtual bool | isMultiDir () |
void | setTesting (bool testing) |
virtual | ~DataMode ()=default |
Private Member Functions | |
bool | makeEvents () |
void | unpackMuonOrbit (BXVector< l1t::Muon > *muons, char *buf, size_t len) |
Private Attributes | |
bool | blockCompleted_ = true |
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 |
std::unique_ptr< ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > > | dummyLVec_ |
bool | eventCached_ = false |
std::vector< std::unique_ptr< FRDEventMsgView > > | events_ |
size_t | fileHeaderSize_ = 0 |
size_t | headerSize_ = 0 |
short | numFiles_ = 0 |
std::vector< unsigned char * > | startAddrs_ |
Additional Inherited Members | |
Protected Attributes inherited from DataMode | |
DAQSource * | daqSource_ |
bool | testing_ = false |
Definition at line 156 of file DAQSourceModelsScouting.h.
|
inline |
Definition at line 158 of file DAQSourceModelsScouting.h.
References dummyLVec_.
|
inlineoverride |
Definition at line 162 of file DAQSourceModelsScouting.h.
|
overridevirtual |
Implements DataMode.
Definition at line 310 of file DAQSourceModelsScouting.cc.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 226 of file DAQSourceModelsScouting.h.
References blockCompleted_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 230 of file DAQSourceModelsScouting.h.
References dataBlockInitialized_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 176 of file DAQSourceModelsScouting.h.
References events_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 167 of file DAQSourceModelsScouting.h.
References detectedFRDversion_.
|
overridevirtual |
Implements DataMode.
Definition at line 138 of file DAQSourceModelsScouting.cc.
References Exception, reco_skim_cfg_mod::fullpath, castor_dqm_sourceclient_file_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 168 of file DAQSourceModelsScouting.h.
References detectedFRDversion_.
|
overridevirtual |
Implements DataMode.
Definition at line 312 of file DAQSourceModelsScouting.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 172 of file DAQSourceModelsScouting.h.
References detectedFRDversion_, and FRDHeaderVersionSize.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 215 of file DAQSourceModelsScouting.h.
References cms::cuda::assert(), and events_.
|
overridevirtual |
Implements DataMode.
Definition at line 276 of file DAQSourceModelsScouting.cc.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 181 of file DAQSourceModelsScouting.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, setDataBlockInitialized(), and startAddrs_.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 236 of file DAQSourceModelsScouting.h.
|
private |
Definition at line 298 of file DAQSourceModelsScouting.cc.
References mps_fire::i.
Referenced by makeDataBlockView().
|
overridevirtual |
Implements DataMode.
Definition at line 287 of file DAQSourceModelsScouting.cc.
References mps_fire::i.
|
overridevirtual |
Implements DataMode.
Definition at line 168 of file DAQSourceModelsScouting.cc.
References printConversionInfo::aux, eostools::move(), jetsAK4_Puppi_cff::payload, edm::EventAuxiliary::PhysicsTrigger, edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, and hcalRecHitTable_cff::time.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 220 of file DAQSourceModelsScouting.h.
References cms::cuda::assert(), and events_.
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 232 of file DAQSourceModelsScouting.h.
References dataBlockInitialized_, and heppy_batch::val.
Referenced by makeDataBlockView().
|
inlineoverridevirtual |
|
private |
Definition at line 209 of file DAQSourceModelsScouting.cc.
References cms::cuda::assert(), visDQMUpload::buf, scouting::block::bx, nano_mu_digi_cff::bx, scouting::masks::chrg, scouting::shifts::chrg, scouting::masks::chrgv, scouting::shifts::chrgv, scouting::shifts::eta, scouting::shifts::etaext, scouting::masks::etaexts, scouting::masks::etaextv, scouting::masks::etas, scouting::masks::etav, scouting::muon::f, RecoTauValidation_cfi::header, mps_fire::i, hcalRecHitTable_cff::ieta, scouting::masks::index, scouting::shifts::index, hcalRecHitTable_cff::iphi, scouting::masks::iso, scouting::shifts::iso, scouting::header_shifts::mAcount, scouting::header_masks::mAcount, scouting::header_shifts::mBcount, scouting::header_masks::mBcount, scouting::block::mu, HLT_2023v12_cff::muon, PDWG_BPHSkim_cff::muons, scouting::masks::phi, scouting::shifts::phi, scouting::masks::phiext, scouting::shifts::phiext, scouting::masks::pt, scouting::shifts::pt, scouting::masks::qual, scouting::shifts::qual, l1tGTMenu_lepSeeds_cff::qual, and scouting::muon::s.
|
inlineoverridevirtual |
Implements DataMode.
Definition at line 174 of file DAQSourceModelsScouting.h.
References detectedFRDversion_, and FRDHeaderMaxVersion.
|
private |
Definition at line 265 of file DAQSourceModelsScouting.h.
Referenced by dataBlockCompleted(), and makeDataBlockView().
|
private |
Definition at line 247 of file DAQSourceModelsScouting.h.
|
private |
Definition at line 254 of file DAQSourceModelsScouting.h.
|
private |
Definition at line 258 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 264 of file DAQSourceModelsScouting.h.
Referenced by dataBlockInitialized(), and setDataBlockInitialized().
|
private |
Definition at line 260 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 259 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 248 of file DAQSourceModelsScouting.h.
Referenced by dataVersion(), detectVersion(), headerSize(), and versionCheck().
|
private |
Definition at line 252 of file DAQSourceModelsScouting.h.
Referenced by DataModeScoutingRun2Multi().
|
private |
Definition at line 263 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 250 of file DAQSourceModelsScouting.h.
Referenced by dataBlockSize(), isRealData(), and run().
|
private |
Definition at line 261 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 249 of file DAQSourceModelsScouting.h.
|
private |
Definition at line 262 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().
|
private |
Definition at line 257 of file DAQSourceModelsScouting.h.
Referenced by makeDataBlockView().