#include <EcalRawToDigi.h>
Public Member Functions | |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &es) override |
EcalRawToDigi (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual | ~EcalRawToDigi () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Public Attributes | |
edm::ESWatcher< EcalMappingRcd > | watcher_ |
Private Attributes | |
edm::EDGetTokenT < FEDRawDataCollection > | dataToken_ |
edm::EDGetTokenT< EcalListOfFEDS > | fedsToken_ |
std::vector< int > | fedUnpackList_ |
bool | feIdCheck_ |
bool | feUnpacking_ |
bool | first_ |
bool | forceToKeepFRdata_ |
bool | headerUnpacking_ |
bool | memUnpacking_ |
EcalElectronicsMapper * | myMap_ |
unsigned int | nevts_ |
unsigned int | numbTriggerTSamples_ |
unsigned int | numbXtalTSamples_ |
std::vector< int > | orderedDCCIdList_ |
std::vector< int > | orderedFedUnpackList_ |
bool | put_ |
bool | REGIONAL_ |
double | RUNNING_TIME_ |
double | SETUP_TIME_ |
bool | srpUnpacking_ |
bool | syncCheck_ |
bool | tccUnpacking_ |
DCCDataUnpacker * | theUnpacker_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 41 of file EcalRawToDigi.h.
|
explicit |
Class constructor
Definition at line 18 of file EcalRawToDigi.cc.
References dataToken_, fedsToken_, fedUnpackList_, feIdCheck_, feUnpacking_, first_, forceToKeepFRdata_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), headerUnpacking_, i, LogDebug, EcalElectronicsMapper::makeMapFromVectors(), FEDNumbering::MAXECALFEDID, memUnpacking_, FEDNumbering::MINECALFEDID, myMap_, numbTriggerTSamples_, numbXtalTSamples_, orderedDCCIdList_, orderedFedUnpackList_, convertSQLitetoXML_cfg::output, REGIONAL_, DCCDataUnpacker::silentMode_, srpUnpacking_, syncCheck_, tccUnpacking_, and theUnpacker_.
|
virtual |
Class destructor
Definition at line 528 of file EcalRawToDigi.cc.
References myMap_, and theUnpacker_.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 285 of file EcalRawToDigi.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), DCCDataUnpacker::setChannelStatusDB(), and theUnpacker_.
|
static |
Definition at line 243 of file EcalRawToDigi.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), i, and HLT_25ns14e33_v1_cff::InputTag.
|
overridevirtual |
Functions that are called by framework at each event
Implements edm::stream::EDProducerBase.
Definition at line 300 of file EcalRawToDigi.cc.
References edm::ESWatcher< T >::check(), FEDRawData::data(), data, dataToken_, EMPTYEVENTSIZE, fedsToken_, fedUnpackList_, feUnpacking_, spr::find(), first_, edm::EventSetup::get(), EcalElectronicsMapper::getActiveSM(), edm::Event::getByToken(), headerUnpacking_, i, LogDebug, memUnpacking_, myMap_, edm::ESHandle< class >::product(), edm::Event::put(), put_, lumiPlot::rawdata, REGIONAL_, EcalElectronicsMapper::setActiveDCC(), DCCDataUnpacker::setDccHeadersCollection(), DCCDataUnpacker::setEBDigisCollection(), DCCDataUnpacker::setEBSrFlagsCollection(), DCCDataUnpacker::setEcalPSsCollection(), DCCDataUnpacker::setEcalTpsCollection(), DCCDataUnpacker::setEEDigisCollection(), DCCDataUnpacker::setEESrFlagsCollection(), DCCDataUnpacker::setInvalidBlockLengthsCollection(), DCCDataUnpacker::setInvalidChIdsCollection(), DCCDataUnpacker::setInvalidEEChIdsCollection(), DCCDataUnpacker::setInvalidEEGainsCollection(), DCCDataUnpacker::setInvalidEEGainsSwitchCollection(), DCCDataUnpacker::setInvalidGainsCollection(), DCCDataUnpacker::setInvalidGainsSwitchCollection(), DCCDataUnpacker::setInvalidMemBlockSizesCollection(), DCCDataUnpacker::setInvalidMemChIdsCollection(), DCCDataUnpacker::setInvalidMemGainsCollection(), DCCDataUnpacker::setInvalidMemTtIdsCollection(), DCCDataUnpacker::setInvalidTTIdsCollection(), DCCDataUnpacker::setInvalidZSXtalIdsCollection(), DCCDataUnpacker::setPnDiodeDigisCollection(), FEDRawData::size(), srpUnpacking_, tccUnpacking_, theUnpacker_, DCCDataUnpacker::unpack(), and watcher_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 90 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 91 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 70 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 84 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 81 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 86 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 85 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 78 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 82 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 98 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), produce(), and ~EcalRawToDigi().
|
private |
Definition at line 103 of file EcalRawToDigi.h.
|
private |
Definition at line 76 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 75 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 73 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 72 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 87 of file EcalRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 94 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 104 of file EcalRawToDigi.h.
|
private |
Definition at line 104 of file EcalRawToDigi.h.
|
private |
Definition at line 79 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 83 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi().
|
private |
Definition at line 80 of file EcalRawToDigi.h.
Referenced by EcalRawToDigi(), and produce().
|
private |
Definition at line 101 of file EcalRawToDigi.h.
Referenced by beginRun(), EcalRawToDigi(), produce(), and ~EcalRawToDigi().
edm::ESWatcher<EcalMappingRcd> EcalRawToDigi::watcher_ |
Definition at line 64 of file EcalRawToDigi.h.
Referenced by produce().