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