#include <CSCFileReader.h>
Public Member Functions | |
CSCFileReader (const edm::ParameterSet &pset) | |
virtual int | fillRawData (edm::Event &e, FEDRawDataCollection *&data) |
void | produce (edm::Event &, edm::EventSetup const &) override |
~CSCFileReader (void) override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Public Attributes | |
bool | fFirstReadBug |
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] |
unsigned int | runNumber |
int | tfDDUnumber |
unsigned short * | tmpBuf |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 18 of file CSCFileReader.h.
CSCFileReader::CSCFileReader | ( | const edm::ParameterSet & | pset | ) |
Legacy first read EDM EvendID bug (fixed?). Currently disabled to fix number of events with data Added as configurable parameter
Definition at line 33 of file CSCFileReader.cc.
References currentFile, currentL1A, FileReaderDCC::DCCoversize, FileReaderDDU::DDUoversize, dataset::end, submitPVValidationJobs::err, Exception, expectedNextL1A, FED, FileReaderDDU::FFFF, FileReaderDCC::FFFF, fFirstReadBug, fileNames, firstEvent, FU, fuEvent, fuEventSize, edm::ParameterSet::getUntrackedParameter(), LogDebug, FEDNumbering::MAXCSCDDUFEDID, FEDNumbering::MAXCSCFEDID, FEDNumbering::MAXCSCTFFEDID, FEDNumbering::MINCSCDDUFEDID, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, nActiveFUs, nActiveRUIs, mergeVDriftHistosByStation::name, nEvents, nFUs, nRUIs, FileReaderDCC::open(), FileReaderDDU::open(), FileReaderDCC::reject(), FileReaderDDU::reject(), ruBuf, ruBufSize, RUI, runNumber, FileReaderDCC::select(), FileReaderDDU::select(), tfDDUnumber, tmpBuf, unit(), FileReaderDCC::Unknown, and FileReaderDDU::Unknown.
|
override |
|
private |
Definition at line 235 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, FEDRawData::data(), Exception, expectedNextL1A, FED, FEDRawDataCollection::FEDData(), firstEvent, FEDNumbering::MINCSCTFFEDID, nEvents, nRUIs, readRUI(), FEDRawData::resize(), ruBuf, ruBufSize, and tmpBuf.
Referenced by fillRawData().
|
virtual |
Definition at line 413 of file CSCFileReader.cc.
References buildEventFromRUIs(), fFirstReadBug, edm::EventBase::id(), nActiveFUs, nActiveRUIs, nextEventFromFUs(), and runNumber.
Referenced by produce().
|
private |
Definition at line 311 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, FEDRawData::data(), dataset::end, edmPickEvents::event, Exception, expectedNextL1A, FEDRawDataCollection::FEDData(), fuEvent, fuEventSize, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, nFUs, readFU(), FEDRawData::resize(), command_line::start, tfDDUnumber, and tmpBuf.
Referenced by fillRawData().
|
override |
Definition at line 441 of file CSCFileReader.cc.
References fillRawData(), eostools::move(), and edm::Event::put().
|
private |
Definition at line 209 of file CSCFileReader.cc.
References currentFile, dataset::end, submitPVValidationJobs::err, Exception, fileNames, FU, FileReaderDCC::next(), and FileReaderDCC::open().
Referenced by nextEventFromFUs().
|
private |
Definition at line 184 of file CSCFileReader.cc.
References currentFile, dataset::end, submitPVValidationJobs::err, Exception, fileNames, FileReaderDDU::next(), FileReaderDDU::open(), and RUI.
Referenced by buildEventFromRUIs().
|
private |
Definition at line 21 of file CSCFileReader.h.
Referenced by CSCFileReader(), readFU(), and readRUI().
|
private |
Definition at line 24 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 24 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 37 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
bool CSCFileReader::fFirstReadBug |
Definition at line 53 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 20 of file CSCFileReader.h.
Referenced by CSCFileReader(), readFU(), and readRUI().
|
private |
Definition at line 23 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), looper.Looper::loop(), and Printer.Printer::process().
|
private |
Definition at line 35 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readFU().
|
private |
Definition at line 29 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 30 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 25 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 25 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 23 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and looper.Looper::loop().
|
private |
Definition at line 31 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 32 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 34 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readRUI().
|
private |
Definition at line 26 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 23 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 28 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), nextEventFromFUs(), and ~CSCFileReader().