Private Member Functions | |
int | fillAlgoritDefinition (const Jet &) |
int | fillPhysicsDefinition (const Jet &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | coneSizeToAssociate |
bool | doPriority |
edm::EDGetTokenT< edm::View < reco::Jet > > | m_jetsSrcToken |
edm::EDGetTokenT < GenParticleRefVector > | m_ParticleSrcToken |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Definition at line 94 of file JetPartonMatcher.cc.
JetPartonMatcher::JetPartonMatcher | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 123 of file JetPartonMatcher.cc.
References coneSizeToAssociate, doPriority, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), m_jetsSrcToken, m_ParticleSrcToken, and priorityList.
JetPartonMatcher::~JetPartonMatcher | ( | ) |
Definition at line 144 of file JetPartonMatcher.cc.
|
private |
Definition at line 216 of file JetPartonMatcher.cc.
References funct::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 327 of file JetPartonMatcher.cc.
References funct::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().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 150 of file JetPartonMatcher.cc.
References reco::LeafCandidate::eta(), fillAlgoritDefinition(), fillPhysicsDefinition(), edm::Event::getByToken(), j, m, m_jetsSrcToken, m_ParticleSrcToken, particles, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::status(), theHeaviest, theNearest2, and theNearest3.
|
private |
Definition at line 114 of file JetPartonMatcher.cc.
Referenced by fillAlgoritDefinition(), fillPhysicsDefinition(), and JetPartonMatcher().
|
private |
Definition at line 116 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 113 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 115 of file JetPartonMatcher.cc.
|
private |
Definition at line 117 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().