#include <PreId.h>
Public Types | |
enum | MatchingType { NONE =0, ECALMATCH =1, ESMATCH =2, TRACKFILTERING =3, MVA =4, FINAL =10 } |
Public Member Functions | |
float | chi2Ratio () const |
PFClusterRef | clusterRef () const |
float | dpt () const |
bool | ecalMatching (unsigned n=0) const |
const math::XYZPoint & | ecalPos () const |
float | eopMatch () const |
bool | esMatching (unsigned n=0) const |
float | eta () const |
const std::vector< float > & | geomMatching () const |
Access methods. More... | |
float | gsfChi2 () const |
float | kfChi2 () const |
float | kfNHits () const |
bool | matching (MatchingType type, unsigned n=0) const |
const math::XYZPoint & | meanShower () const |
float | mva (unsigned n=0) const |
bool | mvaSelected (unsigned n=0) const |
PreId (unsigned nselection=1) | |
bool | preIded (unsigned n=0) const |
float | pt () const |
void | setECALMatching (bool accepted, unsigned n=0) |
void | setECALMatchingProperties (PFClusterRef clusterRef, const math::XYZPoint &ecalpos, const math::XYZPoint &meanShower, float deta, float dphi, float chieta, float chiphi, float chi2, float eop) |
void | setESMatching (bool accepted, unsigned n=0) |
void | setFinalDecision (bool accepted, unsigned n=0) |
void | setMatching (MatchingType type, bool result, unsigned n=0) |
void | setMVA (bool accepted, float mva, unsigned n=0) |
void | setTrack (reco::TrackRef trackref) |
void | setTrackFiltering (bool accepted, unsigned n=0) |
void | setTrackProperties (float newchi2, float chi2ratio, float dpt) |
bool | trackFiltered (unsigned n=0) const |
reco::TrackRef | trackRef () const |
Private Attributes | |
float | chi2Ratio_ |
PFClusterRef | clusterRef_ |
float | dpt_ |
math::XYZPoint | EcalPos_ |
std::vector< float > | geomMatching_ |
float | gsfChi2_ |
std::vector< int > | matching_ |
float | matchingEop_ |
math::XYZPoint | meanShower_ |
std::vector< float > | mva_ |
reco::TrackRef | trackRef_ |
Enumerator | |
---|---|
NONE | |
ECALMATCH | |
ESMATCH | |
TRACKFILTERING | |
MVA | |
FINAL |
Definition at line 16 of file PreId.h.
|
inline |
Definition at line 26 of file PreId.h.
References geomMatching_, matching_, and mva_.
|
inline |
|
inline |
Definition at line 112 of file PreId.h.
References clusterRef_.
Referenced by setECALMatchingProperties().
|
inline |
|
inline |
Definition at line 103 of file PreId.h.
References ECALMATCH, matching(), and gen::n.
|
inline |
|
inline |
|
inline |
Definition at line 104 of file PreId.h.
References ESMATCH, matching(), and gen::n.
|
inline |
Definition at line 93 of file PreId.h.
References trackRef_.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 80 of file PreId.h.
References matching_, and gen::n.
Referenced by ecalMatching(), esMatching(), mvaSelected(), preIded(), and trackFiltered().
|
inline |
Definition at line 98 of file PreId.h.
References meanShower_.
Referenced by setECALMatchingProperties().
|
inline |
Definition at line 106 of file PreId.h.
References matching(), MVA, and gen::n.
|
inline |
Definition at line 107 of file PreId.h.
References FINAL, matching(), and gen::n.
|
inline |
Definition at line 92 of file PreId.h.
References trackRef_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), GoodSeedProducer::produce(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
Definition at line 60 of file PreId.h.
References ECALMATCH, gen::n, and setMatching().
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 38 of file PreId.h.
References clusterRef(), clusterRef_, EcalPos_, geomMatching_, matchingEop_, meanShower(), and meanShower_.
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 64 of file PreId.h.
References ESMATCH, gen::n, and setMatching().
|
inline |
Definition at line 56 of file PreId.h.
References FINAL, gen::n, and setMatching().
Referenced by GoodSeedProducer::produce().
void PreId::setMatching | ( | MatchingType | type, |
bool | result, | ||
unsigned | n = 0 |
||
) |
Definition at line 6 of file PreId.cc.
References gather_cfg::cout, matching_, and gen::n.
Referenced by setECALMatching(), setESMatching(), setFinalDecision(), setMVA(), and setTrackFiltering().
|
inline |
Definition at line 72 of file PreId.h.
References MVA, mva_, gen::n, and setMatching().
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 34 of file PreId.h.
References trackRef_.
Referenced by ElectronSeedTrackRefUpdater::produce(), ElectronSeedTrackRefUpdaterAndMerger::produce(), and GoodSeedProducer::produce().
|
inline |
Definition at line 68 of file PreId.h.
References gen::n, setMatching(), and TRACKFILTERING.
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 50 of file PreId.h.
References chi2Ratio_, dpt(), dpt_, and gsfChi2_.
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 105 of file PreId.h.
References matching(), gen::n, and TRACKFILTERING.
|
inline |
|
private |
Definition at line 126 of file PreId.h.
Referenced by chi2Ratio(), and setTrackProperties().
|
private |
Definition at line 116 of file PreId.h.
Referenced by clusterRef(), and setECALMatchingProperties().
|
private |
Definition at line 125 of file PreId.h.
Referenced by dpt(), and setTrackProperties().
|
private |
Definition at line 121 of file PreId.h.
Referenced by ecalPos(), and setECALMatchingProperties().
|
private |
Definition at line 119 of file PreId.h.
Referenced by geomMatching(), PreId(), and setECALMatchingProperties().
|
private |
Definition at line 124 of file PreId.h.
Referenced by gsfChi2(), and setTrackProperties().
|
private |
Definition at line 133 of file PreId.h.
Referenced by matching(), PreId(), and setMatching().
|
private |
Definition at line 120 of file PreId.h.
Referenced by eopMatch(), and setECALMatchingProperties().
|
private |
Definition at line 122 of file PreId.h.
Referenced by meanShower(), and setECALMatchingProperties().
|
private |
|
private |
Definition at line 115 of file PreId.h.
Referenced by eta(), kfChi2(), kfNHits(), pt(), setTrack(), and trackRef().