CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
reco::tau::RecoTauQualityCuts Class Reference

#include <RecoTauQualityCuts.h>

Public Types

typedef std::function< bool(const Candidate &)> CandQCutFunc
 
typedef std::vector< CandQCutFuncCandQCutFuncCollection
 
typedef std::map< int, CandQCutFuncCollectionCandQCutFuncMap
 
typedef std::function< bool(const TrackBaseRef &)> TrackQCutFunc
 
typedef std::vector< TrackQCutFuncTrackQCutFuncCollection
 

Public Member Functions

bool filterCand (const reco::Candidate &cand) const
 Filter a single Candidate. More...
 
template<typename CandRefType >
bool filterCandRef (const CandRefType &cand) const
 Filter a Candidate held by a smart pointer or Ref. More...
 
template<typename Coll >
Coll filterCandRefs (const Coll &refcoll, bool invert=false) const
 Filter a ref vector of Candidates. More...
 
bool filterChargedCand (const reco::Candidate &cand) const
 or a single charged candidate More...
 
bool filterTrack (const reco::Track &track) const
 
bool filterTrack (const reco::TrackBaseRef &track) const
 Filter a single Track. More...
 
bool filterTrack (const reco::TrackRef &track) const
 
template<typename Coll >
Coll filterTracks (const Coll &coll, bool invert=false) const
 Filter a collection of Tracks. More...
 
 RecoTauQualityCuts (const edm::ParameterSet &qcuts)
 
void setLeadTrack (const reco::Candidate &leadCand)
 
void setLeadTrack (const reco::CandidateRef &leadCand)
 
void setLeadTrack (const reco::Track &leadTrack)
 Update the leading track. More...
 
void setPV (const reco::VertexRef &vtx)
 Update the primary vertex. More...
 

Private Member Functions

bool filterCandByType (const reco::Candidate &cand) const
 
bool filterGammaCand (const reco::Candidate &cand) const
 
bool filterNeutralHadronCand (const reco::Candidate &cand) const
 
bool filterTrack_ (const reco::Track *track) const
 

Private Attributes

bool checkHitPattern_
 
bool checkPV_
 
const reco::TrackleadTrack_
 
double maxDeltaZ_
 
double maxDeltaZToLeadTrack_
 
double maxTrackChi2_
 
double maxTransverseImpactParameter_
 
double minGammaEt_
 
double minNeutralHadronEt_
 
int minTrackHits_
 
int minTrackPixelHits_
 
double minTrackPt_
 
double minTrackVertexWeight_
 
reco::VertexRef pv_
 

Detailed Description

Definition at line 34 of file RecoTauQualityCuts.h.

Member Typedef Documentation

◆ CandQCutFunc

typedef std::function<bool(const Candidate&)> reco::tau::RecoTauQualityCuts::CandQCutFunc

Definition at line 39 of file RecoTauQualityCuts.h.

◆ CandQCutFuncCollection

Definition at line 40 of file RecoTauQualityCuts.h.

◆ CandQCutFuncMap

Definition at line 41 of file RecoTauQualityCuts.h.

◆ TrackQCutFunc

typedef std::function<bool(const TrackBaseRef&)> reco::tau::RecoTauQualityCuts::TrackQCutFunc

Definition at line 37 of file RecoTauQualityCuts.h.

◆ TrackQCutFuncCollection

Definition at line 38 of file RecoTauQualityCuts.h.

Constructor & Destructor Documentation

◆ RecoTauQualityCuts()

reco::tau::RecoTauQualityCuts::RecoTauQualityCuts ( const edm::ParameterSet qcuts)
explicit

Definition at line 296 of file RecoTauQualityCuts.cc.

