#include <DigiSimLinkProducer.h>
Public Member Functions | |
DigiSimLinkProducer (const edm::ParameterSet &conf) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~DigiSimLinkProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 () |
Private Types | |
typedef std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less < unsigned int > > | simhit_map |
typedef simhit_map::iterator | simhit_map_iterator |
typedef std::vector< std::string > | vstring |
Private Attributes | |
std::string | alias |
edm::ParameterSet | conf_ |
std::string | geometryType |
int | numStrips |
simhit_map | SimHitMap |
SimHitSelectorFromDB | SimHitSelectorFromDB_ |
std::map< uint32_t, std::vector< int > > | theDetIdList |
DigiSimLinkAlgorithm * | theDigiAlgo |
std::vector< edm::DetSet < StripDigiSimLink > > | theDigiLinkVector |
std::vector< edm::DetSet < SiStripDigi > > | theDigiVector |
std::vector< edm::DetSet < SiStripRawDigi > > | theRawDigiVector |
SiStripFedZeroSuppression * | theSiFEDZeroSuppress |
vstring | trackerContainers |
bool | useConfFromDB |
bool | zeroSuppression |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::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) |
DigiSimLinkProducer to convert hits to digis
Definition at line 30 of file DigiSimLinkProducer.h.
|
private |
Definition at line 42 of file DigiSimLinkProducer.h.
|
private |
Definition at line 43 of file DigiSimLinkProducer.h.
|
private |
Definition at line 41 of file DigiSimLinkProducer.h.
|
explicit |
Definition at line 66 of file DigiSimLinkProducer.cc.
References alias, conf_, Exception, geometryType, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theDigiAlgo, trackerContainers, useConfFromDB, and zeroSuppression.
|
virtual |
Definition at line 91 of file DigiSimLinkProducer.cc.
References theDigiAlgo.
|
virtual |
Implements edm::EDProducer.
Definition at line 96 of file DigiSimLinkProducer.cc.
References conf_, compareJSON::const, geometryType, edm::EventSetup::get(), edm::Event::getByLabel(), edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), SimHitSelectorFromDB::getSimHit(), i, edm::ESHandleBase::isValid(), DigiSimLinkAlgorithm::make_link(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), DigiSimLinkAlgorithm::run(), DigiSimLinkAlgorithm::setParticleDataTable(), SimHitMap, SimHitSelectorFromDB_, edm::Event::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, theDetIdList, theDigiAlgo, theDigiLinkVector, theDigiVector, theRawDigiVector, trackerContainers, useConfFromDB, and zeroSuppression.
|
private |
Definition at line 57 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer().
|
private |
Definition at line 52 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), and produce().
|
private |
Definition at line 56 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), and produce().
|
private |
Definition at line 55 of file DigiSimLinkProducer.h.
|
private |
Definition at line 54 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 48 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 47 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), produce(), and ~DigiSimLinkProducer().
|
private |
Definition at line 51 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 50 of file DigiSimLinkProducer.h.
Referenced by produce().
|
private |
Definition at line 46 of file DigiSimLinkProducer.h.
|
private |
Definition at line 53 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), and produce().
|
private |
Definition at line 59 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), and produce().
|
private |
Definition at line 58 of file DigiSimLinkProducer.h.
Referenced by DigiSimLinkProducer(), and produce().