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