296  {
297  // Setup all of our predicates
298  CandQCutFuncCollection chargedHadronCuts;
299  CandQCutFuncCollection gammaCuts;
300  CandQCutFuncCollection neutralHadronCuts;
301 
302  // Make sure there are no extra passed options
303  std::set<std::string> passedOptionSet;
304  std::vector<std::string> passedOptions = qcuts.getParameterNames();
305 
306  for (auto const& option : passedOptions) {
307  passedOptionSet.insert(option);
308  }
309 
310  unsigned int nCuts = 0;
311  auto getDouble = [&qcuts, &passedOptionSet, &nCuts](const std::string& name) {
312  if (qcuts.exists(name)) {
313  ++nCuts;
314  passedOptionSet.erase(name);
315  return qcuts.getParameter<double>(name);
316  }
317  return -1.0;
318  };
319  auto getUint = [&qcuts, &passedOptionSet, &nCuts](const std::string& name) -> unsigned int {
320  if (qcuts.exists(name)) {
321  ++nCuts;
322  passedOptionSet.erase(name);
323  return qcuts.getParameter<unsigned int>(name);
324  }
325  return 0;
326  };
327 
328  // Build all the QCuts for tracks
329  minTrackPt_ = getDouble("minTrackPt");
330  maxTrackChi2_ = getDouble("maxTrackChi2");
331  minTrackPixelHits_ = getUint("minTrackPixelHits");
332  minTrackHits_ = getUint("minTrackHits");
333  maxTransverseImpactParameter_ = getDouble("maxTransverseImpactParameter");
334  maxDeltaZ_ = getDouble("maxDeltaZ");
335  maxDeltaZToLeadTrack_ = getDouble("maxDeltaZToLeadTrack");
336  // Require tracks to contribute a minimum weight to the associated vertex.
337  minTrackVertexWeight_ = getDouble("minTrackVertexWeight");
338 
339  // Use bit-wise & to avoid conditional code
342  (minTrackVertexWeight_ >= 0);
343 
344  // Build the QCuts for gammas
345  minGammaEt_ = getDouble("minGammaEt");
346 
347  // Build QCuts for netural hadrons
348  minNeutralHadronEt_ = getDouble("minNeutralHadronEt");
349 
350  // Check if there are any remaining unparsed QCuts
351  if (!passedOptionSet.empty()) {
352  std::string unParsedOptions;
353  bool thereIsABadParameter = false;
354  for (auto const& option : passedOptionSet) {
355  // Workaround for HLT - TODO FIXME
356  if (option == "useTracksInsteadOfPFHadrons") {
357  // Crash if true - no one should have this option enabled.
358  if (qcuts.getParameter<bool>("useTracksInsteadOfPFHadrons")) {
359  throw cms::Exception("DontUseTracksInQcuts") << "The obsolete exception useTracksInsteadOfPFHadrons "
360  << "is set to true in the quality cut config." << std::endl;
361  }
362  continue;
363  }
364 
365  // If we get to this point, there is a real unknown parameter
366  thereIsABadParameter = true;
367 
368  unParsedOptions += option;
369  unParsedOptions += "\n";
370  }
371  if (thereIsABadParameter) {
372  throw cms::Exception("BadQualityCutConfig") << " The PSet passed to the RecoTauQualityCuts class had"
373  << " the following unrecognized options: " << std::endl
374  << unParsedOptions;
375  }
376  }
377 
378  // Make sure there are at least some quality cuts
379  if (!nCuts) {
380  throw cms::Exception("BadQualityCutConfig") << " No options were passed to the quality cut class!" << std::endl;
381  }
382  }

References checkHitPattern_, checkPV_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), maxDeltaZ_, maxDeltaZToLeadTrack_, maxTrackChi2_, maxTransverseImpactParameter_, minGammaEt_, minNeutralHadronEt_, minTrackHits_, minTrackPixelHits_, minTrackPt_, minTrackVertexWeight_, Skims_PA_cff::name, fileinputsource_cfi::option, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Function Documentation

◆ filterCand()

bool reco::tau::RecoTauQualityCuts::filterCand ( const reco::Candidate cand) const

Filter a single Candidate.

Definition at line 529 of file RecoTauQualityCuts.cc.

