CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
DataModeFRDStriped Class Reference

#include <DAQSourceModelsFRD.h>

Inheritance diagram for DataModeFRDStriped:
DataMode

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
DAQSourcedaqSource_
 
bool testing_ = false
 

Detailed Description

Definition at line 94 of file DAQSourceModelsFRD.h.

Constructor & Destructor Documentation

◆ DataModeFRDStriped()

DataModeFRDStriped::DataModeFRDStriped ( DAQSource daqSource)
inline

Definition at line 96 of file DAQSourceModelsFRD.h.

96 : DataMode(daqSource) {}
DataMode(DAQSource *daqSource)

◆ ~DataModeFRDStriped()

DataModeFRDStriped::~DataModeFRDStriped ( )
inlineoverride

Definition at line 97 of file DAQSourceModelsFRD.h.

97 {};

Member Function Documentation

◆ checksumValid()

bool DataModeFRDStriped::checksumValid ( )
overridevirtual

Implements DataMode.

Definition at line 278 of file DAQSourceModelsFRD.cc.

References crc32c(), crcMsg_, events_, mps_fire::i, contentValuesCheck::ss, and mps_update::status.

278  {
279  bool status = true;
280  for (size_t i = 0; i < events_.size(); i++) {
281  uint32_t crc = 0;
282  auto const& event = events_[i];
283  if (event->version() >= 5) {
284  crc = crc32c(crc, (const unsigned char*)event->payload(), event->eventSize());
285  if (crc != event->crc32c()) {
286  std::ostringstream ss;
287  ss << "Found a wrong crc32c checksum at readout index " << i << ": expected 0x" << std::hex << event->crc32c()
288  << " but calculated 0x" << crc << ". ";
289  crcMsg_ += ss.str();
290  status = false;
291  }
292  }
293  }
294  return status;
295 }
std::vector< std::unique_ptr< FRDEventMsgView > > events_
uint32_t crc32c(uint32_t crc, const unsigned char *buf, size_t len)
Definition: crc32c.cc:340
Definition: event.py:1

◆ dataBlockCompleted()

bool DataModeFRDStriped::dataBlockCompleted ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 161 of file DAQSourceModelsFRD.h.

References blockCompleted_.

161 { return blockCompleted_; }

◆ dataBlockInitialized()

bool DataModeFRDStriped::dataBlockInitialized ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 167 of file DAQSourceModelsFRD.h.

References dataBlockInitialized_.

◆ dataBlockSize()

uint64_t DataModeFRDStriped::dataBlockSize ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 113 of file DAQSourceModelsFRD.h.

References events_.

113  {
114  //just get first event size
115  if (events_.empty())
116  throw cms::Exception("DataModeFRDStriped::dataBlockSize") << " empty event array";
117  return events_[0]->size();
118  }
std::vector< std::unique_ptr< FRDEventMsgView > > events_

◆ dataVersion()

int DataModeFRDStriped::dataVersion ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 104 of file DAQSourceModelsFRD.h.

References detectedFRDversion_.

104 { return detectedFRDversion_; }

◆ defineAdditionalFiles()

std::pair< bool, std::vector< std::string > > DataModeFRDStriped::defineAdditionalFiles ( std::string const &  primaryName,
bool  fileListMode 
) const
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.

304  {
305  std::vector<std::string> additionalFiles;
306 
307  if (fileListMode) {
308  //for the unit test
309  additionalFiles.push_back(primaryName + "_1");
310  return std::make_pair(true, additionalFiles);
311  }
312 
313  auto fullpath = std::filesystem::path(primaryName);
314  auto fullname = fullpath.filename();
315 
316  for (size_t i = 1; i < buPaths_.size(); i++) {
317  std::filesystem::path newPath = buPaths_[i] / fullname;
318  additionalFiles.push_back(newPath.generic_string());
319  }
320  return std::make_pair(true, additionalFiles);
321 }
std::vector< std::filesystem::path > buPaths_

◆ detectVersion()

void DataModeFRDStriped::detectVersion ( unsigned char *  fileBuf,
uint32_t  fileHeaderOffset 
)
inlineoverridevirtual

Implements DataMode.

Definition at line 105 of file DAQSourceModelsFRD.h.

References detectedFRDversion_.

