#include <AntiElectronIDMVA6.h>
Public Member Functions | |
AntiElectronIDMVA6 (const edm::ParameterSet &) | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
double | MVAValue (Float_t TauPt, Float_t TauEtaAtEcalEntrance, Float_t TauPhi, Float_t TauLeadChargedPFCandPt, Float_t TauLeadChargedPFCandEtaAtEcalEntrance, Float_t TauEmFraction, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMassIn, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauHasGsf, Int_t TauSignalPFGammaCandsIn, Int_t TauSignalPFGammaCandsOut, const std::vector< Float_t > &GammasdEtaInSigCone, const std::vector< Float_t > &GammasdPhiInSigCone, const std::vector< Float_t > &GammasPtInSigCone, const std::vector< Float_t > &GammasdEtaOutSigCone, const std::vector< Float_t > &GammasdPhiOutSigCone, const std::vector< Float_t > &GammasPtOutSigCone, Float_t ElecEta, Float_t ElecPhi, Float_t ElecEtotOverPin, Float_t ElecChi2NormGSF, Float_t ElecChi2NormKF, Float_t ElecGSFNumHits, Float_t ElecKFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecPin, Float_t ElecPout, Float_t ElecEecal, Float_t ElecDeltaEta, Float_t ElecDeltaPhi, Float_t ElecMvaInSigmaEtaEta, Float_t ElecMvaInHadEnergy, Float_t ElecMvaInDeltaEta) |
double | MVAValue (Float_t TauPt, Float_t TauEtaAtEcalEntrance, Float_t TauPhi, Float_t TauLeadChargedPFCandPt, Float_t TauLeadChargedPFCandEtaAtEcalEntrance, Float_t TauEmFraction, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMassIn, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauHasGsf, Int_t TauSignalPFGammaCandsIn, Int_t TauSignalPFGammaCandsOut, Float_t TauGammaEtaMomIn, Float_t TauGammaEtaMomOut, Float_t TauGammaPhiMomIn, Float_t TauGammaPhiMomOut, Float_t TauGammaEnFracIn, Float_t TauGammaEnFracOut, Float_t ElecEta, Float_t ElecPhi, Float_t ElecEtotOverPin, Float_t ElecChi2NormGSF, Float_t ElecChi2NormKF, Float_t ElecGSFNumHits, Float_t ElecKFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecPin, Float_t ElecPout, Float_t ElecEecal, Float_t ElecDeltaEta, Float_t ElecDeltaPhi, Float_t ElecMvaInSigmaEtaEta, Float_t ElecMvaInHadEnergy, Float_t ElecMvaInDeltaEta) |
double | MVAValue (const reco::PFTau &thePFTau, const reco::GsfElectron &theGsfEle) |
double | MVAValue (const reco::PFTau &thePFTau) |
~AntiElectronIDMVA6 () | |
Private Member Functions | |
double | dCrackEta (double eta) |
double | dCrackPhi (double phi, double eta) |
double | minimum (double a, double b) |
Definition at line 31 of file AntiElectronIDMVA6.h.
AntiElectronIDMVA6::AntiElectronIDMVA6 | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 17 of file AntiElectronIDMVA6.cc.
References Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), inputFileName_, loadMVAfromDB_, mvaName_NoEleMatch_wGwoGSF_BL_, mvaName_NoEleMatch_wGwoGSF_EC_, mvaName_NoEleMatch_woGwoGSF_BL_, mvaName_NoEleMatch_woGwoGSF_EC_, mvaName_wGwGSF_BL_, mvaName_wGwGSF_EC_, mvaName_woGwGSF_BL_, mvaName_woGwGSF_EC_, AlCaHLTBitMon_QueryRunRegistry::string, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_woGwGSF_Barrel_, Var_woGwGSF_Endcap_, and verbosity_.
AntiElectronIDMVA6::~AntiElectronIDMVA6 | ( | ) |
Definition at line 57 of file AntiElectronIDMVA6.cc.
References inputFilesToDelete_, loadMVAfromDB_, mva_NoEleMatch_wGwoGSF_BL_, mva_NoEleMatch_wGwoGSF_EC_, mva_NoEleMatch_woGwoGSF_BL_, mva_NoEleMatch_woGwoGSF_EC_, mva_wGwGSF_BL_, mva_wGwGSF_EC_, mva_woGwGSF_BL_, mva_woGwGSF_EC_, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_woGwGSF_Barrel_, and Var_woGwGSF_Endcap_.
void AntiElectronIDMVA6::beginEvent | ( | const edm::Event & | evt, |
const edm::EventSetup & | es | ||
) |
Definition at line 105 of file AntiElectronIDMVA6.cc.
References edm::FileInPath::fullPath(), inputFileName_, inputFilesToDelete_, isInitialized_, mvaPFMET_cff::loadMVAfromDB, loadMVAfromDB_, edm::FileInPath::location(), mva_NoEleMatch_wGwoGSF_BL_, mva_NoEleMatch_wGwoGSF_EC_, mva_NoEleMatch_woGwoGSF_BL_, mva_NoEleMatch_woGwoGSF_EC_, mva_wGwGSF_BL_, mva_wGwGSF_EC_, mva_woGwGSF_BL_, mva_woGwGSF_EC_, mvaName_NoEleMatch_wGwoGSF_BL_, mvaName_NoEleMatch_wGwoGSF_EC_, mvaName_NoEleMatch_woGwoGSF_BL_, mvaName_NoEleMatch_woGwoGSF_EC_, mvaName_wGwGSF_BL_, mvaName_wGwGSF_EC_, mvaName_woGwGSF_BL_, mvaName_woGwGSF_EC_, and edm::FileInPath::Unknown.
|
private |
Definition at line 962 of file AntiElectronIDMVA6.cc.
References funct::abs(), ztail::d, and minimum().
Referenced by MVAValue().
|
private |
Definition at line 913 of file AntiElectronIDMVA6.cc.
References funct::abs(), constexpr, M_PI, minimum(), and pi.
Referenced by MVAValue().
|
private |
Definition at line 889 of file AntiElectronIDMVA6.cc.
References a, funct::abs(), and b.
Referenced by dCrackEta(), and dCrackPhi().
double AntiElectronIDMVA6::MVAValue | ( | Float_t | TauPt, |
Float_t | TauEtaAtEcalEntrance, | ||
Float_t | TauPhi, | ||
Float_t | TauLeadChargedPFCandPt, | ||
Float_t | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
Float_t | TauEmFraction, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMassIn, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauHasGsf, | ||
Int_t | TauSignalPFGammaCandsIn, | ||
Int_t | TauSignalPFGammaCandsOut, | ||
const std::vector< Float_t > & | GammasdEtaInSigCone, | ||
const std::vector< Float_t > & | GammasdPhiInSigCone, | ||
const std::vector< Float_t > & | GammasPtInSigCone, | ||
const std::vector< Float_t > & | GammasdEtaOutSigCone, | ||
const std::vector< Float_t > & | GammasdPhiOutSigCone, | ||
const std::vector< Float_t > & | GammasPtOutSigCone, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecEtotOverPin, | ||
Float_t | ElecChi2NormGSF, | ||
Float_t | ElecChi2NormKF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecKFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecEecal, | ||
Float_t | ElecDeltaEta, | ||
Float_t | ElecDeltaPhi, | ||
Float_t | ElecMvaInSigmaEtaEta, | ||
Float_t | ElecMvaInHadEnergy, | ||
Float_t | ElecMvaInDeltaEta | ||
) |
Definition at line 136 of file AntiElectronIDMVA6.cc.
References dPhi(), i, M_PI, and mathSSE::sqrt().
Referenced by MVAValue().
double AntiElectronIDMVA6::MVAValue | ( | Float_t | TauPt, |
Float_t | TauEtaAtEcalEntrance, | ||
Float_t | TauPhi, | ||
Float_t | TauLeadChargedPFCandPt, | ||
Float_t | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
Float_t | TauEmFraction, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMassIn, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauHasGsf, | ||
Int_t | TauSignalPFGammaCandsIn, | ||
Int_t | TauSignalPFGammaCandsOut, | ||
Float_t | TauGammaEtaMomIn, | ||
Float_t | TauGammaEtaMomOut, | ||
Float_t | TauGammaPhiMomIn, | ||
Float_t | TauGammaPhiMomOut, | ||
Float_t | TauGammaEnFracIn, | ||
Float_t | TauGammaEnFracOut, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecEtotOverPin, | ||
Float_t | ElecChi2NormGSF, | ||
Float_t | ElecChi2NormKF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecKFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecEecal, | ||
Float_t | ElecDeltaEta, | ||
Float_t | ElecDeltaPhi, | ||
Float_t | ElecMvaInSigmaEtaEta, | ||
Float_t | ElecMvaInHadEnergy, | ||
Float_t | ElecMvaInDeltaEta | ||
) |
Definition at line 280 of file AntiElectronIDMVA6.cc.
References funct::abs(), deltaR(), Exception, GBRForest::GetClassifier(), isInitialized_, dqm-mbProfile::log, bookConverter::max, min(), mva_NoEleMatch_wGwoGSF_BL_, mva_NoEleMatch_wGwoGSF_EC_, mva_NoEleMatch_woGwoGSF_BL_, mva_NoEleMatch_woGwoGSF_EC_, mva_wGwGSF_BL_, mva_wGwGSF_EC_, mva_woGwGSF_BL_, mva_woGwGSF_EC_, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_woGwGSF_Barrel_, and Var_woGwGSF_Endcap_.
double AntiElectronIDMVA6::MVAValue | ( | const reco::PFTau & | thePFTau, |
const reco::GsfElectron & | theGsfEle | ||
) |
Definition at line 527 of file AntiElectronIDMVA6.cc.
References reco::GsfElectron::closestCtfTrackRef(), dCrackEta(), dCrackPhi(), reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::GsfElectron::ecalEnergy(), reco::PFTau::emFraction(), reco::LeafCandidate::eta(), reco::TrackBase::eta(), reco::GsfElectron::gsfTrack(), i, edm::Ref< C, T, F >::isAvailable(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), dqm-mbProfile::log, bookConverter::max, min(), MVAValue(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::TrackBase::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), reco::PFTau::signalPFGammaCands(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackMomentumAtVtx(), and reco::GsfElectron::trackMomentumOut().
double AntiElectronIDMVA6::MVAValue | ( | const reco::PFTau & | thePFTau | ) |
Definition at line 732 of file AntiElectronIDMVA6.cc.
References dCrackEta(), dCrackPhi(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::PFTau::emFraction(), reco::LeafCandidate::eta(), reco::TrackBase::eta(), i, edm::Ptr< T >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), bookConverter::max, min(), MVAValue(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::TrackBase::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), and reco::PFTau::signalPFGammaCands().
|
private |
Definition at line 132 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 161 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 130 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), and MVAValue().
|
private |
Definition at line 131 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), beginEvent(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 153 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 157 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 152 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 156 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 155 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 159 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 154 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 158 of file AntiElectronIDMVA6.h.
Referenced by beginEvent(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 135 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 139 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 134 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 138 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 137 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 141 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 136 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 140 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), and beginEvent().
|
private |
Definition at line 144 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 148 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 143 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 147 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 146 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 150 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 145 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 149 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6(), MVAValue(), and ~AntiElectronIDMVA6().
|
private |
Definition at line 163 of file AntiElectronIDMVA6.h.
Referenced by AntiElectronIDMVA6().