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::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 92 of file DAQSourceModelsFRD.h.

Constructor & Destructor Documentation

◆ DataModeFRDStriped()

DataModeFRDStriped::DataModeFRDStriped ( DAQSource daqSource)
inline

Definition at line 94 of file DAQSourceModelsFRD.h.

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

◆ ~DataModeFRDStriped()

DataModeFRDStriped::~DataModeFRDStriped ( )
inlineoverride

Definition at line 95 of file DAQSourceModelsFRD.h.

95 {};

Member Function Documentation

◆ checksumValid()

bool DataModeFRDStriped::checksumValid ( )
overridevirtual

Implements DataMode.

Definition at line 276 of file DAQSourceModelsFRD.cc.

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

276  {
277  bool status = true;
278  for (size_t i = 0; i < events_.size(); i++) {
279  uint32_t crc = 0;
280  auto const& event = events_[i];
281  if (event->version() >= 5) {
282  crc = crc32c(crc, (const unsigned char*)event->payload(), event->eventSize());
283  if (crc != event->crc32c()) {
284  std::ostringstream ss;
285  ss << "Found a wrong crc32c checksum at readout index " << i << ": expected 0x" << std::hex << event->crc32c()
286  << " but calculated 0x" << crc << ". ";
287  crcMsg_ += ss.str();
288  status = false;
289  }
290  }
291  }
292  return status;
293 }
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 159 of file DAQSourceModelsFRD.h.

References blockCompleted_.

159 { return blockCompleted_; }

◆ dataBlockInitialized()

bool DataModeFRDStriped::dataBlockInitialized ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 165 of file DAQSourceModelsFRD.h.

References dataBlockInitialized_.

◆ dataBlockSize()

uint64_t DataModeFRDStriped::dataBlockSize ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 111 of file DAQSourceModelsFRD.h.

References events_.

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

◆ dataVersion()

int DataModeFRDStriped::dataVersion ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 102 of file DAQSourceModelsFRD.h.

References detectedFRDversion_.

102 { 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 301 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.

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

◆ detectVersion()

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

Implements DataMode.

Definition at line 103 of file DAQSourceModelsFRD.h.

References detectedFRDversion_.

103  {
104  detectedFRDversion_ = *((uint16_t*)(fileBuf + fileHeaderOffset));
105  }

◆ fillFRDCollection()

edm::Timestamp DataModeFRDStriped::fillFRDCollection ( FEDRawDataCollection rawData,
bool &  tcdsInRange,
unsigned char *&  tcds_pointer 
)

Definition at line 203 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().

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

163 { return true; }

◆ getChecksumError()

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

Implements DataMode.

Definition at line 295 of file DAQSourceModelsFRD.cc.

References crcMsg_.

295 { return crcMsg_; }

◆ headerSize()

uint32_t DataModeFRDStriped::headerSize ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 107 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 149 of file DAQSourceModelsFRD.h.

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

149  {
150  assert(!events_.empty());
151  return events_[0]->isRealData();
152  }
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 254 of file DAQSourceModelsFRD.cc.

References daqProvenanceHelpers_.

254  {
255  //set FRD data collection
256  daqProvenanceHelpers_.clear();
257  daqProvenanceHelpers_.emplace_back(std::make_shared<const edm::DaqProvenanceHelper>(
258  edm::TypeID(typeid(FEDRawDataCollection)), "FEDRawDataCollection", "FEDRawDataCollection", "DAQSource"));
259  return daqProvenanceHelpers_;
260 }
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 118 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().

121  {
122  fileHeaderSize_ = fileHeaderSize;
123  numFiles_ = fileSizes.size();
124  //add offset address for each file payload
125  dataBlockAddrs_.clear();
126  dataBlockAddrs_.push_back(addr);
127  dataBlockMaxAddrs_.clear();
128  dataBlockMaxAddrs_.push_back(addr + fileSizes[0] - fileHeaderSize);
129  auto fileAddr = addr;
130  for (unsigned int i = 1; i < fileSizes.size(); i++) {
131  fileAddr += fileSizes[i - 1];
132  dataBlockAddrs_.push_back(fileAddr);
133  dataBlockMaxAddrs_.push_back(fileAddr + fileSizes[i] - fileHeaderSize);
134  }
135 
137  blockCompleted_ = false;
138  //set event cached as we set initial address here
139  bool result = makeEvents();
140  assert(result);
141  eventCached_ = true;
143  }
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::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.

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

◆ makeEvents()

bool DataModeFRDStriped::makeEvents ( )
private

Definition at line 332 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().

332  {
333  events_.clear();
335  for (int i = 0; i < numFiles_; i++) {
337  //must be exact
339  blockCompleted_ = true;
340  return false;
341  } else {
342  if (blockCompleted_)
343  throw cms::Exception("DataModeFRDStriped::makeEvents")
344  << "not all striped blocks were completed at the same time";
345  }
346  if (blockCompleted_)
347  continue;
348  events_.emplace_back(std::make_unique<FRDEventMsgView>(dataBlockAddrs_[i]));
350  throw cms::Exception("DAQSource::getNextEvent")
351  << " event id:" << events_[i]->event() << " lumi:" << events_[i]->lumi() << " run:" << events_[i]->run()
352  << " of size:" << events_[i]->size() << " bytes does not fit into the buffer or has corrupted header";
353  }
354  return !blockCompleted_;
355 }
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 321 of file DAQSourceModelsFRD.cc.

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