105  {
106  detectedFRDversion_ = *((uint16_t*)(fileBuf + fileHeaderOffset));
107  }

◆ fillFRDCollection()

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().

207  {
209  timeval stv;
210  gettimeofday(&stv, nullptr);
211  time = stv.tv_sec;
212  time = (time << 32) + stv.tv_usec;
213  edm::Timestamp tstamp(time);
214 
215  tcds_pointer = nullptr;
216  tcdsInRange = false;
217  uint16_t selectedTCDSFed = 0;
218  int selectedTCDSFileIndex = -1;
219  for (size_t index = 0; index < events_.size(); index++) {
220  uint32_t eventSize = events_[index]->eventSize();
221  unsigned char* event = (unsigned char*)events_[index]->payload();
222  while (eventSize > 0) {
223  assert(eventSize >= FEDTrailer::length);
224  eventSize -= FEDTrailer::length;
225  const FEDTrailer fedTrailer(event + eventSize);
226  const uint32_t fedSize = fedTrailer.fragmentLength() << 3; //trailer length counts in 8 bytes
227  assert(eventSize >= fedSize - FEDHeader::length);
228  eventSize -= (fedSize - FEDHeader::length);
229  const FEDHeader fedHeader(event + eventSize);
230  const uint16_t fedId = fedHeader.sourceID();
232  throw cms::Exception("DataModeFRDStriped:::fillFRDCollection") << "Out of range FED ID : " << fedId;
233  } else if (fedId >= MINTCDSuTCAFEDID_ && fedId <= MAXTCDSuTCAFEDID_) {
234  if (!selectedTCDSFed) {
235  selectedTCDSFed = fedId;
236  selectedTCDSFileIndex = index;
237  tcds_pointer = event + eventSize;
239  tcdsInRange = true;
240  }
241  } else if (!testing_)
242  throw cms::Exception("DataModeFRDStriped:::fillFRDCollection")
243  << "Second TCDS FED ID " << fedId << " found in file " << selectedTCDSFileIndex
244  << ". First ID: " << selectedTCDSFed << " in file " << index;
245  }
246  FEDRawData& fedData = rawData.FEDData(fedId);
247  fedData.resize(fedSize);
248  memcpy(fedData.data(), event + eventSize, fedSize);
249  }
250  assert(eventSize == 0);
251  }
252 
253  return tstamp;
254 }
static const uint32_t length
Definition: FEDTrailer.h:57
static const uint32_t length
Definition: FEDHeader.h:54
std::vector< std::unique_ptr< FRDEventMsgView > > events_
assert(be >=bs)
unsigned long long TimeValue_t
Definition: Timestamp.h:21
void resize(size_t newsize, size_t wordsize=8)
Definition: FEDRawData.cc:28
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
Definition: event.py:1

◆ fitToBuffer()

bool DataModeFRDStriped::fitToBuffer ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 165 of file DAQSourceModelsFRD.h.

165 { return true; }

◆ getChecksumError()

std::string DataModeFRDStriped::getChecksumError ( ) const
overridevirtual

Implements DataMode.

Definition at line 297 of file DAQSourceModelsFRD.cc.

References crcMsg_.

297 { return crcMsg_; }

◆ headerSize()

uint32_t DataModeFRDStriped::headerSize ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 109 of file DAQSourceModelsFRD.h.

References detectedFRDversion_, and FRDHeaderVersionSize.

constexpr std::array< uint32, FRDHeaderMaxVersion+1 > FRDHeaderVersionSize

◆ isRealData()

bool DataModeFRDStriped::isRealData ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 151 of file DAQSourceModelsFRD.h.

References cms::cuda::assert(), and events_.

151  {
152  assert(!events_.empty());
153  return events_[0]->isRealData();
154  }
std::vector< std::unique_ptr< FRDEventMsgView > > events_
assert(be >=bs)

◆ makeDaqProvenanceHelpers()

std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > & DataModeFRDStriped::makeDaqProvenanceHelpers ( )
overridevirtual

Implements DataMode.

Definition at line 256 of file DAQSourceModelsFRD.cc.

References daqProvenanceHelpers_.