529  {
530  auto trackRef = getTrackRef(cand);
531  bool result = true;
532 
533  if (trackRef.isNonnull()) {
534  result = filterTrack(trackRef);
535  } else {
536  auto gsfTrackRef = getGsfTrackRef(cand);
537  if (gsfTrackRef.isNonnull())
538  result = filterTrack(gsfTrackRef);
539  else if (cand.charge() != 0) {
541  }
542  }
543 
544  if (result)
546 
547  return result;
548  }

References filterCandByType(), filterChargedCand(), filterTrack(), and mps_fire::result.

Referenced by filterCandRef().

◆ filterCandByType()

bool reco::tau::RecoTauQualityCuts::filterCandByType ( const reco::Candidate cand) const
private

Definition at line 510 of file RecoTauQualityCuts.cc.

510  {
511  switch (std::abs(cand.pdgId())) {
512  case 22:
513  return filterGammaCand(cand);
514  case 130:
516  // We use the same qcuts for muons/electrons and charged hadrons.
517  case 211:
518  case 11:
519  case 13:
520  // no cuts ATM (track cuts applied in filterCand)
521  return true;
522  // Return false if we dont' know how to deal with this particle type
523  default:
524  return false;
525  };
526  return false;
527  }

References funct::abs(), filterGammaCand(), and filterNeutralHadronCand().

Referenced by filterCand().

◆ filterCandRef()

template<typename CandRefType >
bool reco::tau::RecoTauQualityCuts::filterCandRef ( const CandRefType &  cand) const
inline

Filter a Candidate held by a smart pointer or Ref.

Definition at line 79 of file RecoTauQualityCuts.h.

79  {
80  return filterCand(*cand);
81  }

References filterCand().

Referenced by filterCandRefs().

◆ filterCandRefs()

template<typename Coll >
Coll reco::tau::RecoTauQualityCuts::filterCandRefs ( const Coll &  refcoll,
bool  invert = false 
) const
inline

◆ filterChargedCand()

bool reco::tau::RecoTauQualityCuts::filterChargedCand ( const reco::Candidate cand) const

or a single charged candidate

Definition at line 454 of file RecoTauQualityCuts.cc.

454  {
455  if (cand.charge() == 0)
456  return true;
457  const pat::PackedCandidate* pCand = dynamic_cast<const pat::PackedCandidate*>(&cand);
458  if (pCand == nullptr)
459  return true;
460 
461  //Get track, it should be present for cands with pT(charged)>0.5GeV
462  //and check track quality critera other than vertex weight
463  auto track = getTrack(cand);
464  if (track != nullptr) {
465  if (!filterTrack(*track))
466  return false;
467  } else { //Candidates without track (pT(charged)<0.5GeV): Can still check pT and calculate dxy and dz
468  if (minTrackPt_ >= 0 && !(pCand->pt() > minTrackPt_))
469  return false;
470  if (checkPV_ && pv_.isNull()) {
471  edm::LogError("QCutsNoPrimaryVertex") << "Primary vertex Ref in "
472  << "RecoTauQualityCuts is invalid. - filterChargedCand";
473  return false;
474  }
475 
477  !(std::fabs(pCand->dxy(pv_->position())) <= maxTransverseImpactParameter_))
478  return false;
479  if (maxDeltaZ_ >= 0 && !(std::fabs(pCand->dz(pv_->position())) <= maxDeltaZ_))
480  return false;
481  if (maxDeltaZToLeadTrack_ >= 0) {
482  if (leadTrack_ == nullptr) {
483  edm::LogError("QCutsNoValidLeadTrack") << "Lead track Ref in "
484  << "RecoTauQualityCuts is invalid. - filterChargedCand";
485  return false;
486  }
487 
488  if (!(std::fabs(pCand->dz(pv_->position()) - leadTrack_->dz(pv_->position())) <= maxDeltaZToLeadTrack_))
489  return false;
490  }
491  }
493  return false;
494 
495  return true;
496  }

