Public Member Functions | |
JetPartonMatcher (const edm::ParameterSet &) | |
~JetPartonMatcher () | |
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 | |
int | fillAlgoritDefinition (const Jet &) |
int | fillPhysicsDefinition (const Jet &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
double | coneSizeToAssociate |
bool | doPriority |
edm::InputTag | m_jetsSrc |
edm::InputTag | m_ParticleSrc |
Handle< GenParticleRefVector > | particles |
bool | physDefinition |
vector< int > | priorityList |
int | theHardest |
int | theHeaviest |
int | theNearest2 |
int | theNearest3 |
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) |
Definition at line 94 of file JetPartonMatcher.cc.
JetPartonMatcher::JetPartonMatcher | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 122 of file JetPartonMatcher.cc.
References coneSizeToAssociate, doPriority, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), m_jetsSrc, m_ParticleSrc, and priorityList.
JetPartonMatcher::~JetPartonMatcher | ( | ) |
Definition at line 143 of file JetPartonMatcher.cc.
|
private |
Definition at line 215 of file JetPartonMatcher.cc.
References abs, coneSizeToAssociate, doPriority, spr::find(), m, reco::Candidate::p4(), reco::LeafCandidate::p4(), particles, reco::Candidate::pdgId(), priorityList, reco::Candidate::pt(), reco::Candidate::status(), theHardest, theHeaviest, and theNearest2.
Referenced by produce().
|
private |
Definition at line 326 of file JetPartonMatcher.cc.
References abs, coneSizeToAssociate, doPriority, spr::find(), reco::flavour(), m, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), reco::LeafCandidate::p4(), particles, benchmark_cfg::pdgId, reco::Candidate::pdgId(), priorityList, reco::Candidate::status(), theHardest, theHeaviest, theNearest2, and theNearest3.
Referenced by produce().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 149 of file JetPartonMatcher.cc.
References reco::LeafCandidate::eta(), fillAlgoritDefinition(), fillPhysicsDefinition(), edm::Event::getByLabel(), j, m, m_jetsSrc, m_ParticleSrc, particles, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::status(), theHeaviest, theNearest2, and theNearest3.
|
private |
Definition at line 113 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and JetPartonMatcher().
|
private |
Definition at line 115 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and JetPartonMatcher().
|
private |
Definition at line 112 of file JetPartonMatcher.cc.
Referenced by JetPartonMatcher(), and produce().
|
private |
Definition at line 112 of file JetPartonMatcher.cc.
Referenced by JetPartonMatcher(), and produce().
|
private |
Definition at line 110 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and produce().
|
private |
Definition at line 114 of file JetPartonMatcher.cc.
|
private |
Definition at line 116 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and JetPartonMatcher().
|
private |
Definition at line 108 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), and fillPhysicsDefinition().
|
private |
Definition at line 105 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and produce().
|
private |
Definition at line 106 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and produce().
|
private |
Definition at line 107 of file JetPartonMatcher.cc.
Referenced by fillPhysicsDefinition(), and produce().