321  {
322  blockCompleted_ = false;
323  if (eventCached_)
324  return true;
325  for (unsigned int i = 0; i < events_.size(); i++) {
326  //add last event length to each stripe
327  dataBlockAddrs_[i] += events_[i]->size();
328  }
329  return makeEvents();
330 }
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 164 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().

164  {
165  assert(!events_.empty());
166  std::unique_ptr<FEDRawDataCollection> rawData(new FEDRawDataCollection);
167  bool tcdsInRange;
168  unsigned char* tcds_pointer = nullptr;
169  edm::Timestamp tstamp = fillFRDCollection(*rawData, tcdsInRange, tcds_pointer);
170 
171  auto const& event = events_[0];
172  if (daqSource_->useL1EventID()) {
173  uint32_t L1EventID = event->event();
176  eventID, daqSource_->processGUID(), tstamp, event->isRealData(), edm::EventAuxiliary::PhysicsTrigger);
177  aux.setProcessHistoryID(daqSource_->processHistoryID());
178  daqSource_->makeEventWrapper(eventPrincipal, aux);
179  } else if (tcds_pointer == nullptr) {
180  uint32_t L1EventID = event->event();
181  throw cms::Exception("DAQSource::read") << "No TCDS FED in event with FEDHeader EID -: " << L1EventID;
182  } else {
183  const FEDHeader fedHeader(tcds_pointer);
184  tcds::Raw_v1 const* tcds = reinterpret_cast<tcds::Raw_v1 const*>(tcds_pointer + FEDHeader::length);
189  event->isRealData(),
190  static_cast<edm::EventAuxiliary::ExperimentType>(fedHeader.triggerType()),
193  !tcdsInRange);
194  aux.setProcessHistoryID(daqSource_->processHistoryID());
195  daqSource_->makeEventWrapper(eventPrincipal, aux);
196  }
197  std::unique_ptr<edm::WrapperBase> edp(new edm::Wrapper<FEDRawDataCollection>(std::move(rawData)));
198  eventPrincipal.put(
199  daqProvenanceHelpers_[0]->branchDescription(), std::move(edp), daqProvenanceHelpers_[0]->dummyProvenance());
200  eventCached_ = false;
201 }
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:197
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 161 of file DAQSourceModelsFRD.h.

161 { return true; }

◆ run()

uint32_t DataModeFRDStriped::run ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 154 of file DAQSourceModelsFRD.h.

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

Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().

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

◆ setDataBlockInitialized()

void DataModeFRDStriped::setDataBlockInitialized ( bool  val)
inlineoverridevirtual

Implements DataMode.

Definition at line 167 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 169 of file DAQSourceModelsFRD.h.

References MAXTCDSuTCAFEDID_, and MINTCDSuTCAFEDID_.

169  {
170  MINTCDSuTCAFEDID_ = MINTCDSuTCAFEDID;
171  MAXTCDSuTCAFEDID_ = MAXTCDSuTCAFEDID;
172  }

◆ versionCheck()

bool DataModeFRDStriped::versionCheck ( ) const
inlineoverridevirtual

Implements DataMode.

Definition at line 109 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 197 of file DAQSourceModelsFRD.h.

Referenced by defineAdditionalFiles(), and makeDirectoryEntries().

◆ crcMsg_

std::string DataModeFRDStriped::crcMsg_
private

Definition at line 186 of file DAQSourceModelsFRD.h.

Referenced by checksumValid(), and getChecksumError().

◆ daqProvenanceHelpers_

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

Definition at line 181 of file DAQSourceModelsFRD.h.

Referenced by makeDaqProvenanceHelpers(), and readEvent().

◆ dataBlockAddr_

unsigned char* DataModeFRDStriped::dataBlockAddr_ = nullptr
private

Definition at line 187 of file DAQSourceModelsFRD.h.

◆ dataBlockAddrs_

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

Definition at line 188 of file DAQSourceModelsFRD.h.

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

◆ dataBlockInitialized_

bool DataModeFRDStriped::dataBlockInitialized_ = false
private

Definition at line 192 of file DAQSourceModelsFRD.h.

Referenced by dataBlockInitialized(), and setDataBlockInitialized().

◆ dataBlockMax_

size_t DataModeFRDStriped::dataBlockMax_ = 0
private

Definition at line 190 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView().

◆ dataBlockMaxAddrs_

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

Definition at line 189 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), and makeEvents().

◆ detectedFRDversion_

uint16_t DataModeFRDStriped::detectedFRDversion_ = 0
private

Definition at line 182 of file DAQSourceModelsFRD.h.

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

◆ eventCached_

bool DataModeFRDStriped::eventCached_ = false
private

Definition at line 194 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 183 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView().

◆ headerSize_

size_t DataModeFRDStriped::headerSize_ = 0
private

Definition at line 184 of file DAQSourceModelsFRD.h.

◆ MAXTCDSuTCAFEDID_

uint16_t DataModeFRDStriped::MAXTCDSuTCAFEDID_ = FEDNumbering::MAXTCDSuTCAFEDID
private

Definition at line 196 of file DAQSourceModelsFRD.h.

Referenced by fillFRDCollection(), and setTCDSSearchRange().

◆ MINTCDSuTCAFEDID_

uint16_t DataModeFRDStriped::MINTCDSuTCAFEDID_ = FEDNumbering::MINTCDSuTCAFEDID
private

Definition at line 195 of file DAQSourceModelsFRD.h.

Referenced by fillFRDCollection(), and setTCDSSearchRange().

◆ numFiles_

short DataModeFRDStriped::numFiles_ = 0
private

Definition at line 191 of file DAQSourceModelsFRD.h.

Referenced by makeDataBlockView(), and makeEvents().