256  {
257  //set FRD data collection
258  daqProvenanceHelpers_.clear();
259  daqProvenanceHelpers_.emplace_back(std::make_shared<const edm::DaqProvenanceHelper>(
260  edm::TypeID(typeid(FEDRawDataCollection)), "FEDRawDataCollection", "FEDRawDataCollection", "DAQSource"));
261  return daqProvenanceHelpers_;
262 }
std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > daqProvenanceHelpers_

◆ makeDataBlockView()

void DataModeFRDStriped::makeDataBlockView ( unsigned char *  addr,
size_t  maxSize,
std::vector< uint64_t > const &  fileSizes,
size_t  fileHeaderSize 
)
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().

123  {
124  fileHeaderSize_ = fileHeaderSize;
125  numFiles_ = fileSizes.size();
126  //add offset address for each file payload
127  dataBlockAddrs_.clear();
128  dataBlockAddrs_.push_back(addr);
129  dataBlockMaxAddrs_.clear();
130  dataBlockMaxAddrs_.push_back(addr + fileSizes[0] - fileHeaderSize);
131  auto fileAddr = addr;
132  for (unsigned int i = 1; i < fileSizes.size(); i++) {
133  fileAddr += fileSizes[i - 1];
134  dataBlockAddrs_.push_back(fileAddr);
135  dataBlockMaxAddrs_.push_back(fileAddr + fileSizes[i] - fileHeaderSize);
136  }
137 
139  blockCompleted_ = false;
140  //set event cached as we set initial address here
141  bool result = makeEvents();
142  assert(result);
143  eventCached_ = true;
145  }
assert(be >=bs)
std::vector< unsigned char * > dataBlockMaxAddrs_
std::vector< unsigned char * > dataBlockAddrs_
void setDataBlockInitialized(bool val) override

◆ makeDirectoryEntries()

void DataModeFRDStriped::makeDirectoryEntries ( std::vector< std::string > const &  baseDirs,
std::vector< int > const &  numSources,
std::string const &  runDir 
)
overridevirtual

Implements DataMode.

Definition at line 156 of file DAQSourceModelsFRD.cc.

References ALCARECODTCalibSynchDQM_cff::baseDir, buPaths_, and castor_dqm_sourceclient_file_cfg::path.

158  {
159  std::filesystem::path runDirP(runDir);
160  for (auto& baseDir : baseDirs) {
161  std::filesystem::path baseDirP(baseDir);
162  buPaths_.emplace_back(baseDirP / runDirP);
163  }
164 }
std::vector< std::filesystem::path > buPaths_

◆ makeEvents()

bool DataModeFRDStriped::makeEvents ( )
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().

334  {
335  events_.clear();
337  for (int i = 0; i < numFiles_; i++) {
339  //must be exact
341  blockCompleted_ = true;
342  return false;
343  } else {
344  if (blockCompleted_)
345  throw cms::Exception("DataModeFRDStriped::makeEvents")
346  << "not all striped blocks were completed at the same time";
347  }
348  if (blockCompleted_)
349  continue;
350  events_.emplace_back(std::make_unique<FRDEventMsgView>(dataBlockAddrs_[i]));
352  throw cms::Exception("DAQSource::getNextEvent")
353  << " event id:" << events_[i]->event() << " lumi:" << events_[i]->lumi() << " run:" << events_[i]->run()
354  << " of size:" << events_[i]->size() << " bytes does not fit into the buffer or has corrupted header";
355  }
356  return !blockCompleted_;
357 }
size
Write out results.
std::vector< std::unique_ptr< FRDEventMsgView > > events_
assert(be >=bs)
std::vector< unsigned char * > dataBlockMaxAddrs_
std::vector< unsigned char * > dataBlockAddrs_

◆ nextEventView()

bool DataModeFRDStriped::nextEventView ( )
overridevirtual

Implements DataMode.

Definition at line 323 of file DAQSourceModelsFRD.cc.

References blockCompleted_, dataBlockAddrs_, eventCached_, events_, mps_fire::i, and makeEvents().

323  {
324  blockCompleted_ = false;
325  if (eventCached_)
326  return true;
327  for (unsigned int i = 0; i < events_.size(); i++) {
328  //add last event length to each stripe
329  dataBlockAddrs_[i] += events_[i]->size();
330  }
331  return makeEvents();
332 }
std::vector< std::unique_ptr< FRDEventMsgView > > events_
std::vector< unsigned char * > dataBlockAddrs_