References checkPV_, pat::PackedCandidate::dxy(), reco::TrackBase::dz(), pat::PackedCandidate::dz(), filterTrack(), getTrack(), edm::Ref< C, T, F >::isNull(), leadTrack_, maxDeltaZ_, maxDeltaZToLeadTrack_, maxTransverseImpactParameter_, reco::tau::qcuts::minPackedCandVertexWeight(), minTrackPt_, minTrackVertexWeight_, pat::PackedCandidate::pt(), pv_, and HLT_2018_cff::track.

Referenced by filterCand().

◆ filterGammaCand()

bool reco::tau::RecoTauQualityCuts::filterGammaCand ( const reco::Candidate cand) const
private

Definition at line 498 of file RecoTauQualityCuts.cc.

498  {
499  if (minGammaEt_ >= 0 && !(cand.et() > minGammaEt_))
500  return false;
501  return true;
502  }

References minGammaEt_.

Referenced by filterCandByType().

◆ filterNeutralHadronCand()

bool reco::tau::RecoTauQualityCuts::filterNeutralHadronCand ( const reco::Candidate cand) const
private

Definition at line 504 of file RecoTauQualityCuts.cc.

504  {
505  if (minNeutralHadronEt_ >= 0 && !(cand.et() > minNeutralHadronEt_))
506  return false;
507  return true;
508  }

References minNeutralHadronEt_.

Referenced by filterCandByType().

◆ filterTrack() [1/3]

bool reco::tau::RecoTauQualityCuts::filterTrack ( const reco::Track track) const

Definition at line 415 of file RecoTauQualityCuts.cc.

415 { return filterTrack_(&track); }

References filterTrack_(), and HLT_2018_cff::track.

◆ filterTrack() [2/3]

bool reco::tau::RecoTauQualityCuts::filterTrack ( const reco::TrackBaseRef track) const

Filter a single Track.

Definition at line 399 of file RecoTauQualityCuts.cc.

399  {
400  if (!filterTrack_(track.get()))
401  return false;
402  if (minTrackVertexWeight_ >= 0. && !(pv_->trackWeight(convertRef(track)) >= minTrackVertexWeight_))
403  return false;
404  return true;
405  }

References filterTrack_(), minTrackVertexWeight_, pv_, and HLT_2018_cff::track.

Referenced by filterCand(), filterChargedCand(), and filterTracks().

◆ filterTrack() [3/3]

bool reco::tau::RecoTauQualityCuts::filterTrack ( const reco::TrackRef track) const

Definition at line 407 of file RecoTauQualityCuts.cc.

407  {
408  if (!filterTrack_(track.get()))
409  return false;
410  if (minTrackVertexWeight_ >= 0. && !(pv_->trackWeight(convertRef(track)) >= minTrackVertexWeight_))
411  return false;
412  return true;
413  }

References filterTrack_(), minTrackVertexWeight_, pv_, and HLT_2018_cff::track.

◆ filterTrack_()

bool reco::tau::RecoTauQualityCuts::filterTrack_ ( const reco::Track track) const
private

Definition at line 417 of file RecoTauQualityCuts.cc.

417  {
418  if (minTrackPt_ >= 0 && !(track->pt() > minTrackPt_))
419  return false;
420  if (maxTrackChi2_ >= 0 && !(track->normalizedChi2() <= maxTrackChi2_))
421  return false;
422  if (checkHitPattern_) {
423  const reco::HitPattern& hitPattern = track->hitPattern();
424  if (minTrackPixelHits_ > 0 && !(hitPattern.numberOfValidPixelHits() >= minTrackPixelHits_))
425  return false;
426  if (minTrackHits_ > 0 && !(hitPattern.numberOfValidHits() >= minTrackHits_))
427  return false;
428  }
429  if (checkPV_ && pv_.isNull()) {
430  edm::LogError("QCutsNoPrimaryVertex") << "Primary vertex Ref in "
431  << "RecoTauQualityCuts is invalid. - filterTrack";
432  return false;
433  }
434 
436  !(std::fabs(track->dxy(pv_->position())) <= maxTransverseImpactParameter_))
437  return false;
438  if (maxDeltaZ_ >= 0 && !(std::fabs(track->dz(pv_->position())) <= maxDeltaZ_))
439  return false;
440  if (maxDeltaZToLeadTrack_ >= 0) {
441  if (!leadTrack_) {
442  edm::LogError("QCutsNoValidLeadTrack") << "Lead track Ref in "
443  << "RecoTauQualityCuts is invalid. - filterTrack";
444  return false;
445  }
446 
447  if (!(std::fabs(track->dz(pv_->position()) - leadTrack_->dz(pv_->position())) <= maxDeltaZToLeadTrack_))
448  return false;
449  }
450 
451  return true;
452  }

