#include <FlavorHistoryProducer.h>
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(), runTauDisplay::dr, 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_, eostools::move(), reco::Candidate::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, benchmark_cfg::pdgId, reco::Candidate::pdgId(), pdgIdToSelect_, ptMinShower_, edm::Event::put(), srcToken_, mps_update::status, reco::Candidate::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().