◆ readEvent()

void DataModeFRDStriped::readEvent ( edm::EventPrincipal eventPrincipal)
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().

166  {
167  assert(!events_.empty());
168  std::unique_ptr<FEDRawDataCollection> rawData(new FEDRawDataCollection);
169  bool tcdsInRange;
170  unsigned char* tcds_pointer = nullptr;
171  edm::Timestamp tstamp = fillFRDCollection(*rawData, tcdsInRange, tcds_pointer);
172 
173  auto const& event = events_[0];
174  if (daqSource_->useL1EventID()) {
175  uint32_t L1EventID = event->event();
178  eventID, daqSource_->processGUID(), tstamp, event->isRealData(), edm::EventAuxiliary::PhysicsTrigger);
179  aux.setProcessHistoryID(daqSource_->processHistoryID());
180  daqSource_->makeEventWrapper(eventPrincipal, aux);
181  } else if (tcds_pointer == nullptr) {
182  uint32_t L1EventID = event->event();
183  throw cms::Exception("DAQSource::read") << "No TCDS FED in event with FEDHeader EID -: " << L1EventID;
184  } else {
185  const FEDHeader fedHeader(tcds_pointer);
186  tcds::Raw_v1 const* tcds = reinterpret_cast<tcds::Raw_v1 const*>(tcds_pointer + FEDHeader::length);
191  event->isRealData(),
192  static_cast<edm::EventAuxiliary::ExperimentType>(fedHeader.triggerType()),
195  !tcdsInRange);
196  aux.setProcessHistoryID(daqSource_->processHistoryID());
197  daqSource_->makeEventWrapper(eventPrincipal, aux);
198  }
199  std::unique_ptr<edm::WrapperBase> edp(new edm::Wrapper<FEDRawDataCollection>(std::move(rawData)));
200  eventPrincipal.put(
201  daqProvenanceHelpers_[0]->branchDescription(), std::move(edp), daqProvenanceHelpers_[0]->dummyProvenance());
202  eventCached_ = false;
203 }
edm::Timestamp fillFRDCollection(FEDRawDataCollection &rawData, bool &tcdsInRange, unsigned char *&tcds_pointer)
static const uint32_t length
Definition: FEDHeader.h:54
std::vector< std::unique_ptr< FRDEventMsgView > > events_
assert(be >=bs)
edm::EventAuxiliary makeEventAuxiliary(const tcds::Raw_v1 *, unsigned int runNumber, unsigned int lumiSection, bool isRealData, const edm::EventAuxiliary::ExperimentType &, const std::string &processGUID, bool verifyLumiSection, bool suppressWarning)
int currentLumiSection() const
Definition: DAQSource.h:52
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
Definition: TCDSRaw.h:16
std::string const & processGUID() const
Accessor for global process identifier.
Definition: InputSource.h:226
bool useL1EventID() const
Definition: DAQSource.h:51
void makeEventWrapper(edm::EventPrincipal &eventPrincipal, edm::EventAuxiliary &aux)
Definition: DAQSource.h:54
edm::ProcessHistoryID & processHistoryID()
Definition: DAQSource.h:59
std::vector< std::shared_ptr< const edm::DaqProvenanceHelper > > daqProvenanceHelpers_
bool fileListLoopMode()
Definition: DAQSource.h:57
DAQSource * daqSource_
int eventRunNumber() const
Definition: DAQSource.h:53
def move(src, dest)
Definition: eostools.py:511

◆ requireHeader()

bool DataModeFRDStriped::requireHeader ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 163 of file DAQSourceModelsFRD.h.

163 { return true; }

◆ run()

uint32_t DataModeFRDStriped::run ( ) const
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().

156  {
157  assert(!events_.empty());
158  return events_[0]->run();
159  }
std::vector< std::unique_ptr< FRDEventMsgView > > events_
assert(be >=bs)

◆ setDataBlockInitialized()

void DataModeFRDStriped::setDataBlockInitialized ( bool  val)
inlineoverridevirtual

Implements DataMode.

Definition at line 169 of file DAQSourceModelsFRD.h.

References dataBlockInitialized_, and heppy_batch::val.

Referenced by makeDataBlockView().

◆ setTCDSSearchRange()

