#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, mps_fire::end, submitPVResolutionJobs::err, Exception, expectedNextL1A, FED, FileReaderDDU::FFFF, FileReaderDCC::FFFF, fFirstReadBug, fileNames, firstEvent, FU, fuEvent, fuEventSize, LogDebug, FEDNumbering::MAXCSCDDUFEDID, FEDNumbering::MAXCSCFEDID, FEDNumbering::MAXCSCTFFEDID, FEDNumbering::MINCSCDDUFEDID, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, nActiveFUs, nActiveRUIs, Skims_PA_cff::name, nEvents, nFUs, nRUIs, FileReaderDCC::open(), FileReaderDDU::open(), muonDTDigis_cfi::pset, push_back(), FileReaderDCC::reject(), FileReaderDDU::reject(), ruBuf, ruBufSize, RUI, runNumber, FileReaderDCC::select(), FileReaderDDU::select(), tfDDUnumber, tmpBuf, unit(), FileReaderDDU::Unknown, and FileReaderDCC::Unknown.
|
override |
|
private |
Definition at line 235 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, data, Exception, expectedNextL1A, FED, l1t_dqm_sourceclient-live_cfg::fedRawData, firstEvent, genParticles_cff::map, FEDNumbering::MINCSCTFFEDID, nEvents, nRUIs, readRUI(), ruBuf, ruBufSize, and tmpBuf.
Referenced by fillRawData().
|
virtual |
Definition at line 413 of file CSCFileReader.cc.
References buildEventFromRUIs(), data, MillePedeFileConverter_cfg::e, EcalFEDMonitor_cfi::FEDRawDataCollection, fFirstReadBug, nActiveFUs, nActiveRUIs, nextEventFromFUs(), runNumber, and mitigatedMETSequence_cff::U.
Referenced by produce().
|
private |
Definition at line 311 of file CSCFileReader.cc.
References filterCSVwithJSON::copy, currentL1A, FEDRawData::data(), data, mps_fire::end, Exception, expectedNextL1A, l1t_dqm_sourceclient-live_cfg::fedRawData, fuEvent, fuEventSize, L1DTConfigBti_cff::LL, 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 MillePedeFileConverter_cfg::e, fillRawData(), and eostools::move().
|
private |
Definition at line 209 of file CSCFileReader.cc.
References visDQMUpload::buf, currentFile, mps_fire::end, submitPVResolutionJobs::err, Exception, fileNames, FU, FileReaderDCC::next(), and FileReaderDCC::open().
Referenced by nextEventFromFUs().
|
private |
Definition at line 184 of file CSCFileReader.cc.
References visDQMUpload::buf, currentFile, mps_fire::end, submitPVResolutionJobs::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().