CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
JetPartonMatcher Class Reference
Inheritance diagram for JetPartonMatcher:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  WorkingVariables
 

Public Member Functions

 JetPartonMatcher (const edm::ParameterSet &)
 
 ~JetPartonMatcher () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

int fillAlgoritDefinition (const Jet &, WorkingVariables &) const
 
int fillPhysicsDefinition (const Jet &, WorkingVariables &) const
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 

Private Attributes

double coneSizeToAssociate
 
bool doPriority
 
edm::EDGetTokenT< edm::View< reco::Jet > > m_jetsSrcToken
 
edm::EDGetTokenT< GenParticleRefVectorm_ParticleSrcToken
 
bool physDefinition
 
vector< int > priorityList
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 94 of file JetPartonMatcher.cc.

Constructor & Destructor Documentation

◆ JetPartonMatcher()

JetPartonMatcher::JetPartonMatcher ( const edm::ParameterSet iConfig)

Definition at line 123 of file JetPartonMatcher.cc.

123  {
124  produces<JetMatchedPartonsCollection>();
125  m_jetsSrcToken = consumes<edm::View<reco::Jet> >(iConfig.getParameter<edm::InputTag>("jets"));
126  m_ParticleSrcToken = consumes<GenParticleRefVector>(iConfig.getParameter<edm::InputTag>("partons"));
127  coneSizeToAssociate = iConfig.getParameter<double>("coneSizeToAssociate");
128  if (iConfig.exists("doPriority")) {
129  doPriority = iConfig.getParameter<bool>("doPriority");
130  priorityList = iConfig.getParameter<vector<int> >("priorityList");
131  } else {
132  doPriority = false;
133  priorityList.clear();
134  }
135 }

References hltBtagJetMCTools_cff::coneSizeToAssociate, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().

◆ ~JetPartonMatcher()

JetPartonMatcher::~JetPartonMatcher ( )
override

Definition at line 139 of file JetPartonMatcher.cc.

139 {}

Member Function Documentation

◆ fillAlgoritDefinition()

int JetPartonMatcher::fillAlgoritDefinition ( const Jet theJet,
WorkingVariables wv 
) const
private

Definition at line 209 of file JetPartonMatcher.cc.

209  {
210  int tempParticle = -1;
211  int tempPartonHighestPt = -1;
212  int tempNearest = -1;
213  float maxPt = 0;
214  float minDr = 1000;
215  bool foundPriority = false;
216 
217  // Loop over the particles in question until we find a priority
218  // "hit", or if we find none in the priority list (or we don't want
219  // to consider priority), then loop through all particles and fill
220  // standard definition.
221 
222  //
223  // Matching:
224  //
225  // 1) First try to match by hand. The "priority list" is given
226  // by the user. The algorithm finds any particles in that
227  // "priority list" that are within the specified cone size.
228  // If it finds one, it counts the object as associating to that
229  // particle.
230  // NOTE! The objects in the priority list are given in order
231  // of priority. So if the user specifies:
232  // 6, 24, 21,
233  // then it will first look for top quarks, then W bosons, then gluons.
234  // 2) If no priority items are found, do the default "standard"
235  // matching.
236  for (size_t m = 0; m < wv.particles->size() && !foundPriority; ++m) {
237  // const Candidate & aParton = *(wv.particles->at(m).get());
238  const GenParticle& aParton = *(wv.particles->at(m).get());
239  int flavour = abs(aParton.pdgId());
240 
241  // "Priority" behavoir:
242  // Associate to the first particle found in the priority list, regardless
243  // of delta R.
244  if (doPriority) {
245  vector<int>::const_iterator ipriority = find(priorityList.begin(), priorityList.end(), flavour);
246  // Check to see if this particle is in our priority list
247  if (ipriority != priorityList.end()) {
248  // This particle is on our priority list. If it matches,
249  // we break, since we take in order of priority, not deltaR
250  double dist = DeltaR(theJet.p4(), aParton.p4());
251  if (dist <= coneSizeToAssociate) {
252  tempParticle = m;
253  foundPriority = true;
254  }
255  }
256  }
257  // Here we do not want to do priority matching. Ensure the "foundPriority" swtich
258  // is turned off.
259  else {
260  foundPriority = false;
261  }
262 
263  // Default behavior:
264  // Look for partons before the color string to associate.
265  // Do this if we don't want to do priority matching, or if
266  // we didn't find a priority object.
267 
268  if (!foundPriority && aParton.status() != 3) {
269  double dist = DeltaR(theJet.p4(), aParton.p4());
270  if (dist <= coneSizeToAssociate) {
271  if (dist < minDr) {
272  minDr = dist;
273  tempNearest = m;
274  }
275  if (tempParticle == -1 && (flavour == 4))
276  tempParticle = m;
277  if (flavour == 5)
278  tempParticle = m;
279  if (aParton.pt() > maxPt) {
280  maxPt = aParton.pt();
281  tempPartonHighestPt = m;
282  }
283  }
284  }
285  }
286 
287  if (foundPriority) {
288  wv.theHeaviest = tempParticle; // The priority-matched particle
289  wv.theHardest = -1; // set the rest to -1
290  wv.theNearest2 = -1; // " "
291  } else {
292  wv.theHeaviest = tempParticle;
293  wv.theHardest = tempPartonHighestPt;
294  wv.theNearest2 = tempNearest;
295  if (tempParticle == -1)
296  tempParticle = tempPartonHighestPt;
297  }
298  return tempParticle;
299 }

