#include <AntiElectronIDMVA5GBR.h>
Public Member Functions | |
AntiElectronIDMVA5GBR () | |
void | Initialize_from_file (const std::string &methodName, const std::string &gbrFile) |
double | MVAValue (Float_t TauEtaAtEcalEntrance, Float_t TauPt, Float_t TauLeadChargedPFCandEtaAtEcalEntrance, Float_t TauLeadChargedPFCandPt, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauEmFraction, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMass, Float_t TauHadrMva, const std::vector< Float_t > &GammasdEta, const std::vector< Float_t > &GammasdPhi, const std::vector< Float_t > &GammasPt, Float_t TauKFNumHits, Float_t TauGSFNumHits, Float_t TauGSFChi2, Float_t TauGSFTrackResol, Float_t TauGSFTracklnPt, Float_t TauGSFTrackEta, Float_t TauPhi, Float_t TauSignalPFChargedCands, Float_t TauHasGsf, Float_t ElecEta, Float_t ElecPhi, Float_t ElecPt, Float_t ElecEe, Float_t ElecEgamma, Float_t ElecPin, Float_t ElecPout, Float_t ElecFbrem, Float_t ElecChi2GSF, Float_t ElecGSFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecGSFTrackEta) |
double | MVAValue (Float_t TauEtaAtEcalEntrance, Float_t TauPt, Float_t TauLeadChargedPFCandEtaAtEcalEntrance, Float_t TauLeadChargedPFCandPt, Float_t TaudCrackEta, Float_t TaudCrackPhi, Float_t TauEmFraction, Float_t TauSignalPFGammaCands, Float_t TauLeadPFChargedHadrHoP, Float_t TauLeadPFChargedHadrEoP, Float_t TauVisMass, Float_t TauHadrMva, Float_t TauGammaEtaMom, Float_t TauGammaPhiMom, Float_t TauGammaEnFrac, Float_t TauKFNumHits, Float_t TauGSFNumHits, Float_t TauGSFChi2, Float_t TauGSFTrackResol, Float_t TauGSFTracklnPt, Float_t TauGSFTrackEta, Float_t TauPhi, Float_t TauSignalPFChargedCands, Float_t TauHasGsf, Float_t ElecEta, Float_t ElecPhi, Float_t ElecPt, Float_t ElecEe, Float_t ElecEgamma, Float_t ElecPin, Float_t ElecPout, Float_t ElecFbrem, Float_t ElecChi2GSF, Float_t ElecGSFNumHits, Float_t ElecGSFTrackResol, Float_t ElecGSFTracklnPt, Float_t ElecGSFTrackEta) |
double | MVAValue (const reco::PFTau &thePFTau, const reco::GsfElectron &theGsfEle) |
double | MVAValue (const reco::PFTau &thePFTau) |
~AntiElectronIDMVA5GBR () | |
Private Member Functions | |
double | dCrackEta (double eta) |
double | dCrackPhi (double phi, double eta) |
double | minimum (double a, double b) |
Definition at line 26 of file AntiElectronIDMVA5GBR.h.
AntiElectronIDMVA5GBR::AntiElectronIDMVA5GBR | ( | ) |
Definition at line 14 of file AntiElectronIDMVA5GBR.cc.
References gbr_NoEleMatch_wGwGSF_BL_, gbr_NoEleMatch_wGwGSF_EC_, gbr_NoEleMatch_wGwoGSF_BL_, gbr_NoEleMatch_wGwoGSF_EC_, gbr_NoEleMatch_woGwGSF_BL_, gbr_NoEleMatch_woGwGSF_EC_, gbr_NoEleMatch_woGwoGSF_BL_, gbr_NoEleMatch_woGwoGSF_EC_, gbr_wGwGSF_BL_, gbr_wGwGSF_EC_, gbr_wGwoGSF_BL_, gbr_wGwoGSF_EC_, gbr_woGwGSF_BL_, gbr_woGwGSF_EC_, gbr_woGwoGSF_BL_, gbr_woGwoGSF_EC_, Var_NoEleMatch_wGwGSF_Barrel_, Var_NoEleMatch_wGwGSF_Endcap_, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwGSF_Barrel_, Var_NoEleMatch_woGwGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_wGwoGSF_Barrel_, Var_wGwoGSF_Endcap_, Var_woGwGSF_Barrel_, Var_woGwGSF_Endcap_, Var_woGwoGSF_Barrel_, Var_woGwoGSF_Endcap_, and verbosity_.
AntiElectronIDMVA5GBR::~AntiElectronIDMVA5GBR | ( | ) |
Definition at line 55 of file AntiElectronIDMVA5GBR.cc.
References fin_, Var_NoEleMatch_wGwGSF_Barrel_, Var_NoEleMatch_wGwGSF_Endcap_, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwGSF_Barrel_, Var_NoEleMatch_woGwGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_wGwoGSF_Barrel_, Var_wGwoGSF_Endcap_, Var_woGwGSF_Barrel_, Var_woGwGSF_Endcap_, Var_woGwoGSF_Barrel_, and Var_woGwoGSF_Endcap_.
|
private |
Definition at line 978 of file AntiElectronIDMVA5GBR.cc.
References Abs(), and minimum().
Referenced by MVAValue().
|
private |
Definition at line 919 of file AntiElectronIDMVA5GBR.cc.
References Abs(), minimum(), Pi, and pi.
Referenced by MVAValue().
void AntiElectronIDMVA5GBR::Initialize_from_file | ( | const std::string & | methodName, |
const std::string & | gbrFile | ||
) |
Definition at line 76 of file AntiElectronIDMVA5GBR.cc.
References fin_, gbr_NoEleMatch_wGwGSF_BL_, gbr_NoEleMatch_wGwGSF_EC_, gbr_NoEleMatch_wGwoGSF_BL_, gbr_NoEleMatch_wGwoGSF_EC_, gbr_NoEleMatch_woGwGSF_BL_, gbr_NoEleMatch_woGwGSF_EC_, gbr_NoEleMatch_woGwoGSF_BL_, gbr_NoEleMatch_woGwoGSF_EC_, gbr_wGwGSF_BL_, gbr_wGwGSF_EC_, gbr_wGwoGSF_BL_, gbr_wGwoGSF_EC_, gbr_woGwGSF_BL_, gbr_woGwGSF_EC_, gbr_woGwoGSF_BL_, gbr_woGwoGSF_EC_, isInitialized_, and methodName_.
|
private |
Definition at line 913 of file AntiElectronIDMVA5GBR.cc.
Referenced by dCrackEta(), and dCrackPhi().
double AntiElectronIDMVA5GBR::MVAValue | ( | Float_t | TauEtaAtEcalEntrance, |
Float_t | TauPt, | ||
Float_t | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
Float_t | TauLeadChargedPFCandPt, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauEmFraction, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMass, | ||
Float_t | TauHadrMva, | ||
const std::vector< Float_t > & | GammasdEta, | ||
const std::vector< Float_t > & | GammasdPhi, | ||
const std::vector< Float_t > & | GammasPt, | ||
Float_t | TauKFNumHits, | ||
Float_t | TauGSFNumHits, | ||
Float_t | TauGSFChi2, | ||
Float_t | TauGSFTrackResol, | ||
Float_t | TauGSFTracklnPt, | ||
Float_t | TauGSFTrackEta, | ||
Float_t | TauPhi, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauHasGsf, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecPt, | ||
Float_t | ElecEe, | ||
Float_t | ElecEgamma, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecFbrem, | ||
Float_t | ElecChi2GSF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecGSFTrackEta | ||
) |
Definition at line 106 of file AntiElectronIDMVA5GBR.cc.
Referenced by MVAValue().
double AntiElectronIDMVA5GBR::MVAValue | ( | Float_t | TauEtaAtEcalEntrance, |
Float_t | TauPt, | ||
Float_t | TauLeadChargedPFCandEtaAtEcalEntrance, | ||
Float_t | TauLeadChargedPFCandPt, | ||
Float_t | TaudCrackEta, | ||
Float_t | TaudCrackPhi, | ||
Float_t | TauEmFraction, | ||
Float_t | TauSignalPFGammaCands, | ||
Float_t | TauLeadPFChargedHadrHoP, | ||
Float_t | TauLeadPFChargedHadrEoP, | ||
Float_t | TauVisMass, | ||
Float_t | TauHadrMva, | ||
Float_t | TauGammaEtaMom, | ||
Float_t | TauGammaPhiMom, | ||
Float_t | TauGammaEnFrac, | ||
Float_t | TauKFNumHits, | ||
Float_t | TauGSFNumHits, | ||
Float_t | TauGSFChi2, | ||
Float_t | TauGSFTrackResol, | ||
Float_t | TauGSFTracklnPt, | ||
Float_t | TauGSFTrackEta, | ||
Float_t | TauPhi, | ||
Float_t | TauSignalPFChargedCands, | ||
Float_t | TauHasGsf, | ||
Float_t | ElecEta, | ||
Float_t | ElecPhi, | ||
Float_t | ElecPt, | ||
Float_t | ElecEe, | ||
Float_t | ElecEgamma, | ||
Float_t | ElecPin, | ||
Float_t | ElecPout, | ||
Float_t | ElecFbrem, | ||
Float_t | ElecChi2GSF, | ||
Float_t | ElecGSFNumHits, | ||
Float_t | ElecGSFTrackResol, | ||
Float_t | ElecGSFTracklnPt, | ||
Float_t | ElecGSFTrackEta | ||
) |
Definition at line 215 of file AntiElectronIDMVA5GBR.cc.
References Abs(), deltaR(), edm::hlt::Exception, gbr_NoEleMatch_wGwGSF_BL_, gbr_NoEleMatch_wGwGSF_EC_, gbr_NoEleMatch_wGwoGSF_BL_, gbr_NoEleMatch_wGwoGSF_EC_, gbr_NoEleMatch_woGwGSF_BL_, gbr_NoEleMatch_woGwGSF_EC_, gbr_NoEleMatch_woGwoGSF_BL_, gbr_NoEleMatch_woGwoGSF_EC_, gbr_wGwGSF_BL_, gbr_wGwGSF_EC_, gbr_wGwoGSF_BL_, gbr_wGwoGSF_EC_, gbr_woGwGSF_BL_, gbr_woGwGSF_EC_, gbr_woGwoGSF_BL_, gbr_woGwoGSF_EC_, GBRForest::GetClassifier(), isInitialized_, Max(), Min(), Var_NoEleMatch_wGwGSF_Barrel_, Var_NoEleMatch_wGwGSF_Endcap_, Var_NoEleMatch_wGwoGSF_Barrel_, Var_NoEleMatch_wGwoGSF_Endcap_, Var_NoEleMatch_woGwGSF_Barrel_, Var_NoEleMatch_woGwGSF_Endcap_, Var_NoEleMatch_woGwoGSF_Barrel_, Var_NoEleMatch_woGwoGSF_Endcap_, Var_wGwGSF_Barrel_, Var_wGwGSF_Endcap_, Var_wGwoGSF_Barrel_, Var_wGwoGSF_Endcap_, Var_woGwGSF_Barrel_, Var_woGwGSF_Endcap_, Var_woGwoGSF_Barrel_, and Var_woGwoGSF_Endcap_.
double AntiElectronIDMVA5GBR::MVAValue | ( | const reco::PFTau & | thePFTau, |
const reco::GsfElectron & | theGsfEle | ||
) |
Definition at line 613 of file AntiElectronIDMVA5GBR.cc.
References dCrackEta(), dCrackPhi(), reco::PFTau::electronPreIDOutput(), reco::PFTau::emFraction(), reco::TrackBase::eta(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), reco::GsfElectron::gsfTrack(), i, edm::Ref< C, T, F >::isAvailable(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), log, reco::LeafCandidate::mass(), Max(), MVAValue(), reco::GsfElectron::parentSuperCluster(), reco::LeafCandidate::phi(), reco::TrackBase::pt(), reco::LeafCandidate::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), reco::PFTau::signalPFGammaCands(), reco::GsfElectron::trackMomentumAtVtx(), and reco::GsfElectron::trackMomentumOut().
double AntiElectronIDMVA5GBR::MVAValue | ( | const reco::PFTau & | thePFTau | ) |
Definition at line 780 of file AntiElectronIDMVA5GBR.cc.
References dCrackEta(), dCrackPhi(), reco::PFTau::electronPreIDOutput(), reco::PFTau::emFraction(), reco::TrackBase::eta(), reco::LeafCandidate::eta(), i, edm::Ptr< T >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), log, reco::LeafCandidate::mass(), Max(), MVAValue(), reco::LeafCandidate::phi(), reco::TrackBase::pt(), reco::LeafCandidate::pt(), reco::PFTau::signalPFCands(), reco::PFTau::signalPFChargedHadrCands(), and reco::PFTau::signalPFGammaCands().
|
private |
Definition at line 124 of file AntiElectronIDMVA5GBR.h.
Referenced by Initialize_from_file(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 145 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 153 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 144 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 152 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 143 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 151 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 142 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 150 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 149 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 157 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 148 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 156 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 147 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 155 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 146 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 154 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), Initialize_from_file(), and MVAValue().
|
private |
Definition at line 122 of file AntiElectronIDMVA5GBR.h.
Referenced by Initialize_from_file(), and MVAValue().
|
private |
Definition at line 123 of file AntiElectronIDMVA5GBR.h.
Referenced by Initialize_from_file().
|
private |
Definition at line 128 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 136 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 127 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 135 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 126 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 134 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 125 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 133 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 132 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 140 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 131 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 139 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 130 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 138 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 129 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 137 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR(), MVAValue(), and ~AntiElectronIDMVA5GBR().
|
private |
Definition at line 159 of file AntiElectronIDMVA5GBR.h.
Referenced by AntiElectronIDMVA5GBR().