#include <CSCFileReader.h>
Public Member Functions | |
CSCFileReader (const edm::ParameterSet &pset) | |
int | fillRawData (edm::EventID &eID, edm::Timestamp &tstamp, FEDRawDataCollection *&data) |
virtual | ~CSCFileReader (void) |
Public Member Functions inherited from DaqBaseReader | |
DaqBaseReader () | |
virtual void | setRunNumber (edm::RunNumber_t runNumber) |
set the run number More... | |
virtual | ~DaqBaseReader () |
Private Member Functions | |
int | buildEventFromRUIs (FEDRawDataCollection *data) |
int | nextEventFromFUs (FEDRawDataCollection *data) |
int | readFU (int fu, const unsigned short *&buf, size_t &length) |
int | readRUI (int rui, const unsigned short *&buf, size_t &length) |
Private Attributes | |
std::vector< std::string > ::const_iterator | currentFile [40] |
int | currentL1A [40] |
int | expectedNextL1A |
std::map< unsigned int, std::list< unsigned int > > | FED |
std::vector< std::string > | fileNames [40] |
int | firstEvent |
FileReaderDCC | FU [4] |
const unsigned short * | fuEvent [4] |
size_t | fuEventSize [4] |
int | nActiveFUs |
int | nActiveRUIs |
int | nEvents |
const unsigned short * | ruBuf [40] |
size_t | ruBufSize [40] |
FileReaderDDU | RUI [40] |
int | tfDDUnumber |
unsigned short * | tmpBuf |
Definition at line 15 of file CSCFileReader.h.
CSCFileReader::CSCFileReader | ( | const edm::ParameterSet & | pset | ) |
Definition at line 30 of file CSCFileReader.cc.
References currentFile, currentL1A, FileReaderDCC::DCCoversize, FileReaderDDU::DDUoversize, end, edm::hlt::Exception, expectedNextL1A, FED, FileReaderDDU::FFFF, FileReaderDCC::FFFF, fileNames, firstEvent, FU, fuEvent, fuEventSize, edm::ParameterSet::getUntrackedParameter(), LogDebug, FEDNumbering::MAXCSCFEDID, FEDNumbering::MAXCSCTFFEDID, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, nActiveFUs, nActiveRUIs, mergeVDriftHistosByStation::name, nEvents, nFUs, nRUIs, FileReaderDCC::open(), FileReaderDDU::open(), FileReaderDCC::reject(), FileReaderDDU::reject(), ruBuf, ruBufSize, RUI, FileReaderDDU::select(), FileReaderDCC::select(), tfDDUnumber, tmpBuf, csvLumiCalc::unit, FileReaderDCC::Unknown, and FileReaderDDU::Unknown.
|
virtual |
|
private |
Definition at line 192 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, FEDRawData::data(), edm::hlt::Exception, expectedNextL1A, FED, FEDRawDataCollection::FEDData(), firstEvent, Association::map, FEDNumbering::MINCSCTFFEDID, nEvents, nRUIs, readRUI(), FEDRawData::resize(), ruBuf, ruBufSize, and tmpBuf.
Referenced by fillRawData().
|
virtual |
overload to fill the fed collection to be put in the transient event store. NOTE: the FEDRawDataCollection data must be created (with new) within the method; ownership is passed to the caller.
Implements DaqBaseReader.
Definition at line 345 of file CSCFileReader.cc.
References buildEventFromRUIs(), nActiveFUs, nActiveRUIs, nextEventFromFUs(), and convertSQLiteXML::runNumber.
|
private |
Definition at line 250 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, FEDRawData::data(), end, event(), edm::hlt::Exception, expectedNextL1A, FEDRawDataCollection::FEDData(), fuEvent, fuEventSize, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, nFUs, readFU(), FEDRawData::resize(), dqm_diff::start, tfDDUnumber, and tmpBuf.
Referenced by fillRawData().
|
private |
Definition at line 170 of file CSCFileReader.cc.
References currentFile, end, edm::hlt::Exception, fileNames, FU, FileReaderDCC::next(), and FileReaderDCC::open().
Referenced by nextEventFromFUs().
|
private |
Definition at line 149 of file CSCFileReader.cc.
References currentFile, end, edm::hlt::Exception, fileNames, FileReaderDDU::next(), FileReaderDDU::open(), and RUI.
Referenced by buildEventFromRUIs().
|
private |
Definition at line 18 of file CSCFileReader.h.
Referenced by CSCFileReader(), readFU(), and readRUI().
|
private |
Definition at line 21 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 21 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 33 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 17 of file CSCFileReader.h.
Referenced by CSCFileReader(), readFU(), and readRUI().
|
private |
Definition at line 20 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 31 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readFU().
|
private |
Definition at line 25 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 26 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 22 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 22 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 20 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 27 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 28 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 30 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readRUI().
|
private |
Definition at line 20 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 24 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), nextEventFromFUs(), and ~CSCFileReader().