#include <SiPixelDigiToRaw.h>
Public Member Functions | |
virtual void | endJob () override |
dummy end of job More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
get data, convert to raw event, attach again to Event More... | |
SiPixelDigiToRaw (const edm::ParameterSet &) | |
ctor More... | |
virtual | ~SiPixelDigiToRaw () |
dtor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 |
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 & | itemsToGetFromEvent () 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) |
Private Attributes | |
int | allDigiCounter |
int | allWordCounter |
std::unique_ptr< SiPixelFedCablingTree > | cablingTree_ |
edm::ParameterSet | config_ |
bool | debug |
unsigned long | eventCounter |
std::vector< unsigned int > | fedIds |
SiPixelFrameReverter * | frameReverter_ |
TH1D * | hCPU |
TH1D * | hDigi |
edm::InputTag | label |
edm::ESWatcher< SiPixelFedCablingMapRcd > | recordWatcher |
std::unique_ptr< edm::CPUTimer > | theTimer |
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > | tPixelDigi |
bool | usePhase1 |
bool | usePilotBlade |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
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 23 of file SiPixelDigiToRaw.h.
|
explicit |
ctor
Definition at line 24 of file SiPixelDigiToRaw.cc.
References allDigiCounter, allWordCounter, config_, eventCounter, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hCPU, hDigi, theTimer, tPixelDigi, usePhase1, and usePilotBlade.
|
virtual |
dtor
Definition at line 59 of file SiPixelDigiToRaw.cc.
References frameReverter_, hCPU, hDigi, indexGen::rootFile, and theTimer.
|
inlineoverridevirtual |
dummy end of job
Reimplemented from edm::EDProducer.
Definition at line 34 of file SiPixelDigiToRaw.h.
References produce().
|
overridevirtual |
get data, convert to raw event, attach again to Event
Definition at line 72 of file SiPixelDigiToRaw.cc.
References allDigiCounter, allWordCounter, SiPixelFedCablingMap::cablingTree(), cablingTree_, edm::ESWatcher< T >::check(), config_, debug, edm::MessageDrop::debugEnabled, hgcalDigitizer_cfi::digiCollection, edm::EventID::event(), eventCounter, SiPixelFedCablingMap::fedIds(), fedIds, frameReverter_, edm::EventSetup::get(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), hCPU, hDigi, edm::EventBase::id(), edm::MessageDrop::instance(), label, LogDebug, eostools::move(), PixelDataFormatter::passFrameReverter(), edm::ESHandle< T >::product(), edm::Event::put(), matplotRender::rawdata, recordWatcher, FEDRawData::size(), findQualityFiles::size, theTimer, tPixelDigi, and usePhase1.
Referenced by endJob(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 48 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 49 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 41 of file SiPixelDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 43 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 52 of file SiPixelDigiToRaw.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 46 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 50 of file SiPixelDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 42 of file SiPixelDigiToRaw.h.
Referenced by produce(), and ~SiPixelDigiToRaw().
|
private |
Definition at line 44 of file SiPixelDigiToRaw.h.
Referenced by produce(), SiPixelDigiToRaw(), and ~SiPixelDigiToRaw().
|
private |
Definition at line 44 of file SiPixelDigiToRaw.h.
Referenced by produce(), SiPixelDigiToRaw(), and ~SiPixelDigiToRaw().
|
private |
Definition at line 47 of file SiPixelDigiToRaw.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(), produce(), 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 51 of file SiPixelDigiToRaw.h.
Referenced by produce().
|
private |
Definition at line 45 of file SiPixelDigiToRaw.h.
Referenced by produce(), SiPixelDigiToRaw(), and ~SiPixelDigiToRaw().
|
private |
Definition at line 53 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 55 of file SiPixelDigiToRaw.h.
Referenced by produce(), and SiPixelDigiToRaw().
|
private |
Definition at line 54 of file SiPixelDigiToRaw.h.
Referenced by SiPixelDigiToRaw().