#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 15 of file PreId.h.
|
inline |
Definition at line 18 of file PreId.h.
References geomMatching_, matching_, and mva_.
|
inline |
|
inline |
Definition at line 100 of file PreId.h.
References clusterRef_.
Referenced by setECALMatchingProperties().
|
inline |
|
inline |
Definition at line 91 of file PreId.h.
References ECALMATCH, matching(), and dqmiodumpmetadata::n.
|
inline |
|
inline |
|
inline |
Definition at line 92 of file PreId.h.
References ESMATCH, matching(), and dqmiodumpmetadata::n.
|
inline |
Definition at line 81 of file PreId.h.
References trackRef_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 70 of file PreId.h.
References matching_, and dqmiodumpmetadata::n.
Referenced by ecalMatching(), esMatching(), mvaSelected(), preIded(), and trackFiltered().
|
inline |
Definition at line 86 of file PreId.h.
References meanShower_.
Referenced by setECALMatchingProperties().
float PreId::mva | ( | unsigned | n = 0 | ) | const |
Definition at line 18 of file PreId.cc.
References mva_, and dqmiodumpmetadata::n.
Referenced by setMVA().
|
inline |
Definition at line 94 of file PreId.h.
References matching(), MVA, and dqmiodumpmetadata::n.
|
inline |
Definition at line 95 of file PreId.h.
References FINAL, matching(), and dqmiodumpmetadata::n.
|
inline |
Definition at line 80 of file PreId.h.
References trackRef_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), datamodel.Object::p4(), GoodSeedProducer::produce(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
Definition at line 60 of file PreId.h.
References ECALMATCH, dqmiodumpmetadata::n, and setMatching().
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 33 of file PreId.h.
References hltPixelTracks_cff::chi2, clusterRef(), clusterRef_, EcalPos_, geomMatching_, matchingEop_, meanShower(), and meanShower_.
Referenced by GoodSeedProducer::produce(), and LowPtGsfElectronSeedProducer::propagateTrackToCalo().
|
inline |
Definition at line 61 of file PreId.h.
References ESMATCH, dqmiodumpmetadata::n, and setMatching().
|
inline |
Definition at line 59 of file PreId.h.
References FINAL, dqmiodumpmetadata::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_, dqmiodumpmetadata::n, and mps_fire::result.
Referenced by setECALMatching(), setESMatching(), setFinalDecision(), setMVA(), and setTrackFiltering().
|
inline |
Definition at line 63 of file PreId.h.
References MVA, mva(), mva_, dqmiodumpmetadata::n, and setMatching().
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 31 of file PreId.h.
References trackRef_.
Referenced by LowPtGsfElectronSeedProducer::loop(), and GoodSeedProducer::produce().
|
inline |
Definition at line 62 of file PreId.h.
References dqmiodumpmetadata::n, setMatching(), and TRACKFILTERING.
Referenced by GoodSeedProducer::produce().
|
inline |
Definition at line 53 of file PreId.h.
References chi2Ratio_, dpt(), dpt_, and gsfChi2_.
Referenced by LowPtGsfElectronSeedProducer::lightGsfTracking(), and GoodSeedProducer::produce().
|
inline |
Definition at line 93 of file PreId.h.
References matching(), dqmiodumpmetadata::n, and TRACKFILTERING.
|
inline |
|
private |
Definition at line 113 of file PreId.h.
Referenced by chi2Ratio(), and setTrackProperties().
|
private |
Definition at line 104 of file PreId.h.
Referenced by clusterRef(), and setECALMatchingProperties().
|
private |
Definition at line 112 of file PreId.h.
Referenced by dpt(), and setTrackProperties().
|
private |
Definition at line 108 of file PreId.h.
Referenced by ecalPos(), and setECALMatchingProperties().
|
private |
Definition at line 106 of file PreId.h.
Referenced by geomMatching(), PreId(), and setECALMatchingProperties().
|
private |
Definition at line 111 of file PreId.h.
Referenced by gsfChi2(), and setTrackProperties().
|
private |
Definition at line 120 of file PreId.h.
Referenced by matching(), PreId(), and setMatching().
|
private |
Definition at line 107 of file PreId.h.
Referenced by eopMatch(), and setECALMatchingProperties().
|
private |
Definition at line 109 of file PreId.h.
Referenced by meanShower(), and setECALMatchingProperties().
|
private |
|
private |
Definition at line 103 of file PreId.h.
Referenced by eta(), kfChi2(), kfNHits(), pt(), setTrack(), and trackRef().