Go to the documentation of this file.
10 #ifndef RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H
11 #define RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H
30 #include "TMVA/Tools.h"
31 #include "TMVA/Reader.h"
113 template <
class TauType,
class ElectronType>
139 double mvaValue(
const TauType& theTau);
antiElecIDMVA6_blocks::TauGammaVecs getTauGammaVecs(const TauType &theTau)
std::string mvaName_NoEleMatch_wGwoGSF_VFEC_
std::map< std::string, edm::EDGetTokenT< edm::ValueMap< float > > > electronIds_tokens_
void getElecVarsHGCalTypeSpecific(const reco::GsfElectronRef &theEleRef, antiElecIDMVA6_blocks::ElecVars &elecVars)
std::vector< float > gammasdEtaInSigCone
float leadPFChargedHadrEoP
static constexpr float ecalBarrelEndcapEtaBorder_
std::string mvaName_wGwGSF_EC_
std::vector< float > gammasdPhiOutSigCone
std::string mvaName_NoEleMatch_woGwoGSF_EC_
const GBRForest * mva_NoEleMatch_wGwoGSF_VFEC_
std::vector< float > var_woGwGSF_VFEndcap_
std::vector< float > var_NoEleMatch_woGwoGSF_Endcap_
std::vector< ElectronType > ElectronCollection
const GBRForest * mva_woGwGSF_VFEC_
Analysis-level tau class.
std::string mvaName_NoEleMatch_woGwoGSF_BL_
PositionAtECalEntranceComputer positionAtECalEntrance_
std::vector< float > var_NoEleMatch_wGwoGSF_VFEndcap_
float eSeedClusterOverPout
std::vector< float > var_wGwGSF_Endcap_
std::map< std::string, edm::Handle< edm::ValueMap< float > > > electronIds_
bool energyWeightedEtaAndPhiAtECal(const pat::Tau &theTau, float &eta, float &phi)
int signalPFGammaCandsOut
double mvaValuePhase2(const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaMoms &tauGammaMoms, const antiElecIDMVA6_blocks::ElecVars &elecVars)
std::vector< float > var_woGwGSF_Barrel_
float superClusterEtaWidth
std::vector< TFile * > inputFilesToDelete_
double dCrackPhi(double phi, double eta)
std::vector< float > var_NoEleMatch_wGwoGSF_Endcap_
std::vector< float > var_NoEleMatch_woGwoGSF_VFEndcap_
const GBRForest * mva_NoEleMatch_woGwoGSF_EC_
std::vector< float > var_woGwGSF_Endcap_
const GBRForest * mva_wGwGSF_BL_
const GBRForest * mva_NoEleMatch_woGwoGSF_BL_
float leadPFChargedHadrHoP
std::vector< float > gammasdPhiInSigCone
float hgcalDepthCompatibility
const GBRForest * mva_NoEleMatch_wGwoGSF_EC_
std::vector< float > gammasdEtaOutSigCone
std::string mvaName_NoEleMatch_wGwoGSF_BL_
std::string mvaName_woGwGSF_VFEC_
AntiElectronIDMVA6(const edm::ParameterSet &, edm::ConsumesCollector &&)
bool usePhiAtEcalEntranceExtrapolation_
float leadChargedPFCandEtaAtEcalEntrance
std::vector< float > var_NoEleMatch_wGwoGSF_Barrel_
edm::FileInPath inputFileName_
std::vector< float > gammasPtOutSigCone
std::vector< float > var_wGwGSF_Barrel_
const GBRForest * mva_woGwGSF_EC_
float superClusterPhiWidth
antiElecIDMVA6_blocks::TauVars getTauVars(const TauType &theTau)
std::vector< float > var_wGwGSF_VFEndcap_
antiElecIDMVA6_blocks::ElecVars getElecVars(const ElectronRef &theEleRef)
std::string mvaName_woGwGSF_BL_
std::string mvaName_NoEleMatch_woGwoGSF_VFEC_
edm::Ref< ElectronCollection > ElectronRef
std::string mvaName_woGwGSF_EC_
std::string mvaName_wGwGSF_VFEC_
static constexpr float ecalEndcapVFEndcapEtaBorder_
const GBRForest * mva_NoEleMatch_woGwoGSF_VFEC_
const GBRForest * mva_NoEleMatch_wGwoGSF_BL_
double minimum(double a, double b)
std::vector< float > gammasPtInSigCone
void beginEvent(const edm::Event &, const edm::EventSetup &)
std::string mvaName_NoEleMatch_wGwoGSF_EC_
double mvaValue(const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaVecs &tauGammaVecs, const antiElecIDMVA6_blocks::ElecVars &elecVars)
const GBRForest * mva_wGwGSF_EC_
const GBRForest * mva_wGwGSF_VFEC_
float leadChargedPFCandPt
antiElecIDMVA6_blocks::TauVars getTauVarsTypeSpecific(const reco::PFTau &theTau)
const GBRForest * mva_woGwGSF_BL_
std::string mvaName_wGwGSF_BL_
double dCrackEta(double eta)
std::vector< float > var_NoEleMatch_woGwoGSF_Barrel_