Private Member Functions | |
void | getAncestors (const reco::Candidate &c, std::vector< reco::Candidate const *> &moms) const |
reco::CandidateView::const_iterator | getClosestJet (edm::Handle< reco::CandidateView > const &pJets, reco::Candidate const &parton) const |
void | produce (edm::StreamID, edm::Event &e, const edm::EventSetup &) const override |
process one event More... | |
Private Attributes | |
const double | etaMaxParticle_ |
const double | etaMaxShower_ |
const std::string | flavorHistoryName_ |
const double | matchDR_ |
const edm::EDGetTokenT< reco::CandidateView > | matchedSrcToken_ |
const int | pdgIdToSelect_ |
const double | ptMinParticle_ |
const double | ptMinShower_ |
const edm::EDGetTokenT< reco::CandidateView > | srcToken_ |
const bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
class
Definition at line 54 of file FlavorHistoryProducer.cc.
FlavorHistoryProducer::FlavorHistoryProducer | ( | const edm::ParameterSet & | p | ) |
constructor
Definition at line 108 of file FlavorHistoryProducer.cc.
References flavorHistoryName_.
|
private |
Definition at line 410 of file FlavorHistoryProducer.cc.
References HltBtagPostValidation_cff::c, reco::Candidate::mother(), and reco::Candidate::numberOfMothers().
Referenced by produce().
|
private |
Definition at line 422 of file FlavorHistoryProducer.cc.
References edm::View< T >::begin(), PbPb_ZMuSkimMuonDPG_cff::deltaR, l1ctLayer1_cff::dr, edm::View< T >::end(), dqmiolumiharvest::j, matchDR_, and reco::Candidate::p4().
Referenced by produce().
|
overrideprivatevirtual |
process one event
Implements edm::global::EDProducerBase.
Definition at line 122 of file FlavorHistoryProducer.cc.
References funct::abs(), edm::View< T >::begin(), gather_cfg::cout, edm::View< T >::end(), PVValHelper::eta, etaMaxShower_, spr::find(), flavorHistoryName_, newFWLiteAna::found, getAncestors(), edm::Event::getByToken(), getClosestJet(), mps_fire::i, cuy::ii, dqmiolumiharvest::j, findQualityFiles::jj, muonTagProbeFilters_cff::matched, matchedSrcToken_, eostools::move(), reco::Candidate::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, EgammaValidation_cff::pdgId, reco::Candidate::pdgId(), pdgIdToSelect_, ptMinShower_, edm::Event::put(), srcToken_, mps_update::status, reco::Candidate::status(), and verbose_.
|
private |
Definition at line 74 of file FlavorHistoryProducer.cc.
|
private |
Definition at line 75 of file FlavorHistoryProducer.cc.
Referenced by produce().
|
private |
Definition at line 76 of file FlavorHistoryProducer.cc.
Referenced by FlavorHistoryProducer(), and produce().
|
private |
Definition at line 70 of file FlavorHistoryProducer.cc.
Referenced by getClosestJet().
|
private |
Definition at line 69 of file FlavorHistoryProducer.cc.
Referenced by produce().
|
private |
Definition at line 71 of file FlavorHistoryProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file FlavorHistoryProducer.cc.
|
private |
Definition at line 73 of file FlavorHistoryProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file FlavorHistoryProducer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file FlavorHistoryProducer.cc.
Referenced by produce().