#include <EDProducerBase.h>
Public Types | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
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 const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
ModuleDescription | moduleDescription_ |
std::unique_ptr< ParentageID[]> | previousParentageIds_ |
std::unique_ptr< std::vector < BranchID >[]> | previousParentages_ |
Friends | |
class | edm::GlobalSchedule |
template<typename T > | |
class | edm::maker::ModuleHolderT |
template<typename T > | |
class | edm::WorkerT |
Additional Inherited Members | |
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 48 of file EDProducerBase.h.
Definition at line 54 of file EDProducerBase.h.
EDProducerBase::EDProducerBase | ( | ) |
Definition at line 40 of file EDProducerBase.cc.
|
virtual |
Definition at line 46 of file EDProducerBase.cc.
|
static |
Definition at line 241 of file EDProducerBase.cc.
References edm::global::kBaseType().
|
inlineprivatevirtual |
Reimplemented in TrackAssociatorByHitsProducer, QuickTrackAssociatorByHitsProducer, and TauJetSelectorForHLTTrackSeeding.
Definition at line 120 of file EDProducerBase.h.
Referenced by doBeginJob().
|
private |
|
private |
Definition at line 106 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), doBeginLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 82 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), doBeginRunSummary_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 130 of file EDProducerBase.cc.
References doBeginStream_().
|
privatevirtual |
|
private |
|
private |
Definition at line 118 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), doEndLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 94 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), doEndRunSummary_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 134 of file EDProducerBase.cc.
References doEndStream_().
|
privatevirtual |
|
private |
Definition at line 51 of file EDProducerBase.cc.
References EnergyCorrector::c, edm::ProducerBase::commit_(), alignCSCRings::e, moduleDescription_, previousParentageIds_, previousParentages_, produce(), edm::Event::setConsumer(), edm::Event::streamID(), and edm::StreamID::value().
|
private |
Definition at line 196 of file EDProducerBase.cc.
References postForkReacquireResources().
|
private |
Definition at line 64 of file EDProducerBase.cc.
References edm::PreallocationConfiguration::numberOfStreams(), preallocStreams(), previousParentageIds_, and previousParentages_.
|
private |
Definition at line 191 of file EDProducerBase.cc.
References preForkReleaseResources().
|
inlineprivate |
Definition at line 111 of file EDProducerBase.h.
|
private |
Definition at line 186 of file EDProducerBase.cc.
|
private |
Definition at line 181 of file EDProducerBase.cc.
|
private |
Definition at line 158 of file EDProducerBase.cc.
References doStreamBeginLuminosityBlock_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
Definition at line 206 of file EDProducerBase.cc.
Referenced by doStreamBeginLuminosityBlock().
|
private |
Definition at line 138 of file EDProducerBase.cc.
References doStreamBeginRun_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
private |
Definition at line 168 of file EDProducerBase.cc.
References doStreamEndLuminosityBlock_(), doStreamEndLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
Definition at line 207 of file EDProducerBase.cc.
Referenced by doStreamEndLuminosityBlock().
|
privatevirtual |
Definition at line 208 of file EDProducerBase.cc.
Referenced by doStreamEndLuminosityBlock().
|
private |
Definition at line 148 of file EDProducerBase.cc.
References doStreamEndRun_(), doStreamEndRunSummary_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
inlineprivatevirtual |
Reimplemented in TrackAssociatorByHitsProducer, QuickTrackAssociatorByHitsProducer, and TauJetSelectorForHLTTrackSeeding.
Definition at line 121 of file EDProducerBase.h.
Referenced by doEndJob().
|
static |
Definition at line 227 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
Definition at line 66 of file EDProducerBase.h.
References moduleDescription_.
|
inlineprivatevirtual |
Definition at line 124 of file EDProducerBase.h.
Referenced by doPostForkReacquireResources().
|
privatevirtual |
|
inlineprivatevirtual |
|
static |
Definition at line 234 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config().
|
privatepure virtual |
Implemented in CaloJetMETcorrInputProducerT< T, Textractor >, TrackAssociatorByHitsProducer, QuickTrackAssociatorByHitsProducer, TrackAssociatorByChi2Producer, VertexFromTrackProducer, TrackAssociatorByPositionProducer, HLTL1MuonSelector, TrackMCQuality, EgammaHLTR9Producer, EgammaHLTPhotonTrackIsolationProducersRegional, EgammaHLTR9IDProducer, edm::TriggerResultInserter, HLTCollectionProducer< T >, L3MuonCandidateProducer, CaloTowerCreatorForTauHLT, EgammaHLTElectronTrackIsolationProducers, TrackAssociatorEDProducer, HLTHcalPFClusterIsolationProducer< T1 >, L2MuonCandidateProducer, EgammaHLTClusterShapeProducer, RandomEngineStateProducer, TauJetSelectorForHLTTrackSeeding, CollectionCombiner< Collection >, EgammaHLTPixelMatchElectronProducers, EgammaHLTRecoEcalCandidateProducers, MuonLinksProducer, GlobalMuonToMuonProducer, L2TauPixelIsoTagProducer, L3MuonCandidateProducerFromMuons, MuonLinksProducerForHLT, EgammaHLTCaloTowerProducer, MuonRefProducer, L3MuonSumCaloPFIsolationProducer, L1HLTTauMatching, evf::EvFFEDSelector, QuarkoniaTrackSelector, L2TauJetsMerger, and L3MuonCleaner.
Referenced by doEvent(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 114 of file EDProducerBase.h.
References moduleDescription_, and edm::ProducerBase::registerProducts().
|
inlineprivate |
Definition at line 151 of file EDProducerBase.h.
References popcon2dropbox_job_conf::md, and moduleDescription_.
|
inlineprivate |
Definition at line 117 of file EDProducerBase.h.
|
friend |
Definition at line 56 of file EDProducerBase.h.
|
friend |
Definition at line 52 of file EDProducerBase.h.
|
friend |
Definition at line 53 of file EDProducerBase.h.
|
private |
Definition at line 154 of file EDProducerBase.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), doStreamBeginLuminosityBlock(), doStreamBeginRun(), doStreamEndLuminosityBlock(), doStreamEndRun(), moduleDescription(), registerProductsAndCallbacks(), and setModuleDescription().
|
private |
Definition at line 156 of file EDProducerBase.h.
Referenced by doEvent(), and doPreallocate().
|
private |
Definition at line 155 of file EDProducerBase.h.
Referenced by doEvent(), and doPreallocate().