#include <FlavorHistoryProducer.h>
Public Member Functions | |
FlavorHistoryProducer (const edm::ParameterSet &) | |
constructor More... | |
~FlavorHistoryProducer () | |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 &) |
process one event More... | |
Private Attributes | |
double | etaMaxParticle_ |
double | etaMaxShower_ |
std::string | flavorHistoryName_ |
double | matchDR_ |
edm::InputTag | matchedSrc_ |
int | pdgIdToSelect_ |
double | ptMinParticle_ |
double | ptMinShower_ |
edm::InputTag | src_ |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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 trackerHits::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 |
|
privatevirtual |
process one event
Implements edm::EDProducer.
Definition at line 56 of file FlavorHistoryProducer.cc.
References abs, gather_cfg::cout, eta(), etaMaxShower_, spr::find(), flavorHistoryName_, newFWLiteAna::found, getAncestors(), edm::Event::getByLabel(), getClosestJet(), i, j, findQualityFiles::jj, matchedSrc_, reco::Candidate::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, benchmark_cfg::pdgId, reco::Candidate::pdgId(), pdgIdToSelect_, ptMinShower_, edm::Event::put(), src_, 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().