#include <SiPixelRawToDigi.h>
Public Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
get data, convert to digis attach againe to Event More... | |
SiPixelRawToDigi (const edm::ParameterSet &) | |
ctor More... | |
virtual | ~SiPixelRawToDigi () |
dtor More... | |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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) |
Private Attributes | |
const SiPixelQuality * | badPixelInfo_ |
std::unique_ptr< SiPixelFedCablingTree > | cabling_ |
std::string | cablingMapLabel |
edm::ParameterSet | config_ |
bool | debug |
std::vector< unsigned int > | fedIds |
TH1D * | hCPU |
TH1D * | hDigi |
bool | includeErrors |
edm::InputTag | label |
int | ndigis |
int | nwords |
edm::ESWatcher< SiPixelQualityRcd > | qualityWatcher |
edm::ESWatcher< SiPixelFedCablingMapRcd > | recordWatcher |
PixelUnpackingRegions * | regions_ |
edm::EDGetTokenT< FEDRawDataCollection > | tFEDRawDataCollection |
std::unique_ptr< edm::CPUTimer > | theTimer |
std::vector< int > | tkerrorlist |
bool | usePhase1 |
bool | usePilotBlade |
bool | useQuality |
std::vector< int > | usererrorlist |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 26 of file SiPixelRawToDigi.h.
|
explicit |
ctor
Definition at line 43 of file SiPixelRawToDigi.cc.
References cablingMapLabel, config_, edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getUntrackedParameter(), hCPU, hDigi, includeErrors, ndigis, nwords, regions_, AlCaHLTBitMon_QueryRunRegistry::string, tFEDRawDataCollection, theTimer, tkerrorlist, usePhase1, usePilotBlade, useQuality, and usererrorlist.
|
virtual |
dtor
Definition at line 108 of file SiPixelRawToDigi.cc.
References hCPU, hDigi, regions_, indexGen::rootFile, and theTimer.
|
static |
Definition at line 122 of file SiPixelRawToDigi.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
get data, convert to digis attach againe to Event
Definition at line 159 of file SiPixelRawToDigi.cc.
References badPixelInfo_, edm::DetSet< T >::begin(), cabling_, cablingMapLabel, SiPixelFedCablingMap::cablingTree(), edm::ESWatcher< T >::check(), mps_alisetup::collection, edm::DetSet< T >::data, debug, edm::MessageDrop::debugEnabled, edm::DetSet< T >::end(), benchmark_cfg::errors, FEDRawDataCollection::FEDData(), l1t::stage2::layer2::fedId, SiPixelFedCablingMap::fedIds(), fedIds, spr::find(), edm::EventSetup::get(), edm::Event::getByToken(), hCPU, hDigi, includeErrors, edm::MessageDrop::instance(), LogDebug, PixelUnpackingRegions::mayUnpackFED(), PixelUnpackingRegions::modulesToUnpack(), eostools::move(), PixelUnpackingRegions::nBarrelModules(), ndigis, PixelUnpackingRegions::nFEDs(), PixelUnpackingRegions::nForwardModules(), PixelUnpackingRegions::nModules(), nwords, edm::ESHandle< T >::product(), edm::Event::put(), qualityWatcher, recordWatcher, regions_, PixelUnpackingRegions::run(), PixelDataFormatter::setErrorStatus(), tFEDRawDataCollection, theTimer, tkerrorlist, usePhase1, usePilotBlade, useQuality, and usererrorlist.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 44 of file SiPixelRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 43 of file SiPixelRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 63 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 42 of file SiPixelRawToDigi.h.
Referenced by SiPixelRawToDigi().
|
private |
Definition at line 52 of file SiPixelRawToDigi.h.
Referenced by rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), produce(), and pkg.AbstractPkg::write().
|
private |
Definition at line 55 of file SiPixelRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 48 of file SiPixelRawToDigi.h.
Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().
|
private |
Definition at line 48 of file SiPixelRawToDigi.h.
Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().
|
private |
Definition at line 50 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 58 of file SiPixelRawToDigi.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::_sort_list(), python.rootplot.root2matplotlib.Hist::bar(), python.rootplot.root2matplotlib.Hist::barh(), python.rootplot.root2matplotlib.Hist::errorbar(), python.rootplot.root2matplotlib.Hist::errorbarh(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::foundIn(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::fullFilename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::properties(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::readConnections(), core.AutoHandle.AutoHandle::ReallyLoad(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::updateProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::usedBy().
|
private |
Definition at line 59 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 60 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 57 of file SiPixelRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 56 of file SiPixelRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 45 of file SiPixelRawToDigi.h.
Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().
|
private |
Definition at line 46 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 49 of file SiPixelRawToDigi.h.
Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().
|
private |
Definition at line 53 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 62 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 61 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 51 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().
|
private |
Definition at line 54 of file SiPixelRawToDigi.h.
Referenced by produce(), and SiPixelRawToDigi().