#include <AntiElectronIDCut2.h>
Public Member Functions | |
AntiElectronIDCut2 () | |
void | ApplyCut_EcalCrack (bool keepAll_, bool rejectAll_) |
void | ApplyCuts (bool applyCut_hcal3x3OverPLead, bool applyCut_leadPFChargedHadrEoP, bool applyCut_GammaEtaMom, bool applyCut_GammaPhiMom, bool applyCut_GammaEnFrac, bool applyCut_HLTSpecific) |
double | Discriminator (float TauPt, float TauEta, float TauLeadChargedPFCandPt, float TauLeadChargedPFCandEtaAtEcalEntrance, float TauLeadPFChargedHadrEoP, float TauHcal3x3OverPLead, float TauGammaEtaMom, float TauGammaPhiMom, float TauGammaEnFrac) |
double | Discriminator (float TauPt, float TauEta, float TauLeadChargedPFCandPt, float TauLeadChargedPFCandEtaAtEcalEntrance, float TauLeadPFChargedHadrEoP, float TauHcal3x3OverPLead, const std::vector< float > &GammasdEta, const std::vector< float > &GammasdPhi, const std::vector< float > &GammasPt) |
template<typename T > | |
double | Discriminator (const T &thePFTau) |
void | SetBarrelCutValues (float TauLeadPFChargedHadrEoP_min, float TauLeadPFChargedHadrEoP_max, float TauHcal3x3OverPLead_max, float TauGammaEtaMom_max, float TauGammaPhiMom_max, float TauGammaEnFrac_max) |
void | SetEcalCracks (const std::vector< pdouble > &etaCracks) |
void | SetEndcapCutValues (float TauLeadPFChargedHadrEoP_min_1, float TauLeadPFChargedHadrEoP_max_1, float TauLeadPFChargedHadrEoP_min_2, float TauLeadPFChargedHadrEoP_max_2, float TauHcal3x3OverPLead_max, float TauGammaEtaMom_max, float TauGammaPhiMom_max, float TauGammaEnFrac_max) |
~AntiElectronIDCut2 () | |
Private Member Functions | |
bool | isInEcalCrack (double eta) const |
Private Attributes | |
std::vector< pdouble > | ecalCracks_ |
bool | keepAllInEcalCrack_ |
bool | rejectAllInEcalCrack_ |
bool | Tau_applyCut_GammaEnFrac_ |
bool | Tau_applyCut_GammaEtaMom_ |
bool | Tau_applyCut_GammaPhiMom_ |
bool | Tau_applyCut_hcal3x3OverPLead_ |
bool | Tau_applyCut_HLTSpecific_ |
bool | Tau_applyCut_leadPFChargedHadrEoP_ |
float | TauGammaEnFrac_barrel_max_ |
float | TauGammaEnFrac_endcap_max_ |
float | TauGammaEtaMom_barrel_max_ |
float | TauGammaEtaMom_endcap_max_ |
float | TauGammaPhiMom_barrel_max_ |
float | TauGammaPhiMom_endcap_max_ |
float | TauHcal3x3OverPLead_barrel_max_ |
float | TauHcal3x3OverPLead_endcap_max_ |
float | TauLeadPFChargedHadrEoP_barrel_max_ |
float | TauLeadPFChargedHadrEoP_barrel_min_ |
float | TauLeadPFChargedHadrEoP_endcap_max1_ |
float | TauLeadPFChargedHadrEoP_endcap_max2_ |
float | TauLeadPFChargedHadrEoP_endcap_min1_ |
float | TauLeadPFChargedHadrEoP_endcap_min2_ |
int | verbosity_ |
Definition at line 22 of file AntiElectronIDCut2.h.
AntiElectronIDCut2::AntiElectronIDCut2 | ( | ) |
Definition at line 11 of file AntiElectronIDCut2.cc.
References keepAllInEcalCrack_, rejectAllInEcalCrack_, Tau_applyCut_GammaEnFrac_, Tau_applyCut_GammaEtaMom_, Tau_applyCut_GammaPhiMom_, Tau_applyCut_hcal3x3OverPLead_, Tau_applyCut_HLTSpecific_, Tau_applyCut_leadPFChargedHadrEoP_, and verbosity_.
AntiElectronIDCut2::~AntiElectronIDCut2 | ( | ) |
Definition at line 27 of file AntiElectronIDCut2.cc.
|
inline |
Definition at line 126 of file AntiElectronIDCut2.h.
References keepAllInEcalCrack_, and rejectAllInEcalCrack_.
void AntiElectronIDCut2::ApplyCuts | ( | bool | applyCut_hcal3x3OverPLead, |
bool | applyCut_leadPFChargedHadrEoP, | ||
bool | applyCut_GammaEtaMom, | ||
bool | applyCut_GammaPhiMom, | ||
bool | applyCut_GammaEnFrac, | ||
bool | applyCut_HLTSpecific | ||
) |
Definition at line 189 of file AntiElectronIDCut2.cc.
References PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_GammaEnFrac, PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_GammaEtaMom, PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_GammaPhiMom, PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_hcal3x3OverPLead, PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_HLTSpecific, PFRecoTauDiscriminationAgainstElectron2_cfi::applyCut_leadPFChargedHadrEoP, Tau_applyCut_GammaEnFrac_, Tau_applyCut_GammaEtaMom_, Tau_applyCut_GammaPhiMom_, Tau_applyCut_hcal3x3OverPLead_, Tau_applyCut_HLTSpecific_, and Tau_applyCut_leadPFChargedHadrEoP_.
double AntiElectronIDCut2::Discriminator | ( | float | TauPt, |
float | TauEta, | ||
float | TauLeadChargedPFCandPt, | ||
float | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
float | TauLeadPFChargedHadrEoP, | ||
float | TauHcal3x3OverPLead, | ||
float | TauGammaEtaMom, | ||
float | TauGammaPhiMom, | ||
float | TauGammaEnFrac | ||
) |
Definition at line 29 of file AntiElectronIDCut2.cc.
References gather_cfg::cout, isInEcalCrack(), keepAllInEcalCrack_, rejectAllInEcalCrack_, Tau_applyCut_GammaEnFrac_, Tau_applyCut_GammaEtaMom_, Tau_applyCut_GammaPhiMom_, Tau_applyCut_hcal3x3OverPLead_, Tau_applyCut_HLTSpecific_, Tau_applyCut_leadPFChargedHadrEoP_, TauGammaEnFrac_barrel_max_, TauGammaEnFrac_endcap_max_, TauGammaEtaMom_barrel_max_, TauGammaEtaMom_endcap_max_, TauGammaPhiMom_barrel_max_, TauGammaPhiMom_endcap_max_, TauHcal3x3OverPLead_barrel_max_, TauHcal3x3OverPLead_endcap_max_, TauLeadPFChargedHadrEoP_barrel_max_, TauLeadPFChargedHadrEoP_barrel_min_, TauLeadPFChargedHadrEoP_endcap_max1_, TauLeadPFChargedHadrEoP_endcap_max2_, TauLeadPFChargedHadrEoP_endcap_min1_, TauLeadPFChargedHadrEoP_endcap_min2_, and verbosity_.
Referenced by Discriminator().
double AntiElectronIDCut2::Discriminator | ( | float | TauPt, |
float | TauEta, | ||
float | TauLeadChargedPFCandPt, | ||
float | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
float | TauLeadPFChargedHadrEoP, | ||
float | TauHcal3x3OverPLead, | ||
const std::vector< float > & | GammasdEta, | ||
const std::vector< float > & | GammasdPhi, | ||
const std::vector< float > & | GammasPt | ||
) |
Definition at line 111 of file AntiElectronIDCut2.cc.
References Discriminator(), mps_fire::i, and Pi.
|
inline |
Definition at line 48 of file AntiElectronIDCut2.h.
References Discriminator(), reco::TrackBase::eta(), mps_fire::i, reco::TrackBase::pt(), and HLT_FULL_cff::track.
|
private |
Definition at line 203 of file AntiElectronIDCut2.cc.
References ecalCracks_, and edm::second().
Referenced by Discriminator().
void AntiElectronIDCut2::SetBarrelCutValues | ( | float | TauLeadPFChargedHadrEoP_min, |
float | TauLeadPFChargedHadrEoP_max, | ||
float | TauHcal3x3OverPLead_max, | ||
float | TauGammaEtaMom_max, | ||
float | TauGammaPhiMom_max, | ||
float | TauGammaEnFrac_max | ||
) |
Definition at line 157 of file AntiElectronIDCut2.cc.
References TauGammaEnFrac_barrel_max_, TauGammaEtaMom_barrel_max_, TauGammaPhiMom_barrel_max_, TauHcal3x3OverPLead_barrel_max_, TauLeadPFChargedHadrEoP_barrel_max_, and TauLeadPFChargedHadrEoP_barrel_min_.
|
inline |
Definition at line 138 of file AntiElectronIDCut2.h.
References ecalCracks_, and mps_fire::i.
void AntiElectronIDCut2::SetEndcapCutValues | ( | float | TauLeadPFChargedHadrEoP_min_1, |
float | TauLeadPFChargedHadrEoP_max_1, | ||
float | TauLeadPFChargedHadrEoP_min_2, | ||
float | TauLeadPFChargedHadrEoP_max_2, | ||
float | TauHcal3x3OverPLead_max, | ||
float | TauGammaEtaMom_max, | ||
float | TauGammaPhiMom_max, | ||
float | TauGammaEnFrac_max | ||
) |
Definition at line 171 of file AntiElectronIDCut2.cc.
References TauGammaEnFrac_endcap_max_, TauGammaEtaMom_endcap_max_, TauGammaPhiMom_endcap_max_, TauHcal3x3OverPLead_endcap_max_, TauLeadPFChargedHadrEoP_endcap_max1_, TauLeadPFChargedHadrEoP_endcap_max2_, TauLeadPFChargedHadrEoP_endcap_min1_, and TauLeadPFChargedHadrEoP_endcap_min2_.
|
private |
Definition at line 172 of file AntiElectronIDCut2.h.
Referenced by isInEcalCrack(), and SetEcalCracks().
|
private |
Definition at line 162 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCut_EcalCrack(), and Discriminator().
|
private |
Definition at line 163 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCut_EcalCrack(), and Discriminator().
|
private |
Definition at line 169 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 167 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 168 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 165 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 170 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 166 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), ApplyCuts(), and Discriminator().
|
private |
Definition at line 152 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 160 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 150 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 158 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 151 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 159 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 149 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 157 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 148 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 147 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetBarrelCutValues().
|
private |
Definition at line 154 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 156 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 153 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 155 of file AntiElectronIDCut2.h.
Referenced by Discriminator(), and SetEndcapCutValues().
|
private |
Definition at line 174 of file AntiElectronIDCut2.h.
Referenced by AntiElectronIDCut2(), and Discriminator().