References checkHitPattern_, checkPV_, reco::TrackBase::dz(), edm::Ref< C, T, F >::isNull(), leadTrack_, maxDeltaZ_, maxDeltaZToLeadTrack_, maxTrackChi2_, maxTransverseImpactParameter_, minTrackHits_, minTrackPixelHits_, minTrackPt_, reco::HitPattern::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), pv_, and HLT_2018_cff::track.

Referenced by filterTrack().

◆ filterTracks()

template<typename Coll >
Coll reco::tau::RecoTauQualityCuts::filterTracks ( const Coll &  coll,
bool  invert = false 
) const
inline

Filter a collection of Tracks.

Definition at line 65 of file RecoTauQualityCuts.h.

65  {
66  Coll output;
67  for (auto const& track : coll) {
68  if (filterTrack(track) ^ invert)
69  output.push_back(track);
70  }
71  return output;
72  }

References filterTrack(), l1tstage2_dqm_sourceclient-live_cfg::invert, convertSQLitetoXML_cfg::output, and HLT_2018_cff::track.

◆ setLeadTrack() [1/3]

void reco::tau::RecoTauQualityCuts::setLeadTrack ( const reco::Candidate leadCand)

Definition at line 552 of file RecoTauQualityCuts.cc.

References getTrack(), reco::tau::leadCand(), and leadTrack_.

◆ setLeadTrack() [2/3]

void reco::tau::RecoTauQualityCuts::setLeadTrack ( const reco::CandidateRef leadCand)

Update the leading track (using reference) If null, this will set the lead track ref null.

Definition at line 554 of file RecoTauQualityCuts.cc.

554  {
555  if (leadCand.isNonnull()) {
557  } else {
558  // Set null
559  leadTrack_ = nullptr;
560  }
561  }

References getTrack(), reco::tau::leadCand(), and leadTrack_.

◆ setLeadTrack() [3/3]

void reco::tau::RecoTauQualityCuts::setLeadTrack ( const reco::Track leadTrack)

Update the leading track.

Definition at line 550 of file RecoTauQualityCuts.cc.

550 { leadTrack_ = &leadTrack; }

References singlePfTauSkim_cff::leadTrack, and leadTrack_.

◆ setPV()

void reco::tau::RecoTauQualityCuts::setPV ( const reco::VertexRef vtx)
inline

Member Data Documentation

◆ checkHitPattern_

bool reco::tau::RecoTauQualityCuts::checkHitPattern_
private

Definition at line 115 of file RecoTauQualityCuts.h.

Referenced by filterTrack_(), and RecoTauQualityCuts().

◆ checkPV_

bool reco::tau::RecoTauQualityCuts::checkPV_
private

Definition at line 116 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and RecoTauQualityCuts().

◆ leadTrack_

const reco::Track* reco::tau::RecoTauQualityCuts::leadTrack_
private

Definition at line 103 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and setLeadTrack().

◆ maxDeltaZ_

double reco::tau::RecoTauQualityCuts::maxDeltaZ_
private

Definition at line 110 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and RecoTauQualityCuts().

◆ maxDeltaZToLeadTrack_

double reco::tau::RecoTauQualityCuts::maxDeltaZToLeadTrack_
private

Definition at line 111 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and RecoTauQualityCuts().