References funct::abs(), hltBtagJetMCTools_cff::coneSizeToAssociate, electronAnalyzer_cfi::DeltaR, spr::find(), GenHFHadronMatcher_cff::flavour, visualization-live-secondInstance_cfg::m, MuonErrorMatrixAnalyzer_cfi::maxPt, reco::LeafCandidate::p4(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::pt(), reco::LeafCandidate::status(), and gpuVertexFinder::wv.

◆ fillPhysicsDefinition()

int JetPartonMatcher::fillPhysicsDefinition ( const Jet theJet,
WorkingVariables wv 
) const
private

Definition at line 323 of file JetPartonMatcher.cc.

323  {
324  float TheBiggerConeSize = 0.7; // In HepMC it's 0.3 --> it's a mistake: value has to be 0.7
325  int tempParticle = -1;
326  int nInTheCone = 0;
327  int tempNearest = -1;
328  float minDr = 1000;
329  bool foundPriority = false;
330 
331  vector<const reco::Candidate*> theContaminations;
332  theContaminations.clear();
333 
334  // Loop over the particles in question until we find a priority
335  // "hit", or if we find none in the priority list (or we don't want
336  // to consider priority), then loop through all particles and fill
337  // standard definition.
338 
339  //
340  // Matching:
341  //
342  // 1) First try to match by hand. The "priority list" is given
343  // by the user. The algorithm finds any particles in that
344  // "priority list" that are within the specified cone size.
345  // If it finds one, it counts the object as associating to that
346  // particle.
347  // NOTE! The objects in the priority list are given in order
348  // of priority. So if the user specifies:
349  // 6, 24, 21,
350  // then it will first look for top quarks, then W bosons, then gluons.
351  // 2) If no priority items are found, do the default "standard"
352  // matching.
353  for (size_t m = 0; m < wv.particles->size() && !foundPriority; ++m) {
354  // const Candidate & aParticle = *(wv.particles->at(m).get());
355  const GenParticle& aParticle = *(wv.particles->at(m).get());
356  int flavour = abs(aParticle.pdgId());
357 
358  // "Priority" behavoir:
359  // Associate to the first particle found in the priority list, regardless
360  // of delta R.
361  if (doPriority) {
362  vector<int>::const_iterator ipriority = find(priorityList.begin(), priorityList.end(), flavour);
363  // Check to see if this particle is in our priority list
364  if (ipriority != priorityList.end()) {
365  // This particle is on our priority list. If it matches,
366  // we break, since we take in order of priority, not deltaR
367  double dist = DeltaR(theJet.p4(), aParticle.p4());
368  if (dist <= coneSizeToAssociate) {
369  tempParticle = m;
370  foundPriority = true;
371  }
372  }
373  }
374  // Here we do not want to do priority matching. Ensure the "foundPriority" swtich
375  // is turned off.
376  else {
377  foundPriority = false;
378  }
379 
380  // Default behavior:
381  if (!foundPriority) {
382  // skipping all particle but udscbg (is this correct/enough?!?!)
383  bool isAParton = false;
384  if (flavour == 1 || flavour == 2 || flavour == 3 || flavour == 4 || flavour == 5 || flavour == 21)
385  isAParton = true;
386  if (!isAParton)
387  continue;
388  double dist = DeltaR(theJet.p4(), aParticle.p4());
389  if (aParticle.status() == 3 && dist < minDr) {
390  minDr = dist;
391  tempNearest = m;
392  }
393  if (aParticle.status() == 3 && dist <= coneSizeToAssociate) {
394  //cout << "particle in small cone=" << aParticle.pdgId() << endl;
395  tempParticle = m;
396  nInTheCone++;
397  }
398  // Look for heavy partons in TheBiggerConeSize now
399  if (aParticle.numberOfDaughters() > 0 && aParticle.status() != 3) {
400  if (flavour == 1 || flavour == 2 || flavour == 3 || flavour == 21)
401  continue;
402  if (dist < TheBiggerConeSize)
403  theContaminations.push_back(&aParticle);
404  }
405  }
406  }
407 
408  // Here's the default behavior for assignment if there is no priority.
409  if (!foundPriority) {
410  wv.theNearest3 = tempNearest;
411 
412  if (nInTheCone != 1)
413  return -1; // rejected --> only one initialParton requested
414  if (theContaminations.empty())
415  return tempParticle; //no contamination
416  int initialPartonFlavour = abs((wv.particles->at(tempParticle).get())->pdgId());
417 
418  vector<const Candidate*>::const_iterator itCont = theContaminations.begin();
419  for (; itCont != theContaminations.end(); itCont++) {
420  int contaminatingFlavour = abs((*itCont)->pdgId());
421  if ((*itCont)->numberOfMothers() > 0 && (*itCont)->mother(0) == wv.particles->at(tempParticle).get())
422  continue; // mother is the initialParton --> OK
423  if (initialPartonFlavour == 4) {
424  if (contaminatingFlavour == 4)
425  continue; // keep association --> the initialParton is a c --> the contaminated parton is a c
426  tempParticle = -1; // all the other cases reject!
427  return tempParticle;
428  }
429  }
430  }
431  // If there is priority, then just set the heaviest to priority, the rest are -1.
432  else {
433  wv.theHeaviest = tempParticle; // Set the heaviest to tempParticle
434  wv.theNearest2 = -1; // Set the rest to -1
435  wv.theNearest3 = -1; // " "
436  wv.theHardest = -1; // " "
437  }
438 
439  return tempParticle;
440 }

References funct::abs(), hltBtagJetMCTools_cff::coneSizeToAssociate, electronAnalyzer_cfi::DeltaR, spr::find(), GenHFHadronMatcher_cff::flavour, visualization-live-secondInstance_cfg::m, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::p4(), EgammaValidation_cff::pdgId, reco::LeafCandidate::pdgId(), reco::LeafCandidate::status(), and gpuVertexFinder::wv.

◆ produce()

void JetPartonMatcher::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iEs 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 143 of file JetPartonMatcher.cc.

143  {
144  WorkingVariables wv;
146  iEvent.getByToken(m_jetsSrcToken, jets_h);
147  iEvent.getByToken(m_ParticleSrcToken, wv.particles);
148 
149  edm::LogVerbatim("JetPartonMatcher") << "=== Partons size:" << wv.particles->size();
150 
151  for (size_t m = 0; m < wv.particles->size(); ++m) {
152  const GenParticle& aParton = *(wv.particles->at(m).get());
153  edm::LogVerbatim("JetPartonMatcher") << aParton.status() << " " << aParton.pdgId() << " " << aParton.pt() << " "
154  << aParton.eta() << " " << aParton.phi() << endl;
155  }
156 
157  auto jetMatchedPartons = std::make_unique<JetMatchedPartonsCollection>(reco::JetRefBaseProd(jets_h));
158 
159  for (size_t j = 0; j < jets_h->size(); j++) {
160  const int theMappedPartonAlg = fillAlgoritDefinition((*jets_h)[j], wv);
161  const int theMappedPartonPhy = fillPhysicsDefinition((*jets_h)[j], wv);
162 
163  GenParticleRef pHV;
164  GenParticleRef pN2;
165  GenParticleRef pN3;
166  GenParticleRef pPH;
167  GenParticleRef pAL;
168 
169  if (wv.theHeaviest >= 0)
170  pHV = wv.particles->at(wv.theHeaviest);
171  if (wv.theNearest2 >= 0)
172  pN2 = wv.particles->at(wv.theNearest2);
173  if (wv.theNearest3 >= 0)
174  pN3 = wv.particles->at(wv.theNearest3);
175  if (theMappedPartonPhy >= 0)
176  pPH = wv.particles->at(theMappedPartonPhy);
177  if (theMappedPartonAlg >= 0)
178  pAL = wv.particles->at(theMappedPartonAlg);
179 
180  (*jetMatchedPartons)[jets_h->refAt(j)] = MatchedPartons(pHV, pN2, pN3, pPH, pAL);
181  }
182 
183  iEvent.put(std::move(jetMatchedPartons));
184 }

References reco::LeafCandidate::eta(), iEvent, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, eostools::move(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::status(), and gpuVertexFinder::wv.

Member Data Documentation

◆ coneSizeToAssociate

double JetPartonMatcher::coneSizeToAssociate
private

Definition at line 115 of file JetPartonMatcher.cc.

◆ doPriority

bool JetPartonMatcher::doPriority
private

Definition at line 117 of file JetPartonMatcher.cc.

◆ m_jetsSrcToken

edm::EDGetTokenT<edm::View<reco::Jet> > JetPartonMatcher::m_jetsSrcToken
private

Definition at line 113 of file JetPartonMatcher.cc.

◆ m_ParticleSrcToken

edm::EDGetTokenT<GenParticleRefVector> JetPartonMatcher::m_ParticleSrcToken
private

Definition at line 114 of file JetPartonMatcher.cc.

◆ physDefinition

bool JetPartonMatcher::physDefinition
private

Definition at line 116 of file JetPartonMatcher.cc.

◆ priorityList

vector<int> JetPartonMatcher::priorityList
private

Definition at line 118 of file JetPartonMatcher.cc.

GenHFHadronMatcher_cff.flavour
flavour
Definition: GenHFHadronMatcher_cff.py:8
reco::CompositeRefCandidateT::numberOfDaughters
size_t numberOfDaughters() const override
number of daughters
JetPartonMatcher::fillAlgoritDefinition
int fillAlgoritDefinition(const Jet &, WorkingVariables &) const
Definition: JetPartonMatcher.cc:209
reco::LeafCandidate::status
int status() const final
status word
Definition: LeafCandidate.h:180
JetPartonMatcher::doPriority
bool doPriority
Definition: JetPartonMatcher.cc:117
JetPartonMatcher::priorityList
vector< int > priorityList
Definition: JetPartonMatcher.cc:118
gpuVertexFinder::wv
float *__restrict__ wv
Definition: gpuFitVertices.h:27
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::Handle
Definition: AssociativeIterator.h:50
JetPartonMatcher::coneSizeToAssociate
double coneSizeToAssociate
Definition: JetPartonMatcher.cc:115
GenParticle
Definition: GenParticle.py:1
edm::Ref< GenParticleCollection >
MuonErrorMatrixAnalyzer_cfi.maxPt
maxPt
Definition: MuonErrorMatrixAnalyzer_cfi.py:19
JetPartonMatcher::m_jetsSrcToken
edm::EDGetTokenT< edm::View< reco::Jet > > m_jetsSrcToken
Definition: JetPartonMatcher.cc:113
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
JetPartonMatcher::fillPhysicsDefinition
int fillPhysicsDefinition(const Jet &, WorkingVariables &) const
Definition: JetPartonMatcher.cc:323
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
reco::LeafCandidate::pdgId
int pdgId() const final
PDG identifier.
Definition: LeafCandidate.h:176
iEvent
int iEvent
Definition: GenABIO.cc:224
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
EgammaValidation_cff.pdgId
pdgId
Definition: EgammaValidation_cff.py:118
electronAnalyzer_cfi.DeltaR
DeltaR
Definition: electronAnalyzer_cfi.py:33
eostools.move
def move(src, dest)
Definition: eostools.py:511
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
JetPartonMatcher::m_ParticleSrcToken
edm::EDGetTokenT< GenParticleRefVector > m_ParticleSrcToken
Definition: JetPartonMatcher.cc:114
edm::InputTag
Definition: InputTag.h:15
reco::MatchedPartons
Definition: MatchedPartons.h:12
edm::RefToBaseProd
Definition: RefToBase.h:65