#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) throw (std::runtime_error) |
int | open (const char *filename) throw (std::runtime_error) |
size_t | read (const unsigned short *&buf) throw (std::runtime_error) |
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 16 of file FileReaderDDU.cc.
References acceptCriteria, DDUoversize, end, eventStatus, fd, FFFF, file_buffer, file_buffer_end, raw_event, rejectCriteria, selectCriteria, AlCaHLTBitMon_QueryRunRegistry::string, Trailer, Unknown, word_0, word_1, and word_2.
|
virtual |
|
inline |
Definition at line 29 of file FileReaderDDU.h.
References acceptCriteria.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
size_t FileReaderDDU::next | ( | const unsigned short *& | buf, |
int | prescaling = 1 |
||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 124 of file FileReaderDDU.cc.
References i, SiPixelLorentzAngle_cfi::read, and findQualityFiles::size.
Referenced by CSCFileReader::readRUI().
int FileReaderDDU::open | ( | const char * | filename | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 32 of file FileReaderDDU.cc.
References python.multivaluedict::append(), lut2db_cfg::filename, O_LARGEFILE, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CSCFileReader::CSCFileReader(), and CSCFileReader::readRUI().
size_t FileReaderDDU::read | ( | const unsigned short *& | buf | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 39 of file FileReaderDDU.cc.
References end, event(), SiPixelLorentzAngle_cfi::read, dqm_diff::start, and Unknown.
|
inline |
Definition at line 30 of file FileReaderDDU.h.
References rejectCriteria.
Referenced by CSCFileReader::CSCFileReader(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::keyPressEvent().
|
inline |
Definition at line 28 of file FileReaderDDU.h.
References selectCriteria.
Referenced by CSCFileReader::CSCFileReader().
|
inline |
|
private |
Definition at line 20 of file FileReaderDDU.h.
Referenced by accept(), and FileReaderDDU().
|
private |
Definition at line 14 of file FileReaderDDU.h.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), FileReaderDDU(), and cmsPerfSuite.PerfSuiteTimer::set_end().
|
private |
Definition at line 20 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and status().
|
private |
Definition at line 22 of file FileReaderDDU.h.
Referenced by progressbar.ProgressBar::_handle_resize(), FileReaderDDU(), and ~FileReaderDDU().
|
private |
Definition at line 12 of file FileReaderDDU.h.
Referenced by FileReaderDDU().
|
private |
Definition at line 14 of file FileReaderDDU.h.
Referenced by FileReaderDDU().
|
private |
Definition at line 9 of file FileReaderDDU.h.
Referenced by FileReaderDDU().
|
private |
Definition at line 20 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and reject().
|
private |
Definition at line 20 of file FileReaderDDU.h.
Referenced by FileReaderDDU(), and select().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU().
|
private |
Definition at line 11 of file FileReaderDDU.h.
Referenced by FileReaderDDU().