◆ maxTrackChi2_

double reco::tau::RecoTauQualityCuts::maxTrackChi2_
private

Definition at line 106 of file RecoTauQualityCuts.h.

Referenced by filterTrack_(), and RecoTauQualityCuts().

◆ maxTransverseImpactParameter_

double reco::tau::RecoTauQualityCuts::maxTransverseImpactParameter_
private

Definition at line 109 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and RecoTauQualityCuts().

◆ minGammaEt_

double reco::tau::RecoTauQualityCuts::minGammaEt_
private

Definition at line 113 of file RecoTauQualityCuts.h.

Referenced by filterGammaCand(), and RecoTauQualityCuts().

◆ minNeutralHadronEt_

double reco::tau::RecoTauQualityCuts::minNeutralHadronEt_
private

Definition at line 114 of file RecoTauQualityCuts.h.

Referenced by filterNeutralHadronCand(), and RecoTauQualityCuts().

◆ minTrackHits_

int reco::tau::RecoTauQualityCuts::minTrackHits_
private

Definition at line 108 of file RecoTauQualityCuts.h.

Referenced by filterTrack_(), and RecoTauQualityCuts().

◆ minTrackPixelHits_

int reco::tau::RecoTauQualityCuts::minTrackPixelHits_
private

Definition at line 107 of file RecoTauQualityCuts.h.

Referenced by filterTrack_(), and RecoTauQualityCuts().

◆ minTrackPt_

double reco::tau::RecoTauQualityCuts::minTrackPt_
private

Definition at line 105 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack_(), and RecoTauQualityCuts().

◆ minTrackVertexWeight_

double reco::tau::RecoTauQualityCuts::minTrackVertexWeight_
private

Definition at line 112 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack(), and RecoTauQualityCuts().

◆ pv_

reco::VertexRef reco::tau::RecoTauQualityCuts::pv_
private

Definition at line 101 of file RecoTauQualityCuts.h.

Referenced by filterChargedCand(), filterTrack(), filterTrack_(), and setPV().

