CMS 3D CMS Logo

FedRawDataInputSource.h
Go to the documentation of this file.
1 #ifndef EventFilter_Utilities_FedRawDataInputSource_h
2 #define EventFilter_Utilities_FedRawDataInputSource_h
3 
4 #include <condition_variable>
5 #include <cstdio>
6 #include <filesystem>
7 #include <memory>
8 #include <mutex>
9 #include <thread>
10 
11 #include "tbb/concurrent_queue.h"
12 #include "tbb/concurrent_vector.h"
13 
22 
25 
27 class InputSourceDescription;
28 class ParameterSet;
29 
30 struct InputFile;
31 struct InputChunk;
32 
33 namespace evf {
35 }
36 
38  friend struct InputFile;
39  friend struct InputChunk;
40 
41 public:
43  ~FedRawDataInputSource() override;
44  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
45 
46  std::pair<bool, unsigned int> getEventReport(unsigned int lumi, bool erase);
47 
48 protected:
49  Next checkNext() override;
50  void read(edm::EventPrincipal& eventPrincipal) override;
51 
52 private:
53  void rewind_() override;
54 
55  void maybeOpenNewLumiSection(const uint32_t lumiSection);
59 
60  void readSupervisor();
61  void readWorker(unsigned int tid);
62  void threadError();
64 
65  //functions for single buffered reader
67 
68  //monitoring
69  void reportEventsThisLumiInSource(unsigned int lumi, unsigned int events);
70 
71  long initFileList();
73  std::string& nextFile,
74  uint32_t& fsize,
75  uint64_t& lockWaitTime);
76 
77  //variables
80 
82 
83  unsigned int eventChunkSize_; // for buffered read-ahead
84  unsigned int eventChunkBlock_; // how much read(2) asks at the time
85  unsigned int readBlocks_;
86  unsigned int numBuffers_;
87  unsigned int maxBufferedFiles_;
88  unsigned int numConcurrentReads_;
89  std::atomic<unsigned int> readingFilesCount_;
90 
91  // get LS from filename instead of event header
92  const bool getLSFromFilename_;
94  const bool verifyChecksum_;
95  const bool useL1EventID_;
96  const std::vector<unsigned int> testTCDSFEDRange_;
97  std::vector<std::string> fileNames_;
99  //std::vector<std::string> fileNamesSorted_;
100 
101  const bool fileListMode_;
102  unsigned int fileListIndex_ = 0;
103  const bool fileListLoopMode_;
104  unsigned int loopModeIterationInc_ = 0;
105 
108 
110 
111  std::unique_ptr<FRDEventMsgView> event_;
112 
115 
116  unsigned int currentLumiSection_;
117  uint32_t eventRunNumber_ = 0;
118  uint32_t GTPEventID_ = 0;
119  uint32_t L1EventID_ = 0;
120  unsigned char* tcds_pointer_;
121  unsigned int eventsThisLumi_;
122  unsigned long eventsThisRun_ = 0;
123 
126 
127  /*
128  *
129  * Multithreaded file reader
130  *
131  **/
132 
133  typedef std::pair<InputFile*, InputChunk*> ReaderInfo;
134 
135  uint16_t detectedFRDversion_ = 0;
136  std::unique_ptr<InputFile> currentFile_;
137  bool chunkIsFree_ = false;
138 
140  std::unique_ptr<std::thread> readSupervisorThread_;
141  std::vector<std::thread*> workerThreads_;
142 
143  tbb::concurrent_queue<unsigned int> workerPool_;
144  std::vector<ReaderInfo> workerJob_;
145 
146  tbb::concurrent_queue<InputChunk*> freeChunks_;
147  tbb::concurrent_queue<std::unique_ptr<InputFile>> fileQueue_;
148 
150  std::vector<std::condition_variable*> cvReader_;
151  std::vector<unsigned int> tid_active_;
152 
153  std::atomic<bool> quit_threads_;
154  std::vector<unsigned int> thread_quit_signal;
155  bool setExceptionState_ = false;
157  std::condition_variable startupCv_;
158 
160  std::list<std::pair<int, std::unique_ptr<InputFile>>> filesToDelete_;
161  std::list<std::pair<int, std::string>> fileNamesToDelete_;
163  std::vector<int> streamFileTracker_;
164  unsigned int nStreams_ = 0;
165  unsigned int checkEvery_ = 10;
166 
167  //supervisor thread wakeup
169  std::condition_variable cvWakeup_;
170 
171  //variables for the single buffered mode
173  int fileDescriptor_ = -1;
174  uint32_t bufferInputRead_ = 0;
175 
176  std::atomic<bool> threadInit_;
177 
178  std::map<unsigned int, unsigned int> sourceEventsReport_;
180 };
181 
182 struct InputChunk {
183  unsigned char* buf_;
184  InputChunk* next_ = nullptr;
185  uint32_t size_;
186  uint32_t usedSize_ = 0;
187  unsigned int index_;
188  unsigned int offset_;
189  unsigned int fileIndex_;
190  std::atomic<bool> readComplete_;
191 
192  InputChunk(unsigned int index, uint32_t size) : size_(size), index_(index) {
193  buf_ = new unsigned char[size_];
194  reset(0, 0, 0);
195  }
196  void reset(unsigned int newOffset, unsigned int toRead, unsigned int fileIndex) {
197  offset_ = newOffset;
198  usedSize_ = toRead;
199  fileIndex_ = fileIndex;
200  readComplete_ = false;
201  }
202 
203  ~InputChunk() { delete[] buf_; }
204 };
205 
206 struct InputFile {
209  unsigned int lumi_;
212  int rawFd_;
214  uint16_t rawHeaderSize_;
215  uint32_t nChunks_;
216  int nEvents_;
217  unsigned int nProcessed_;
218 
219  tbb::concurrent_vector<InputChunk*> chunks_;
220 
221  uint32_t bufferPosition_ = 0;
222  uint32_t chunkPosition_ = 0;
223  unsigned int currentChunk_ = 0;
224 
226  unsigned int lumi = 0,
227  std::string const& name = std::string(),
228  bool deleteFile = true,
229  int rawFd = -1,
230  uint64_t fileSize = 0,
231  uint16_t rawHeaderSize = 0,
232  uint32_t nChunks = 0,
233  int nEvents = 0,
234  FedRawDataInputSource* parent = nullptr)
235  : parent_(parent),
236  status_(status),
237  lumi_(lumi),
238  fileName_(name),
239  deleteFile_(deleteFile),
240  rawFd_(rawFd),
241  fileSize_(fileSize),
242  rawHeaderSize_(rawHeaderSize),
243  nChunks_(nChunks),
244  nEvents_(nEvents),
245  nProcessed_(0) {
246  for (unsigned int i = 0; i < nChunks; i++)
247  chunks_.push_back(nullptr);
248  }
249  ~InputFile();
250 
252 
253  bool waitForChunk(unsigned int chunkid) {
254  //some atomics to make sure everything is cache synchronized for the main thread
255  return chunks_[chunkid] != nullptr && chunks_[chunkid]->readComplete_;
256  }
257  bool advance(unsigned char*& dataPosition, const size_t size);
258  void moveToPreviousChunk(const size_t size, const size_t offset);
259  void rewindChunk(const size_t size);
260 };
261 
262 #endif // EventFilter_Utilities_FedRawDataInputSource_h
263 
FedRawDataInputSource::fileDeleteLock_
std::mutex fileDeleteLock_
Definition: FedRawDataInputSource.h:162
FedRawDataInputSource::fillFEDRawDataCollection
edm::Timestamp fillFEDRawDataCollection(FEDRawDataCollection &)
Definition: FedRawDataInputSource.cc:694
FEDNumbering.h
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
FedRawDataInputSource::chunkIsFree_
bool chunkIsFree_
Definition: FedRawDataInputSource.h:137
ProcessHistoryID.h
FedRawDataInputSource::threadInit_
std::atomic< bool > threadInit_
Definition: FedRawDataInputSource.h:176
FEDNumbering::MAXTCDSuTCAFEDID
Definition: FEDNumbering.h:102
mps_fire.i
i
Definition: mps_fire.py:428
FedRawDataInputSource::rewind_
void rewind_() override
Definition: FedRawDataInputSource.cc:751
InputFile::parent_
FedRawDataInputSource * parent_
Definition: FedRawDataInputSource.h:207
InputFile::fileName_
std::string fileName_
Definition: FedRawDataInputSource.h:210
FedRawDataInputSource::maybeOpenNewLumiSection
void maybeOpenNewLumiSection(const uint32_t lumiSection)
Definition: FedRawDataInputSource.cc:306
FedRawDataInputSource::quit_threads_
std::atomic< bool > quit_threads_
Definition: FedRawDataInputSource.h:153
FedRawDataInputSource::mWakeup_
std::mutex mWakeup_
Definition: FedRawDataInputSource.h:168
FedRawDataInputSource::fileNames_
std::vector< std::string > fileNames_
Definition: FedRawDataInputSource.h:97
FedRawDataInputSource::workerThreads_
std::vector< std::thread * > workerThreads_
Definition: FedRawDataInputSource.h:141
FedRawDataInputSource::fileListIndex_
unsigned int fileListIndex_
Definition: FedRawDataInputSource.h:102
FedRawDataInputSource::MINTCDSuTCAFEDID_
uint16_t MINTCDSuTCAFEDID_
Definition: FedRawDataInputSource.h:124
FedRawDataInputSource::threadError
void threadError()
Definition: FedRawDataInputSource.cc:1351
FedRawDataInputSource::readingFilesCount_
std::atomic< unsigned int > readingFilesCount_
Definition: FedRawDataInputSource.h:89
mps_update.status
status
Definition: mps_update.py:69
FedRawDataInputSource::useL1EventID_
const bool useL1EventID_
Definition: FedRawDataInputSource.h:95
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
FedRawDataInputSource::numConcurrentReads_
unsigned int numConcurrentReads_
Definition: FedRawDataInputSource.h:88
FedRawDataInputSource::nStreams_
unsigned int nStreams_
Definition: FedRawDataInputSource.h:164
FedRawDataInputSource::getNextEvent
evf::EvFDaqDirector::FileStatus getNextEvent()
Definition: FedRawDataInputSource.cc:352
InputFile::fileSize_
uint64_t fileSize_
Definition: FedRawDataInputSource.h:213
FedRawDataInputSource::runNumber_
edm::RunNumber_t runNumber_
Definition: FedRawDataInputSource.h:106
FedRawDataInputSource::currentLumiSection_
unsigned int currentLumiSection_
Definition: FedRawDataInputSource.h:116
edm::DaqProvenanceHelper
Definition: DaqProvenanceHelper.h:27
FedRawDataInputSource::workerPool_
tbb::concurrent_queue< unsigned int > workerPool_
Definition: FedRawDataInputSource.h:143
FedRawDataInputSource::sourceEventsReport_
std::map< unsigned int, unsigned int > sourceEventsReport_
Definition: FedRawDataInputSource.h:178
InputFile::InputFile
InputFile(std::string &name)
Definition: FedRawDataInputSource.h:251
FedRawDataInputSource::readNextChunkIntoBuffer
void readNextChunkIntoBuffer(InputFile *file)
Definition: FedRawDataInputSource.cc:1428
edm::InputSourceDescription
Definition: InputSourceDescription.h:20
FedRawDataInputSource::fms_
evf::FastMonitoringService * fms_
Definition: FedRawDataInputSource.h:78
InputFile::moveToPreviousChunk
void moveToPreviousChunk(const size_t size, const size_t offset)
Definition: FedRawDataInputSource.cc:1391
FedRawDataInputSource::cvReader_
std::vector< std::condition_variable * > cvReader_
Definition: FedRawDataInputSource.h:150
InputChunk::InputChunk
InputChunk(unsigned int index, uint32_t size)
Definition: FedRawDataInputSource.h:192
FEDNumbering::MINTCDSuTCAFEDID
Definition: FEDNumbering.h:101
FedRawDataInputSource::eventChunkSize_
unsigned int eventChunkSize_
Definition: FedRawDataInputSource.h:83
InputFile::nEvents_
int nEvents_
Definition: FedRawDataInputSource.h:216
FRDEventMessage.h
FedRawDataInputSource::cvWakeup_
std::condition_variable cvWakeup_
Definition: FedRawDataInputSource.h:169
FedRawDataInputSource::freeChunks_
tbb::concurrent_queue< InputChunk * > freeChunks_
Definition: FedRawDataInputSource.h:146
patZpeak.events
events
Definition: patZpeak.py:20
FedRawDataInputSource::defPath_
std::string defPath_
Definition: FedRawDataInputSource.h:81
edm::RawInputSource
Definition: RawInputSource.h:17
FedRawDataInputSource::bufferInputRead_
uint32_t bufferInputRead_
Definition: FedRawDataInputSource.h:174
InputFile::rawHeaderSize_
uint16_t rawHeaderSize_
Definition: FedRawDataInputSource.h:214
InputFile::lumi_
unsigned int lumi_
Definition: FedRawDataInputSource.h:209
FedRawDataInputSource::getEventReport
std::pair< bool, unsigned int > getEventReport(unsigned int lumi, bool erase)
Definition: FedRawDataInputSource.cc:1508
InputFile::bufferPosition_
uint32_t bufferPosition_
Definition: FedRawDataInputSource.h:221
InputFile
Definition: FedRawDataInputSource.h:206
InputChunk::offset_
unsigned int offset_
Definition: FedRawDataInputSource.h:188
FedRawDataInputSource::workerJob_
std::vector< ReaderInfo > workerJob_
Definition: FedRawDataInputSource.h:144
InputFile::chunkPosition_
uint32_t chunkPosition_
Definition: FedRawDataInputSource.h:222
FedRawDataInputSource::readBlocks_
unsigned int readBlocks_
Definition: FedRawDataInputSource.h:85
evf::FastMonitoringService
Definition: FastMonitoringService.h:71
RawInputSource.h
FedRawDataInputSource::streamFileTracker_
std::vector< int > streamFileTracker_
Definition: FedRawDataInputSource.h:163
InputChunk::usedSize_
uint32_t usedSize_
Definition: FedRawDataInputSource.h:186
InputChunk::buf_
unsigned char * buf_
Definition: FedRawDataInputSource.h:183
InputChunk::reset
void reset(unsigned int newOffset, unsigned int toRead, unsigned int fileIndex)
Definition: FedRawDataInputSource.h:196
FedRawDataInputSource::eventRunNumber_
uint32_t eventRunNumber_
Definition: FedRawDataInputSource.h:117
FedRawDataInputSource::testTCDSFEDRange_
const std::vector< unsigned int > testTCDSFEDRange_
Definition: FedRawDataInputSource.h:96
InputChunk::~InputChunk
~InputChunk()
Definition: FedRawDataInputSource.h:203
InputChunk::index_
unsigned int index_
Definition: FedRawDataInputSource.h:187
edm::EventPrincipal
Definition: EventPrincipal.h:46
EventPrincipal.h
Service.h
FedRawDataInputSource::filesToDelete_
std::list< std::pair< int, std::unique_ptr< InputFile > > > filesToDelete_
Definition: FedRawDataInputSource.h:160
FedRawDataInputSource::getLSFromFilename_
const bool getLSFromFilename_
Definition: FedRawDataInputSource.h:92
FedRawDataInputSource::ReaderInfo
std::pair< InputFile *, InputChunk * > ReaderInfo
Definition: FedRawDataInputSource.h:133
InputChunk
Definition: FedRawDataInputSource.h:182
FedRawDataInputSource::FedRawDataInputSource
FedRawDataInputSource(edm::ParameterSet const &, edm::InputSourceDescription const &)
Definition: FedRawDataInputSource.cc:52
FedRawDataInputSource::fileListLoopMode_
const bool fileListLoopMode_
Definition: FedRawDataInputSource.h:103
InputFile::currentChunk_
unsigned int currentChunk_
Definition: FedRawDataInputSource.h:223
FedRawDataInputSource::daqDirector_
evf::EvFDaqDirector * daqDirector_
Definition: FedRawDataInputSource.h:79
edm::Hash< ProcessHistoryType >
FedRawDataInputSource::fileQueue_
tbb::concurrent_queue< std::unique_ptr< InputFile > > fileQueue_
Definition: FedRawDataInputSource.h:147
FedRawDataInputSource
Definition: FedRawDataInputSource.h:37
InputChunk::readComplete_
std::atomic< bool > readComplete_
Definition: FedRawDataInputSource.h:190
FedRawDataInputSource::reportEventsThisLumiInSource
void reportEventsThisLumiInSource(unsigned int lumi, unsigned int events)
Definition: FedRawDataInputSource.cc:1499
FedRawDataInputSource::processHistoryID_
edm::ProcessHistoryID processHistoryID_
Definition: FedRawDataInputSource.h:114
InputFile::~InputFile
~InputFile()
Definition: FedRawDataInputSource.cc:1405
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
FedRawDataInputSource::startedSupervisorThread_
bool startedSupervisorThread_
Definition: FedRawDataInputSource.h:139
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FedRawDataInputSource::exceptionState
bool exceptionState()
Definition: FedRawDataInputSource.h:63
FedRawDataInputSource::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: FedRawDataInputSource.cc:205
FedRawDataInputSource::daqProvenanceHelper_
const edm::DaqProvenanceHelper daqProvenanceHelper_
Definition: FedRawDataInputSource.h:109
FedRawDataInputSource::initFileList
long initFileList()
Definition: FedRawDataInputSource.cc:1520
FedRawDataInputSource::L1EventID_
uint32_t L1EventID_
Definition: FedRawDataInputSource.h:119
LuminosityBlockAuxiliary.h
InputChunk::fileIndex_
unsigned int fileIndex_
Definition: FedRawDataInputSource.h:189
edm::ParameterSet
Definition: ParameterSet.h:47
FedRawDataInputSource::currentFileIndex_
int currentFileIndex_
Definition: FedRawDataInputSource.h:159
Timestamp.h
FedRawDataInputSource::alwaysStartFromFirstLS_
const bool alwaysStartFromFirstLS_
Definition: FedRawDataInputSource.h:93
ParameterSet
Definition: Functions.h:16
FedRawDataInputSource::eventChunkBlock_
unsigned int eventChunkBlock_
Definition: FedRawDataInputSource.h:84
FedRawDataInputSource::verifyChecksum_
const bool verifyChecksum_
Definition: FedRawDataInputSource.h:94
InputFile::InputFile
InputFile(evf::EvFDaqDirector::FileStatus status, unsigned int lumi=0, std::string const &name=std::string(), bool deleteFile=true, int rawFd=-1, uint64_t fileSize=0, uint16_t rawHeaderSize=0, uint32_t nChunks=0, int nEvents=0, FedRawDataInputSource *parent=nullptr)
Definition: FedRawDataInputSource.h:225
FedRawDataInputSource::checkNext
Next checkNext() override
Definition: FedRawDataInputSource.cc:230
FedRawDataInputSource::currentFile_
std::unique_ptr< InputFile > currentFile_
Definition: FedRawDataInputSource.h:136
FedRawDataInputSource::setExceptionState_
bool setExceptionState_
Definition: FedRawDataInputSource.h:155
EvFDaqDirector.h
FrontierConditions_GlobalTag_cff.file
file
Definition: FrontierConditions_GlobalTag_cff.py:13
InputChunk::size_
uint32_t size_
Definition: FedRawDataInputSource.h:185
mutex
static std::mutex mutex
Definition: Proxy.cc:8
FedRawDataInputSource::eventID_
edm::EventID eventID_
Definition: FedRawDataInputSource.h:113
evf::EvFDaqDirector
Definition: EvFDaqDirector.h:62
FedRawDataInputSource::mReader_
std::mutex mReader_
Definition: FedRawDataInputSource.h:149
FedRawDataInputSource::eventsThisLumi_
unsigned int eventsThisLumi_
Definition: FedRawDataInputSource.h:121
FedRawDataInputSource::~FedRawDataInputSource
~FedRawDataInputSource() override
Definition: FedRawDataInputSource.cc:174
FedRawDataInputSource::fuOutputDir_
std::string fuOutputDir_
Definition: FedRawDataInputSource.h:107
FedRawDataInputSource::getFile
evf::EvFDaqDirector::FileStatus getFile(unsigned int &ls, std::string &nextFile, uint32_t &fsize, uint64_t &lockWaitTime)
Definition: FedRawDataInputSource.cc:1555
InputFile::rawFd_
int rawFd_
Definition: FedRawDataInputSource.h:212
FedRawDataInputSource::startupLock_
std::mutex startupLock_
Definition: FedRawDataInputSource.h:156
InputFile::nProcessed_
unsigned int nProcessed_
Definition: FedRawDataInputSource.h:217
FedRawDataInputSource::thread_quit_signal
std::vector< unsigned int > thread_quit_signal
Definition: FedRawDataInputSource.h:154
InputFile::advance
bool advance(unsigned char *&dataPosition, const size_t size)
Definition: FedRawDataInputSource.cc:1356
InputChunk::next_
InputChunk * next_
Definition: FedRawDataInputSource.h:184
FedRawDataInputSource::useFileBroker_
bool useFileBroker_
Definition: FedRawDataInputSource.h:98
edm::RawInputSource::Next
Next
Definition: RawInputSource.h:24
FedRawDataInputSource::readSupervisor
void readSupervisor()
Definition: FedRawDataInputSource.cc:753
FedRawDataInputSource::fileNamesToDelete_
std::list< std::pair< int, std::string > > fileNamesToDelete_
Definition: FedRawDataInputSource.h:161
InputFile::chunks_
tbb::concurrent_vector< InputChunk * > chunks_
Definition: FedRawDataInputSource.h:219
FedRawDataInputSource::event_
std::unique_ptr< FRDEventMsgView > event_
Definition: FedRawDataInputSource.h:111
FedRawDataInputSource::nextEvent
evf::EvFDaqDirector::FileStatus nextEvent()
Definition: FedRawDataInputSource.cc:343
FedRawDataInputSource::detectedFRDversion_
uint16_t detectedFRDversion_
Definition: FedRawDataInputSource.h:135
FedRawDataInputSource::tid_active_
std::vector< unsigned int > tid_active_
Definition: FedRawDataInputSource.h:151
FedRawDataInputSource::checkEvery_
unsigned int checkEvery_
Definition: FedRawDataInputSource.h:165
FedRawDataInputSource::fileDescriptor_
int fileDescriptor_
Definition: FedRawDataInputSource.h:173
evf
Definition: fillJson.h:27
FedRawDataInputSource::eventsThisRun_
unsigned long eventsThisRun_
Definition: FedRawDataInputSource.h:122
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
FedRawDataInputSource::startupCv_
std::condition_variable startupCv_
Definition: FedRawDataInputSource.h:157
SiStripCommissioningSource_FromEDM_cfg.FastMonitoringService
FastMonitoringService
Definition: SiStripCommissioningSource_FromEDM_cfg.py:49
FedRawDataInputSource::tcds_pointer_
unsigned char * tcds_pointer_
Definition: FedRawDataInputSource.h:120
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
InputFile::status_
evf::EvFDaqDirector::FileStatus status_
Definition: FedRawDataInputSource.h:208
InputFile::nChunks_
uint32_t nChunks_
Definition: FedRawDataInputSource.h:215
FedRawDataInputSource::fileListMode_
const bool fileListMode_
Definition: FedRawDataInputSource.h:101
FedRawDataInputSource::readSupervisorThread_
std::unique_ptr< std::thread > readSupervisorThread_
Definition: FedRawDataInputSource.h:140
edm::EventID
Definition: EventID.h:31
nEvents
UInt_t nEvents
Definition: hcalCalib.cc:41
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
InputFile::waitForChunk
bool waitForChunk(unsigned int chunkid)
Definition: FedRawDataInputSource.h:253
FedRawDataInputSource::MAXTCDSuTCAFEDID_
uint16_t MAXTCDSuTCAFEDID_
Definition: FedRawDataInputSource.h:125
lumi
Definition: LumiSectionData.h:20
InputFile::rewindChunk
void rewindChunk(const size_t size)
Definition: FedRawDataInputSource.cc:1400
evf::EvFDaqDirector::FileStatus
FileStatus
Definition: EvFDaqDirector.h:64
DaqProvenanceHelper.h
FedRawDataInputSource::monlock_
std::mutex monlock_
Definition: FedRawDataInputSource.h:179
InputFile::deleteFile_
bool deleteFile_
Definition: FedRawDataInputSource.h:211
class-composition.parent
parent
Definition: class-composition.py:88
FedRawDataInputSource::read
void read(edm::EventPrincipal &eventPrincipal) override
Definition: FedRawDataInputSource.cc:617
FedRawDataInputSource::numBuffers_
unsigned int numBuffers_
Definition: FedRawDataInputSource.h:86
FedRawDataInputSource::maxBufferedFiles_
unsigned int maxBufferedFiles_
Definition: FedRawDataInputSource.h:87
FedRawDataInputSource::singleBufferMode_
bool singleBufferMode_
Definition: FedRawDataInputSource.h:172
FedRawDataInputSource::readWorker
void readWorker(unsigned int tid)
Definition: FedRawDataInputSource.cc:1209
FedRawDataInputSource::loopModeIterationInc_
unsigned int loopModeIterationInc_
Definition: FedRawDataInputSource.h:104
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
FedRawDataInputSource::GTPEventID_
uint32_t GTPEventID_
Definition: FedRawDataInputSource.h:118
edm::Timestamp
Definition: Timestamp.h:30