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< 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
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 280 of file DAQSourceModelsFRD.cc.

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

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

References SiStripCommissioningSource_FromRAW_cfg::fileListMode, reco_skim_cfg_mod::fullpath, mps_fire::i, and castor_dqm_sourceclient_file_cfg::path.

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

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

299 { return crcMsg_; }

◆ headerSize()

uint32_t DataModeFRDStriped::headerSize ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 109 of file DAQSourceModelsFRD.h.

References detectedFRDversion_, and edm::streamer::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  }
assert(be >=bs)
std::vector< std::unique_ptr< edm::streamer::FRDEventMsgView > > events_

◆ makeDaqProvenanceHelpers()

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

Implements DataMode.

Definition at line 258 of file DAQSourceModelsFRD.cc.

258  {
259  //set FRD data collection
260  daqProvenanceHelpers_.clear();
261  daqProvenanceHelpers_.emplace_back(std::make_shared<const edm::DaqProvenanceHelper>(
262  edm::TypeID(typeid(FEDRawDataCollection)), "FEDRawDataCollection", "FEDRawDataCollection", "DAQSource"));
263  return daqProvenanceHelpers_;
264 }
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 158 of file DAQSourceModelsFRD.cc.

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

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

◆ makeEvents()

bool DataModeFRDStriped::makeEvents ( )
private

Definition at line 336 of file DAQSourceModelsFRD.cc.

References cms::cuda::assert(), Exception, mps_fire::i, and findQualityFiles::size.

Referenced by makeDataBlockView().

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

◆ nextEventView()

bool DataModeFRDStriped::nextEventView ( )
overridevirtual

Implements DataMode.

Definition at line 325 of file DAQSourceModelsFRD.cc.

References mps_fire::i.

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

◆ readEvent()

void DataModeFRDStriped::readEvent ( edm::EventPrincipal eventPrincipal)
overridevirtual

Implements DataMode.

Definition at line 168 of file DAQSourceModelsFRD.cc.

References cms::cuda::assert(), printConversionInfo::aux, runTheMatrix::const, Exception, FEDHeader::length, evf::evtn::makeEventAuxiliary(), eostools::move(), edm::EventAuxiliary::PhysicsTrigger, edm::EventPrincipal::put(), l1tstage2_dqm_sourceclient-live_cfg::rawData, and FEDHeader::triggerType().

168  {
169  assert(!events_.empty());
170  std::unique_ptr<FEDRawDataCollection> rawData(new FEDRawDataCollection);
171  bool tcdsInRange;
172  unsigned char* tcds_pointer = nullptr;
173  edm::Timestamp tstamp = fillFRDCollection(*rawData, tcdsInRange, tcds_pointer);
174 
175  auto const& event = events_[0];
176  if (daqSource_->useL1EventID()) {
177  uint32_t L1EventID = event->event();
180  eventID, daqSource_->processGUID(), tstamp, event->isRealData(), edm::EventAuxiliary::PhysicsTrigger);
181  aux.setProcessHistoryID(daqSource_->processHistoryID());
182  daqSource_->makeEventWrapper(eventPrincipal, aux);
183  } else if (tcds_pointer == nullptr) {
184  uint32_t L1EventID = event->event();
185  throw cms::Exception("DAQSource::read") << "No TCDS FED in event with FEDHeader EID -: " << L1EventID;
186  } else {
187  const FEDHeader fedHeader(tcds_pointer);
188  tcds::Raw_v1 const* tcds = reinterpret_cast<tcds::Raw_v1 const*>(tcds_pointer + FEDHeader::length);
193  event->isRealData(),
194  static_cast<edm::EventAuxiliary::ExperimentType>(fedHeader.triggerType()),
197  !tcdsInRange);
198  aux.setProcessHistoryID(daqSource_->processHistoryID());
199  daqSource_->makeEventWrapper(eventPrincipal, aux);
200  }
201  std::unique_ptr<edm::WrapperBase> edp(new edm::Wrapper<FEDRawDataCollection>(std::move(rawData)));
202  eventPrincipal.put(
203  daqProvenanceHelpers_[0]->branchDescription(), std::move(edp), daqProvenanceHelpers_[0]->dummyProvenance());
204  eventCached_ = false;
205 }
edm::Timestamp fillFRDCollection(FEDRawDataCollection &rawData, bool &tcdsInRange, unsigned char *&tcds_pointer)
static const uint32_t length
Definition: FEDHeader.h:54
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
std::vector< std::unique_ptr< edm::streamer::FRDEventMsgView > > events_
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  }
assert(be >=bs)
std::vector< std::unique_ptr< edm::streamer::FRDEventMsgView > > events_

◆ 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 edm::streamer::FRDHeaderMaxVersion.

Member Data Documentation

◆ blockCompleted_

bool DataModeFRDStriped::blockCompleted_ = true
private

Definition at line 197 of file DAQSourceModelsFRD.h.

Referenced by dataBlockCompleted(), and makeDataBlockView().

◆ buPaths_

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

Definition at line 201 of file DAQSourceModelsFRD.h.

◆ crcMsg_

std::string DataModeFRDStriped::crcMsg_
private

Definition at line 190 of file DAQSourceModelsFRD.h.

◆ daqProvenanceHelpers_

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

Definition at line 185 of file DAQSourceModelsFRD.h.

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

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

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

◆ events_

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

Definition at line 189 of file DAQSourceModelsFRD.h.

Referenced by dataBlockSize(), isRealData(), and run().

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

◆ MINTCDSuTCAFEDID_

uint16_t DataModeFRDStriped::MINTCDSuTCAFEDID_ = FEDNumbering::MINTCDSuTCAFEDID
private

Definition at line 199 of file DAQSourceModelsFRD.h.

Referenced by setTCDSSearchRange().

◆ numFiles_

short DataModeFRDStriped::numFiles_ = 0
private

Definition at line 195 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView().