#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 edm::View< T >::begin(), DEFINE_FWK_MODULE, deltaR(), runTauDisplay::dr, edm::View< T >::end(), matchDR_, and reco::Candidate::p4().
Referenced by produce().
|
private |
|
overrideprivate |
process one event
Definition at line 56 of file FlavorHistoryProducer.cc.
References funct::abs(), edm::View< T >::begin(), gather_cfg::cout, edm::View< T >::end(), stringResolutionProvider_cfi::eta, etaMaxShower_, spr::find(), flavorHistoryName_, runEdmFileComparison::found, getAncestors(), edm::Event::getByToken(), getClosestJet(), mps_fire::i, cuy::ii, findQualityFiles::jj, electronMatch_cfi::matched, matchedSrcToken_, eostools::move(), reco::Candidate::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, HadronAndPartonSelector_cfi::particles, cosmictrackingParticleSelector_cfi::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().