void DataModeFRDStriped::setTCDSSearchRange ( uint16_t  MINTCDSuTCAFEDID,
uint16_t  MAXTCDSuTCAFEDID 
)
inlineoverridevirtual

Implements DataMode.

Definition at line 171 of file DAQSourceModelsFRD.h.

References MAXTCDSuTCAFEDID_, and MINTCDSuTCAFEDID_.

171  {
172  MINTCDSuTCAFEDID_ = MINTCDSuTCAFEDID;
173  MAXTCDSuTCAFEDID_ = MAXTCDSuTCAFEDID;
174  }

◆ versionCheck()

bool DataModeFRDStriped::versionCheck ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 111 of file DAQSourceModelsFRD.h.

References detectedFRDversion_, and FRDHeaderMaxVersion.

constexpr size_t FRDHeaderMaxVersion

Member Data Documentation

◆ blockCompleted_

bool DataModeFRDStriped::blockCompleted_ = true
private

◆ buPaths_

std::vector<std::filesystem::path> DataModeFRDStriped::buPaths_
private

Definition at line 201 of file DAQSourceModelsFRD.h.

Referenced by defineAdditionalFiles(), and makeDirectoryEntries().

◆ crcMsg_

std::string DataModeFRDStriped::crcMsg_
private

Definition at line 190 of file DAQSourceModelsFRD.h.

Referenced by checksumValid(), and getChecksumError().

◆ daqProvenanceHelpers_

std::vector<std::shared_ptr<const edm::DaqProvenanceHelper> > DataModeFRDStriped::daqProvenanceHelpers_
private

Definition at line 185 of file DAQSourceModelsFRD.h.

Referenced by makeDaqProvenanceHelpers(), and readEvent().

◆ dataBlockAddr_

unsigned char* DataModeFRDStriped::dataBlockAddr_ = nullptr
private

Definition at line 191 of file DAQSourceModelsFRD.h.

◆ dataBlockAddrs_

std::vector<unsigned char*> DataModeFRDStriped::dataBlockAddrs_
private

Definition at line 192 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), makeEvents(), and nextEventView().

◆ dataBlockInitialized_

bool DataModeFRDStriped::dataBlockInitialized_ = false
private

Definition at line 196 of file DAQSourceModelsFRD.h.

Referenced by dataBlockInitialized(), and setDataBlockInitialized().

◆ dataBlockMax_

size_t DataModeFRDStriped::dataBlockMax_ = 0
private

Definition at line 194 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView().

◆ dataBlockMaxAddrs_

std::vector<unsigned char*> DataModeFRDStriped::dataBlockMaxAddrs_
private

Definition at line 193 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), and makeEvents().

◆ detectedFRDversion_

uint16_t DataModeFRDStriped::detectedFRDversion_ = 0
private

Definition at line 186 of file DAQSourceModelsFRD.h.

Referenced by dataVersion(), detectVersion(), headerSize(), and versionCheck().

◆ eventCached_

bool DataModeFRDStriped::eventCached_ = false
private

Definition at line 198 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), nextEventView(), and readEvent().

◆ events_

std::vector<std::unique_ptr<FRDEventMsgView> > DataModeFRDStriped::events_
private

◆ fileHeaderSize_

size_t DataModeFRDStriped::fileHeaderSize_ = 0
private

Definition at line 187 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView().

◆ headerSize_

size_t DataModeFRDStriped::headerSize_ = 0
private

Definition at line 188 of file DAQSourceModelsFRD.h.

◆ MAXTCDSuTCAFEDID_

uint16_t DataModeFRDStriped::MAXTCDSuTCAFEDID_ = FEDNumbering::MAXTCDSuTCAFEDID
private

Definition at line 200 of file DAQSourceModelsFRD.h.

Referenced by fillFRDCollection(), and setTCDSSearchRange().

◆ MINTCDSuTCAFEDID_

uint16_t DataModeFRDStriped::MINTCDSuTCAFEDID_ = FEDNumbering::MINTCDSuTCAFEDID
private

Definition at line 199 of file DAQSourceModelsFRD.h.

Referenced by fillFRDCollection(), and setTCDSSearchRange().

◆ numFiles_

short DataModeFRDStriped::numFiles_ = 0
private

Definition at line 195 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), and makeEvents().