Public Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
RecoTauJetRegionProducer (const edm::ParameterSet &pset) | |
~RecoTauJetRegionProducer () | |
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) |
Private Attributes | |
double | deltaR2_ |
edm::InputTag | inputJets_ |
edm::EDGetTokenT< reco::CandidateView > | Jets_token |
double | maxJetAbsEta_ |
double | minJetPt_ |
std::string | moduleLabel_ |
edm::EDGetTokenT< reco::PFCandidateCollection > | pf_token |
edm::EDGetTokenT< JetToPFCandidateAssociation > | pfCandAssocMap_token |
edm::InputTag | pfCandAssocMapSrc_ |
edm::InputTag | pfCandSrc_ |
int | verbosity_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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 32 of file RecoTauJetRegionProducer.cc.
typedef edm::AssociationMap<edm::OneToMany<std::vector<reco::PFJet>, std::vector<reco::PFCandidate>, unsigned int> > RecoTauJetRegionProducer::JetToPFCandidateAssociation |
Definition at line 36 of file RecoTauJetRegionProducer.cc.
Definition at line 35 of file RecoTauJetRegionProducer.cc.
|
explicit |
Definition at line 60 of file RecoTauJetRegionProducer.cc.
References deltaR(), deltaR2_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), inputJets_, Jets_token, maxJetAbsEta_, minJetPt_, pf_token, pfCandAssocMap_token, pfCandAssocMapSrc_, pfCandSrc_, and verbosity_.
|
inline |
|
override |
Definition at line 83 of file RecoTauJetRegionProducer.cc.
References funct::abs(), reco::CompositePtrCandidate::addDaughter(), reco::CompositePtrCandidate::clearDaughters(), gather_cfg::cout, DEFINE_FWK_MODULE, reco::deltaR2(), deltaR2_, MillePedeFileConverter_cfg::e, edm::AssociationMap< Tag >::end(), edm::helper::Filler< Map >::fill(), objects.autophobj::filler, edm::AssociationMap< Tag >::find(), edm::Event::get(), edm::Event::getByToken(), reco::PFJet::getPFConstituents(), edm::RefVector< C, T, F >::id(), training_settings::idx, inputJets_, edm::helper::Filler< Map >::insert(), edm::HandleBase::isValid(), fwrapper::jets, Jets_token, edm::Ref< C, T, F >::key(), edm::InputTag::label(), maxJetAbsEta_, minJetPt_, moduleLabel_, eostools::move(), pf_token, pfCandAssocMap_token, pfCandAssocMapSrc_, pfCandSrc_, edm::Event::put(), edm::RefVector< C, T, F >::size(), groupFilesInBlocks::temp, and verbosity_.
Referenced by ~RecoTauJetRegionProducer().
|
private |
Definition at line 55 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 45 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 50 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 54 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 53 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 43 of file RecoTauJetRegionProducer.cc.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and produce().
|
private |
Definition at line 49 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 51 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 47 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 46 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().
|
private |
Definition at line 57 of file RecoTauJetRegionProducer.cc.
Referenced by produce(), and RecoTauJetRegionProducer().