#include <CSCFileReader.h>
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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 19 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, FileReaderDCC::reject(), FileReaderDDU::reject(), ruBuf, ruBufSize, RUI, runNumber, FileReaderDCC::select(), FileReaderDDU::select(), tfDDUnumber, tmpBuf, unit(), FileReaderDDU::Unknown, and FileReaderDCC::Unknown.
|
override |
Definition at line 179 of file CSCFileReader.cc.
References tmpBuf.
|
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().
|
overridevirtual |
Implements edm::EDProducer.
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 22 of file CSCFileReader.h.
Referenced by CSCFileReader(), readFU(), and readRUI().
|
private |
Definition at line 25 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 25 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 38 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
bool CSCFileReader::fFirstReadBug |
Definition at line 54 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
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(), looper.Looper::loop(), and Printer.Printer::process().
|
private |
Definition at line 36 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readFU().
|
private |
Definition at line 30 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 31 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 26 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 26 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 24 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), and looper.Looper::loop().
|
private |
Definition at line 32 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 33 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), and CSCFileReader().
|
private |
Definition at line 35 of file CSCFileReader.h.
Referenced by CSCFileReader(), and readRUI().
|
private |
Definition at line 27 of file CSCFileReader.h.
Referenced by CSCFileReader(), and fillRawData().
|
private |
Definition at line 24 of file CSCFileReader.h.
Referenced by CSCFileReader(), and nextEventFromFUs().
|
private |
Definition at line 29 of file CSCFileReader.h.
Referenced by buildEventFromRUIs(), CSCFileReader(), nextEventFromFUs(), and ~CSCFileReader().