#include <FlavorHistoryProducer.h>
Public Member Functions | |
FlavorHistoryProducer (const edm::ParameterSet &) | |
constructor More... | |
~FlavorHistoryProducer () | |
destructor 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) |
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 Member Functions | |
void | getAncestors (const reco::Candidate &c, std::vector< reco::Candidate const * > &moms) |
reco::CandidateView::const_iterator | getClosestJet (edm::Handle< reco::CandidateView > const &pJets, reco::Candidate const &parton) const |
reco::Candidate const * | getSister (const reco::Candidate &c) |
void | produce (edm::Event &e, const edm::EventSetup &) override |
process one event More... | |
Private Attributes | |
double | etaMaxParticle_ |
double | etaMaxShower_ |
std::string | flavorHistoryName_ |
double | matchDR_ |
edm::EDGetTokenT < reco::CandidateView > | matchedSrcToken_ |
int | pdgIdToSelect_ |
double | ptMinParticle_ |
double | ptMinShower_ |
edm::EDGetTokenT < reco::CandidateView > | srcToken_ |
bool | verbose_ |
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) |
class
Definition at line 57 of file FlavorHistoryProducer.h.
FlavorHistoryProducer::FlavorHistoryProducer | ( | const edm::ParameterSet & | p | ) |
constructor
Definition at line 38 of file FlavorHistoryProducer.cc.
References flavorHistoryName_.
FlavorHistoryProducer::~FlavorHistoryProducer | ( | ) |
|
private |
Definition at line 329 of file FlavorHistoryProducer.cc.
References EnergyCorrector::c, reco::Candidate::mother(), and reco::Candidate::numberOfMothers().
Referenced by produce().
|
private |
Definition at line 346 of file FlavorHistoryProducer.cc.
References deltaR(), j, matchDR_, and reco::Candidate::p4().
Referenced by produce().
|
private |
|
overrideprivatevirtual |
process one event
Implements edm::EDProducer.
Definition at line 56 of file FlavorHistoryProducer.cc.
References funct::abs(), gather_cfg::cout, eta, etaMaxShower_, spr::find(), flavorHistoryName_, newFWLiteAna::found, getAncestors(), edm::Event::getByToken(), getClosestJet(), i, cuy::ii, j, findQualityFiles::jj, matchedSrcToken_, reco::Candidate::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, benchmark_cfg::pdgId, reco::Candidate::pdgId(), pdgIdToSelect_, ptMinShower_, edm::Event::put(), srcToken_, reco::Candidate::status(), ntuplemaker::status, and verbose_.
|
private |
Definition at line 84 of file FlavorHistoryProducer.h.
|
private |
Definition at line 85 of file FlavorHistoryProducer.h.
Referenced by produce().
|
private |
Definition at line 86 of file FlavorHistoryProducer.h.
Referenced by FlavorHistoryProducer(), and produce().
|
private |
Definition at line 80 of file FlavorHistoryProducer.h.
Referenced by getClosestJet().
|
private |
Definition at line 79 of file FlavorHistoryProducer.h.
Referenced by produce().
|
private |
Definition at line 81 of file FlavorHistoryProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file FlavorHistoryProducer.h.
|
private |
Definition at line 83 of file FlavorHistoryProducer.h.
Referenced by produce().
|
private |
Definition at line 78 of file FlavorHistoryProducer.h.
Referenced by produce().
|
private |
Definition at line 87 of file FlavorHistoryProducer.h.
Referenced by produce().