Selects good Jets. More...
#include "PhysicsTools/PatUtils/CaloJetSelector.h"
Public Member Functions | |
CaloJetSelector (const JetSelection &config) | |
const ParticleStatus | filter (const reco::CaloJet &Jet) const |
~CaloJetSelector () | |
Private Attributes | |
JetSelection | config_ |
Selects good Jets.
The calo jet selector returns a flag (see pat::ParticleStatus) based on one of the possible selections. It is called by the generic JetSelector in case of "custom" selection.
Definition at line 23 of file CaloJetSelector.h.
|
inline |
Definition at line 25 of file CaloJetSelector.h.
|
inline |
Definition at line 26 of file CaloJetSelector.h.
const pat::ParticleStatus CaloJetSelector::filter | ( | const reco::CaloJet & | Jet | ) | const |
Returns 0 if Jet matches criteria, a flag otherwise. Criteria depend on the selector's configuration.
Retrieve information Pt Jet
eta region
electromagnetic fraction
(EMCalEnergyFraction + HadCalEnergyFraction) / (EMCalEnergyFraction - HadCalEnergyFraction)
n90: number of towers containing 90% of the jet's energy
Tower Number
Highest Et Tower / Et Jet
Sum(E Twr * DeltaR(Twr-Jet)) / Sum(E Twr)
Pt Jet / Towers Area
Highest Et Tower / Towers Area
Definition at line 8 of file CaloJetSelector.cc.
References pat::BAD, config_, HLT_FULL_cff::deltaR, reco::CaloJet::emEnergyFraction(), pat::JetSelection::EMFmax, pat::JetSelection::EMvsHadFmax, PVValHelper::eta, pat::JetSelection::Etamax, reco::CaloJet::getCaloConstituents(), pat::GOOD, pat::JetSelection::HighestTowerOverJetmax, reco::CaloJet::n90(), pat::JetSelection::N90max, pat::JetSelection::NCaloTowersmax, pat::JetSelection::NCaloTowersmin, reco::LeafCandidate::p4(), pat::JetSelection::PtJetOverArea_max, pat::JetSelection::Ptmin, pat::JetSelection::PtTowerOverArea_max, mps_fire::result, pat::JetSelection::RWidthmax, and reco::CaloJet::towersArea().
|
private |
Definition at line 33 of file CaloJetSelector.h.
Referenced by filter().