reco::tau::RecoTauQualityCuts::filterNeutralHadronCand
bool filterNeutralHadronCand(const reco::Candidate &cand) const
Definition: RecoTauQualityCuts.cc:504
reco::tau::RecoTauQualityCuts::maxDeltaZToLeadTrack_
double maxDeltaZToLeadTrack_
Definition: RecoTauQualityCuts.h:111
reco::tau::RecoTauQualityCuts::filterCandRef
bool filterCandRef(const CandRefType &cand) const
Filter a Candidate held by a smart pointer or Ref.
Definition: RecoTauQualityCuts.h:79
reco::tau::qcuts::minPackedCandVertexWeight
bool minPackedCandVertexWeight(const pat::PackedCandidate &pCand, const reco::VertexRef *pv, double cut)
Definition: RecoTauQualityCuts.cc:210
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
reco::tau::RecoTauQualityCuts::filterTrack_
bool filterTrack_(const reco::Track *track) const
Definition: RecoTauQualityCuts.cc:417
edm::Ref::isNull
bool isNull() const
Checks for null.
Definition: Ref.h:235
reco::tau::RecoTauQualityCuts::checkPV_
bool checkPV_
Definition: RecoTauQualityCuts.h:116
reco::tau::leadCand
InputIterator leadCand(InputIterator begin, InputIterator end)
Definition: RecoTauCommonUtilities.h:138
reco::tau::RecoTauQualityCuts::CandQCutFuncCollection
std::vector< CandQCutFunc > CandQCutFuncCollection
Definition: RecoTauQualityCuts.h:40
reco::tau::RecoTauQualityCuts::maxTrackChi2_
double maxTrackChi2_
Definition: RecoTauQualityCuts.h:106
fileinputsource_cfi.option
option
Definition: fileinputsource_cfi.py:87
reco::tau::RecoTauQualityCuts::maxDeltaZ_
double maxDeltaZ_
Definition: RecoTauQualityCuts.h:110
reco::tau::RecoTauQualityCuts::filterCand
bool filterCand(const reco::Candidate &cand) const
Filter a single Candidate.
Definition: RecoTauQualityCuts.cc:529
reco::tau::RecoTauQualityCuts::leadTrack_
const reco::Track * leadTrack_
Definition: RecoTauQualityCuts.h:103
reco::HitPattern
Definition: HitPattern.h:147
singlePfTauSkim_cff.leadTrack
leadTrack
Definition: singlePfTauSkim_cff.py:22
reco::tau::RecoTauQualityCuts::minTrackPixelHits_
int minTrackPixelHits_
Definition: RecoTauQualityCuts.h:107
pat::PackedCandidate::dz
virtual float dz(size_t ipv=0) const
dz with respect to the PV[ipv]
Definition: PackedCandidate.h:745
reco::TrackBase::dz
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
Definition: TrackBase.h:602
reco::tau::RecoTauQualityCuts::minTrackHits_
int minTrackHits_
Definition: RecoTauQualityCuts.h:108
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
reco::tau::RecoTauQualityCuts::filterChargedCand
bool filterChargedCand(const reco::Candidate &cand) const
or a single charged candidate
Definition: RecoTauQualityCuts.cc:454
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pat::PackedCandidate::pt
double pt() const override
transverse momentum
Definition: PackedCandidate.h:523
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:674
edm::LogError
Definition: MessageLogger.h:183
reco::tau::RecoTauQualityCuts::checkHitPattern_
bool checkHitPattern_
Definition: RecoTauQualityCuts.h:115
pat::PackedCandidate
Definition: PackedCandidate.h:22
edm::ParameterSet::getParameterNames
std::vector< std::string > getParameterNames() const
Definition: ParameterSet.cc:656
cand
Definition: decayParser.h:34
reco::tau::RecoTauQualityCuts::filterTrack
bool filterTrack(const reco::TrackBaseRef &track) const
Filter a single Track.
Definition: RecoTauQualityCuts.cc:399
reco::tau::RecoTauQualityCuts::maxTransverseImpactParameter_
double maxTransverseImpactParameter_
Definition: RecoTauQualityCuts.h:109
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
reco::tau::RecoTauQualityCuts::minGammaEt_
double minGammaEt_
Definition: RecoTauQualityCuts.h:113
getTrack
static const TrackGhostTrackState * getTrack(const BasicGhostTrackState *basic)
Definition: GhostTrackState.cc:49
pat::PackedCandidate::dxy
virtual float dxy() const
dxy with respect to the PV ref
Definition: PackedCandidate.h:740
reco::tau::RecoTauQualityCuts::minTrackPt_
double minTrackPt_
Definition: RecoTauQualityCuts.h:105
l1tstage2_dqm_sourceclient-live_cfg.invert
invert
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:85
Exception
Definition: hltDiff.cc:246
reco::tau::RecoTauQualityCuts::filterGammaCand
bool filterGammaCand(const reco::Candidate &cand) const
Definition: RecoTauQualityCuts.cc:498
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
reco::HitPattern::numberOfValidPixelHits
int numberOfValidPixelHits() const
Definition: HitPattern.h:800
reco::tau::RecoTauQualityCuts::pv_
reco::VertexRef pv_
Definition: RecoTauQualityCuts.h:101
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
mps_fire.result
result
Definition: mps_fire.py:303
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
reco::tau::RecoTauQualityCuts::filterCandByType
bool filterCandByType(const reco::Candidate &cand) const
Definition: RecoTauQualityCuts.cc:510
reco::HitPattern::numberOfValidHits
int numberOfValidHits() const
Definition: HitPattern.h:786
reco::tau::RecoTauQualityCuts::minNeutralHadronEt_
double minNeutralHadronEt_
Definition: RecoTauQualityCuts.h:114
reco::tau::RecoTauQualityCuts::minTrackVertexWeight_
double minTrackVertexWeight_
Definition: RecoTauQualityCuts.h:112