#include <FileReaderDDU.h>
Public Types | |
enum | { Header = 1, Trailer = 2, DDUoversize = 4, FFFF = 8, Unknown = 16, EndOfStream = 32 } |
enum | { Type1 = Header | Trailer, Type2 = Header, Type3 = Header | DDUoversize, Type4 = Trailer, Type5 = Unknown, Type6 = Unknown | DDUoversize, Type7 = FFFF } |
Public Member Functions | |
void | accept (unsigned int criteria) throw () |
FileReaderDDU (void) | |
size_t | next (const unsigned short *&buf, int prescaling=1) |
int | open (const char *filename) |
size_t | read (const unsigned short *&buf) |
void | reject (unsigned int criteria) throw () |
void | select (unsigned int criteria) throw () |
unsigned int | status (void) const throw () |
virtual | ~FileReaderDDU (void) |
Private Attributes | |
unsigned int | acceptCriteria |
unsigned long long * | end |
unsigned int | eventStatus |
int | fd |
unsigned long long | file_buffer [4000] |
unsigned long long * | file_buffer_end |
unsigned short | raw_event [200000] |
unsigned int | rejectCriteria |
unsigned int | selectCriteria |
unsigned long long | word_0 |
unsigned long long | word_1 |
unsigned long long | word_2 |
Definition at line 7 of file FileReaderDDU.h.
anonymous enum |
Enumerator | |
---|---|
Header | |
Trailer | |
DDUoversize | |
FFFF | |
Unknown | |
EndOfStream |
Definition at line 17 of file FileReaderDDU.h.
anonymous enum |
Enumerator | |
---|---|
Type1 | |
Type2 | |
Type3 | |
Type4 | |
Type5 | |
Type6 | |
Type7 |
Definition at line 18 of file FileReaderDDU.h.
FileReaderDDU::FileReaderDDU | ( | void | ) |
Definition at line 15 of file FileReaderDDU.cc.
References acceptCriteria, DDUoversize, end, eventStatus, fd, FFFF, file_buffer, file_buffer_end, Header, raw_event, rejectCriteria, selectCriteria, AlCaHLTBitMon_QueryRunRegistry::string, Trailer, Unknown, word_0, word_1, and word_2.
|
virtual |
Definition at line 31 of file FileReaderDDU.cc.
References fd.
|
inline |
Definition at line 38 of file FileReaderDDU.h.
References acceptCriteria.
Referenced by esMonitoring.FDJsonServer::handle_accept().
size_t FileReaderDDU::next | ( | const unsigned short *& | buf, |
int | prescaling = 1 |
||
) |
Definition at line 142 of file FileReaderDDU.cc.
References acceptCriteria, visDQMUpload::buf, eventStatus, mps_fire::i, read(), rejectCriteria, selectCriteria, and findQualityFiles::size.
Referenced by CSCFileReader::readRUI().
int FileReaderDDU::open | ( | const char * | filename | ) |
Definition at line 36 of file FileReaderDDU.cc.
References mps_setup::append, fd, corrVsCorr::filename, O_LARGEFILE, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CSCFileReader::CSCFileReader(), and CSCFileReader::readRUI().
size_t FileReaderDDU::read | ( | const unsigned short *& | buf | ) |
Definition at line 45 of file FileReaderDDU.cc.
References visDQMUpload::buf, DDUoversize, end, EndOfStream, eventStatus, fd, FFFF, file_buffer, file_buffer_end, Header, raw_event, command_line::start, Trailer, Unknown, word_0, word_1, and word_2.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and next().
|
inline |
Definition at line 41 of file FileReaderDDU.h.
References rejectCriteria.
Referenced by CSCFileReader::CSCFileReader().
|
inline |
Definition at line 37 of file FileReaderDDU.h.
References selectCriteria.
Referenced by CSCFileReader::CSCFileReader().
|
inline |
|
private |
Definition at line 28 of file FileReaderDDU.h.
Referenced by accept(), FileReaderDDU(), and next().
|
private |
Definition at line 14 of file FileReaderDDU.h.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), FileReaderDDU(), and read().
|
private |
Definition at line 28 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), next(), read(), and status().
|
private |
Definition at line 30 of file FileReaderDDU.h.
Referenced by progressbar.ProgressBar::_handle_resize(), FileReaderDDU(), progressbar.ProgressBar::finish(), open(), read(), and ~FileReaderDDU().
|
private |
Definition at line 12 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().
|
private |
Definition at line 14 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().
|
private |
Definition at line 9 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().
|
private |
Definition at line 28 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), next(), and reject().
|
private |
Definition at line 28 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), next(), and select().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and read().