#include <LowPtConversion.h>
Public Member Functions | |
void | addExtraUserVars (pat::Electron &ele) const |
void | addUserVars (pat::Electron &ele) const |
LowPtConversion ()=default | |
bool | match (const reco::BeamSpot &beamSpot, const reco::ConversionCollection &conversions, const pat::Electron &ele) |
bool | wpLoose () const |
bool | wpOpen () const |
bool | wpTight () const |
~LowPtConversion ()=default | |
Static Public Member Functions | |
static float | mee (float ipx1, float ipy1, float ipz1, float ipx2, float ipy2, float ipz2) |
Private Attributes | |
float | chi2prob_ = -1. |
float | delta_cot_from_Pin_ = -1. |
int | delta_expected_nhits_inner_ = 0 |
int | ilead_ = -1 |
int | itrail_ = -1 |
float | l_xy_ = -1. |
uint | lead_nhits_before_vtx_ = 0 |
float | mass_after_fit_ = -1. |
float | mass_before_fit_ = -1. |
float | mass_from_conv_ = -1. |
float | mass_from_Pin_ = -1. |
bool | matched_ = false |
edm::RefToBase< reco::Track > | matched_lead_ |
edm::RefToBase< reco::Track > | matched_trail_ |
uint | max_nhits_before_vtx_ = 0 |
float | min_trk_pt_ = -1. |
uint | ntracks_ = 0 |
bool | quality_high_efficiency_ = false |
bool | quality_high_purity_ = false |
uint | sum_nhits_before_vtx_ = 0 |
uint | trail_nhits_before_vtx_ = 0 |
bool | valid_ = false |
float | vtx_radius_ = -1. |
Definition at line 13 of file LowPtConversion.h.
|
default |
|
default |
void LowPtConversion::addExtraUserVars | ( | pat::Electron & | ele | ) | const |
Definition at line 38 of file LowPtConversion.cc.
References pat::PATObject< ObjectType >::addUserFloat(), pat::PATObject< ObjectType >::addUserInt(), chi2prob_, delta_cot_from_Pin_, delta_expected_nhits_inner_, ilead_, itrail_, l_xy_, lead_nhits_before_vtx_, mass_after_fit_, mass_before_fit_, mass_from_conv_, mass_from_Pin_, max_nhits_before_vtx_, min_trk_pt_, ntracks_, quality_high_efficiency_, quality_high_purity_, sum_nhits_before_vtx_, trail_nhits_before_vtx_, valid_, and vtx_radius_.
void LowPtConversion::addUserVars | ( | pat::Electron & | ele | ) | const |
Definition at line 25 of file LowPtConversion.cc.
References pat::PATObject< ObjectType >::addUserInt(), pat::PATObject< ObjectType >::hasUserInt(), edm::RefToBase< T >::isNonnull(), matched_, matched_lead_, matched_trail_, wpLoose(), and wpTight().
bool LowPtConversion::match | ( | const reco::BeamSpot & | beamSpot, |
const reco::ConversionCollection & | conversions, | ||
const pat::Electron & | ele | ||
) |
Definition at line 77 of file LowPtConversion.cc.
References pwdgSkimBPark_cfi::beamSpot, chi2prob_, ChiSquaredProbability(), conv, pwdgSkimBPark_cfi::conversions, pat::Electron::core(), delta_cot_from_Pin_, delta_expected_nhits_inner_, PVValHelper::dx, PVValHelper::dy, ntupleEnum::gsf, pat::Electron::gsfTrack(), reco::Conversion::highEfficiency, reco::Conversion::highPurity, edm::RefToBase< T >::id(), edm::Ref< C, T, F >::id(), ilead_, edm::RefToBase< T >::isAvailable(), edm::RefToBase< T >::isNonnull(), edm::RefToBase< T >::isNull(), itrail_, edm::RefToBase< T >::key(), edm::Ref< C, T, F >::key(), l_xy_, lead_nhits_before_vtx_, mass_after_fit_, mass_before_fit_, mass_from_conv_, mass_from_Pin_, matched_, matched_lead_, matched_trail_, SiStripPI::max, max_nhits_before_vtx_, mee(), min_trk_pt_, reco::HitPattern::MISSING_INNER_HITS, nHits, ntracks_, reco::TrackBase::pt(), quality_high_efficiency_, quality_high_purity_, mathSSE::sqrt(), sum_nhits_before_vtx_, funct::tan(), trail_nhits_before_vtx_, parallelization::uint, valid_, and vtx_radius_.
|
static |
Definition at line 202 of file LowPtConversion.cc.
References MillePedeFileConverter_cfg::e, visualization-live-secondInstance_cfg::m, EgHLTOffHistBins_cfi::mass, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and mathSSE::sqrt().
Referenced by match().
bool LowPtConversion::wpLoose | ( | ) | const |
Definition at line 11 of file LowPtConversion.cc.
References chi2prob_, ntracks_, quality_high_purity_, valid_, and wpOpen().
Referenced by addUserVars(), and wpTight().
bool LowPtConversion::wpOpen | ( | ) | const |
bool LowPtConversion::wpTight | ( | ) | const |
Definition at line 18 of file LowPtConversion.cc.
References mass_from_conv_, and wpLoose().
Referenced by addUserVars().
|
private |
Definition at line 32 of file LowPtConversion.h.
Referenced by addExtraUserVars(), match(), and wpLoose().
|
private |
Definition at line 60 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 57 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 39 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 40 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 43 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 53 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 50 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 49 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 47 of file LowPtConversion.h.
Referenced by addExtraUserVars(), match(), and wpTight().
|
private |
Definition at line 48 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 63 of file LowPtConversion.h.
Referenced by addUserVars(), match(), and wpOpen().
|
private |
Definition at line 64 of file LowPtConversion.h.
Referenced by addUserVars(), and match().
|
private |
Definition at line 65 of file LowPtConversion.h.
Referenced by addUserVars(), and match().
|
private |
Definition at line 55 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 38 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 37 of file LowPtConversion.h.
Referenced by addExtraUserVars(), match(), and wpLoose().
|
private |
Definition at line 34 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 33 of file LowPtConversion.h.
Referenced by addExtraUserVars(), match(), and wpLoose().
|
private |
Definition at line 56 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 54 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().
|
private |
Definition at line 31 of file LowPtConversion.h.
Referenced by addExtraUserVars(), match(), and wpLoose().
|
private |
Definition at line 44 of file LowPtConversion.h.
Referenced by addExtraUserVars(), and match().