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 27 of file CaloJetSelector.h.
|
inline |
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 9 of file CaloJetSelector.cc.
References pat::BAD, config_, deltaR(), reco::CaloJet::emEnergyFraction(), pat::JetSelection::EMFmax, pat::JetSelection::EMFmin, pat::JetSelection::EMvsHadFmax, pat::JetSelection::EMvsHadFmin, PVValHelper::eta, pat::JetSelection::Etamax, reco::CaloJet::getCaloConstituents(), pat::GOOD, pat::JetSelection::HighestTowerOverJetmax, pat::JetSelection::HighestTowerOverJetmin, reco::CaloJet::n90(), pat::JetSelection::N90max, pat::JetSelection::N90min, pat::JetSelection::NCaloTowersmax, pat::JetSelection::NCaloTowersmin, reco::LeafCandidate::p4(), pat::JetSelection::PtJetOverArea_max, pat::JetSelection::PtJetOverArea_min, pat::JetSelection::Ptmin, pat::JetSelection::PtTowerOverArea_max, pat::JetSelection::PtTowerOverArea_min, mps_fire::result, pat::JetSelection::RWidthmax, pat::JetSelection::RWidthmin, and reco::CaloJet::towersArea().
Referenced by ~CaloJetSelector().
|
private |
Definition at line 37 of file CaloJetSelector.h.
Referenced by filter().