|
|
#include <AntiElectronIDMVA6.h>
|
| AntiElectronIDMVA6 (const edm::ParameterSet &, edm::ConsumesCollector &&) |
|
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
|
antiElecIDMVA6_blocks::ElecVars | getElecVars (const ElectronRef &theEleRef) |
|
void | getElecVarsHGCalTypeSpecific (const pat::ElectronRef &theEleRef, antiElecIDMVA6_blocks::ElecVars &elecVars) |
|
void | getElecVarsHGCalTypeSpecific (const reco::GsfElectronRef &theEleRef, antiElecIDMVA6_blocks::ElecVars &elecVars) |
|
antiElecIDMVA6_blocks::TauGammaVecs | getTauGammaVecs (const TauType &theTau) |
|
antiElecIDMVA6_blocks::TauVars | getTauVars (const TauType &theTau) |
|
antiElecIDMVA6_blocks::TauVars | getTauVarsTypeSpecific (const pat::Tau &theTau) |
|
antiElecIDMVA6_blocks::TauVars | getTauVarsTypeSpecific (const reco::PFTau &theTau) |
|
double | mvaValue (const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaMoms &tauGammaMoms, const antiElecIDMVA6_blocks::ElecVars &elecVars) |
|
double | mvaValue (const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaVecs &tauGammaVecs, const antiElecIDMVA6_blocks::ElecVars &elecVars) |
|
double | mvaValue (const TauType &theTau) |
|
double | mvaValue (const TauType &theTau, const ElectronRef &theEleRef) |
|
double | mvaValuePhase2 (const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaMoms &tauGammaMoms, const antiElecIDMVA6_blocks::ElecVars &elecVars) |
|
| ~AntiElectronIDMVA6 () |
|
|
std::map< std::string, edm::Handle< edm::ValueMap< float > > > | electronIds_ |
|
std::map< std::string, edm::EDGetTokenT< edm::ValueMap< float > > > | electronIds_tokens_ |
|
edm::FileInPath | inputFileName_ |
|
std::vector< TFile * > | inputFilesToDelete_ |
|
bool | isInitialized_ |
|
const bool | isPhase2_ |
|
bool | loadMVAfromDB_ |
|
const GBRForest * | mva_NoEleMatch_wGwoGSF_BL_ |
|
const GBRForest * | mva_NoEleMatch_wGwoGSF_EC_ |
|
const GBRForest * | mva_NoEleMatch_wGwoGSF_VFEC_ |
|
const GBRForest * | mva_NoEleMatch_woGwoGSF_BL_ |
|
const GBRForest * | mva_NoEleMatch_woGwoGSF_EC_ |
|
const GBRForest * | mva_NoEleMatch_woGwoGSF_VFEC_ |
|
const GBRForest * | mva_wGwGSF_BL_ |
|
const GBRForest * | mva_wGwGSF_EC_ |
|
const GBRForest * | mva_wGwGSF_VFEC_ |
|
const GBRForest * | mva_woGwGSF_BL_ |
|
const GBRForest * | mva_woGwGSF_EC_ |
|
const GBRForest * | mva_woGwGSF_VFEC_ |
|
std::string | mvaName_NoEleMatch_wGwoGSF_BL_ |
|
std::string | mvaName_NoEleMatch_wGwoGSF_EC_ |
|
std::string | mvaName_NoEleMatch_wGwoGSF_VFEC_ |
|
std::string | mvaName_NoEleMatch_woGwoGSF_BL_ |
|
std::string | mvaName_NoEleMatch_woGwoGSF_EC_ |
|
std::string | mvaName_NoEleMatch_woGwoGSF_VFEC_ |
|
std::string | mvaName_wGwGSF_BL_ |
|
std::string | mvaName_wGwGSF_EC_ |
|
std::string | mvaName_wGwGSF_VFEC_ |
|
std::string | mvaName_woGwGSF_BL_ |
|
std::string | mvaName_woGwGSF_EC_ |
|
std::string | mvaName_woGwGSF_VFEC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_wGwoGSF_BL_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_wGwoGSF_EC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_wGwoGSF_VFEC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_woGwoGSF_BL_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_woGwoGSF_EC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_NoEleMatch_woGwoGSF_VFEC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_wGwGSF_BL_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_wGwGSF_EC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_wGwGSF_VFEC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_woGwGSF_BL_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_woGwGSF_EC_ |
|
edm::ESGetToken< GBRForest, GBRWrapperRcd > | mvaToken_woGwGSF_VFEC_ |
|
PositionAtECalEntranceComputer | positionAtECalEntrance_ |
|
bool | usePhiAtEcalEntranceExtrapolation_ |
|
std::vector< float > | var_NoEleMatch_wGwoGSF_Barrel_ |
|
std::vector< float > | var_NoEleMatch_wGwoGSF_Endcap_ |
|
std::vector< float > | var_NoEleMatch_wGwoGSF_VFEndcap_ |
|
std::vector< float > | var_NoEleMatch_woGwoGSF_Barrel_ |
|
std::vector< float > | var_NoEleMatch_woGwoGSF_Endcap_ |
|
std::vector< float > | var_NoEleMatch_woGwoGSF_VFEndcap_ |
|
std::vector< float > | var_wGwGSF_Barrel_ |
|
std::vector< float > | var_wGwGSF_Endcap_ |
|
std::vector< float > | var_wGwGSF_VFEndcap_ |
|
std::vector< float > | var_woGwGSF_Barrel_ |
|
std::vector< float > | var_woGwGSF_Endcap_ |
|
std::vector< float > | var_woGwGSF_VFEndcap_ |
|
const int | verbosity_ |
|
template<class TauType, class ElectronType>
class AntiElectronIDMVA6< TauType, ElectronType >
Definition at line 116 of file AntiElectronIDMVA6.h.
◆ ElectronCollection
template<class TauType , class ElectronType >
◆ ElectronRef
template<class TauType , class ElectronType >
◆ AntiElectronIDMVA6()
template<class TauType , class ElectronType >
Definition at line 36 of file AntiElectronIDMVA6.cc.
55 if (
cfg.exists(
"inputFileName")) {
59 <<
"Requested to load tau MVA input from ROOT file but no file provided in cfg file";
119 for (
const auto&
inputTag :
cfg.getParameter<std::vector<edm::InputTag>>(
"hgcalElectronIDs")) {
References looper::cfg, AntiElectronIDMVA6< TauType, ElectronType >::electronIds_, AntiElectronIDMVA6< TauType, ElectronType >::electronIds_tokens_, Exception, AntiElectronIDMVA6< TauType, ElectronType >::inputFileName_, SimL1EmulatorRepack_Full_cff::inputTag, AntiElectronIDMVA6< TauType, ElectronType >::isPhase2_, AntiElectronIDMVA6< TauType, ElectronType >::loadMVAfromDB_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_wGwoGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_wGwoGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_wGwoGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_woGwoGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_woGwoGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_woGwoGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_wGwGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_wGwGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_wGwGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_woGwGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_woGwGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaName_woGwGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_wGwoGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_wGwoGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_wGwoGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_woGwoGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_woGwoGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_NoEleMatch_woGwoGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_wGwGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_wGwGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_wGwGSF_VFEC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_woGwGSF_BL_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_woGwGSF_EC_, AntiElectronIDMVA6< TauType, ElectronType >::mvaToken_woGwGSF_VFEC_, AlCaHLTBitMon_QueryRunRegistry::string, AntiElectronIDMVA6< TauType, ElectronType >::usePhiAtEcalEntranceExtrapolation_, relativeConstraints::value, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_Barrel_, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_Endcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_VFEndcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_Barrel_, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_Endcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_VFEndcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_wGwGSF_Barrel_, AntiElectronIDMVA6< TauType, ElectronType >::var_wGwGSF_Endcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_wGwGSF_VFEndcap_, AntiElectronIDMVA6< TauType, ElectronType >::var_woGwGSF_Barrel_, AntiElectronIDMVA6< TauType, ElectronType >::var_woGwGSF_Endcap_, and AntiElectronIDMVA6< TauType, ElectronType >::var_woGwGSF_VFEndcap_.
◆ ~AntiElectronIDMVA6()
template<class TauType , class ElectronType >
◆ beginEvent()
template<class TauType , class ElectronType >
◆ dCrackEta()
template<class TauType , class ElectronType >
◆ dCrackPhi()
template<class TauType , class ElectronType >
◆ energyWeightedEtaAndPhiAtECal()
template<class TauType , class ElectronType >
bool AntiElectronIDMVA6< TauType, ElectronType >::energyWeightedEtaAndPhiAtECal |
( |
const pat::Tau & |
theTau, |
|
|
float & |
eta, |
|
|
float & |
phi |
|
) |
| |
|
private |
◆ getElecVars()
template<class TauType , class ElectronType >
Definition at line 924 of file AntiElectronIDMVA6.cc.
927 elecVars.
eta = theEleRef->eta();
928 elecVars.
phi = theEleRef->phi();
932 float elecEgamma = 0.;
937 pfCluster != pfSuperCluster->clustersEnd();
939 double pfClusterEn = (*pfCluster)->energy();
940 if (pfCluster == pfSuperCluster->clustersBegin())
941 elecEe += pfClusterEn;
943 elecEgamma += pfClusterEn;
951 elecVars.
r9 = theEleRef->r9();
955 elecVars.
pIn =
std::sqrt(theEleRef->trackMomentumAtVtx().Mag2());
956 elecVars.
pOut =
std::sqrt(theEleRef->trackMomentumOut().Mag2());
957 elecVars.
eTotOverPin = (elecVars.
pIn > 0.0) ? ((elecEe + elecEgamma) / elecVars.
pIn) : -0.1;
958 elecVars.
eEcal = theEleRef->ecalEnergy();
960 elecVars.
deltaEta = theEleRef->deltaEtaSeedClusterTrackAtCalo();
961 elecVars.
deltaPhi = theEleRef->deltaPhiSeedClusterTrackAtCalo();
963 elecVars.
deltaEta = theEleRef->deltaEtaEleClusterTrackAtCalo();
964 elecVars.
deltaPhi = theEleRef->deltaPhiEleClusterTrackAtCalo();
975 if (theEleRef->gsfTrack().isNonnull()) {
976 elecVars.
chi2NormGSF = theEleRef->gsfTrack()->normalizedChi2();
977 elecVars.
gsfNumHits = theEleRef->gsfTrack()->numberOfValidHits();
978 if (theEleRef->gsfTrack()->pt() > 0.) {
979 elecVars.
gsfTrackResol = theEleRef->gsfTrack()->ptError() / theEleRef->gsfTrack()->pt();
987 if (theEleRef->closestCtfTrackRef().isNonnull()) {
988 elecVars.
chi2NormKF = theEleRef->closestCtfTrackRef()->normalizedChi2();
989 elecVars.
kfNumHits = theEleRef->closestCtfTrackRef()->numberOfValidHits();
998 <<
"Unsupported ElectronType used. You must use either reco::GsfElectron or pat::Electron.";
References antiElecIDMVA6_blocks::ElecVars::chi2NormGSF, antiElecIDMVA6_blocks::ElecVars::chi2NormKF, antiElecIDMVA6_blocks::ElecVars::deltaEta, antiElecIDMVA6_blocks::ElecVars::deltaPhi, antiElecIDMVA6_blocks::ElecVars::eEcal, antiElecIDMVA6_blocks::ElecVars::eSeedClusterOverPout, antiElecIDMVA6_blocks::ElecVars::eta, antiElecIDMVA6_blocks::ElecVars::eTotOverPin, Exception, antiElecIDMVA6_blocks::ElecVars::gsfNumHits, antiElecIDMVA6_blocks::ElecVars::gsfTracklnPt, antiElecIDMVA6_blocks::ElecVars::gsfTrackResol, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), antiElecIDMVA6_blocks::ElecVars::kfNumHits, dqm-mbProfile::log, antiElecIDMVA6_blocks::ElecVars::mvaInDeltaEta, antiElecIDMVA6_blocks::ElecVars::mvaInHadEnergy, antiElecIDMVA6_blocks::ElecVars::mvaInSigmaEtaEta, antiElecIDMVA6_blocks::ElecVars::phi, antiElecIDMVA6_blocks::ElecVars::pIn, antiElecIDMVA6_blocks::ElecVars::pOut, antiElecIDMVA6_blocks::ElecVars::r9, antiElecIDMVA6_blocks::ElecVars::showerCircularity, antiElecIDMVA6_blocks::ElecVars::sigmaIEtaIEta5x5, antiElecIDMVA6_blocks::ElecVars::sigmaIPhiIPhi5x5, mathSSE::sqrt(), antiElecIDMVA6_blocks::ElecVars::superClusterEtaWidth, antiElecIDMVA6_blocks::ElecVars::superClusterPhiWidth, and relativeConstraints::value.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::mvaValue().
◆ getElecVarsHGCalTypeSpecific() [1/2]
template<class TauType , class ElectronType >
Definition at line 1305 of file AntiElectronIDMVA6.cc.
1308 if (!theEleRef->hasUserFloat(
"hgcElectronID:sigmaUU"))
1311 elecVars.
hgcalSigmaUU = theEleRef->userFloat(
"hgcElectronID:sigmaUU");
1312 elecVars.
hgcalSigmaVV = theEleRef->userFloat(
"hgcElectronID:sigmaVV");
1313 elecVars.
hgcalSigmaEE = theEleRef->userFloat(
"hgcElectronID:sigmaEE");
1314 elecVars.
hgcalSigmaPP = theEleRef->userFloat(
"hgcElectronID:sigmaPP");
1315 elecVars.
hgcalNLayers = theEleRef->userFloat(
"hgcElectronID:nLayers");
1316 elecVars.
hgcalFirstLayer = theEleRef->userFloat(
"hgcElectronID:firstLayer");
1317 elecVars.
hgcalLastLayer = theEleRef->userFloat(
"hgcElectronID:lastLayer");
1318 elecVars.
hgcalLayerEfrac10 = theEleRef->userFloat(
"hgcElectronID:layerEfrac10");
1319 elecVars.
hgcalLayerEfrac90 = theEleRef->userFloat(
"hgcElectronID:layerEfrac90");
1320 elecVars.
hgcalEcEnergyEE = theEleRef->userFloat(
"hgcElectronID:ecEnergyEE");
1321 elecVars.
hgcalEcEnergyFH = theEleRef->userFloat(
"hgcElectronID:ecEnergyFH");
References antiElecIDMVA6_blocks::ElecVars::hgcalDepthCompatibility, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyEE, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyFH, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedDepth, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedSigma, antiElecIDMVA6_blocks::ElecVars::hgcalFirstLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLastLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac10, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac90, antiElecIDMVA6_blocks::ElecVars::hgcalMeasuredDepth, antiElecIDMVA6_blocks::ElecVars::hgcalNLayers, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaEE, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaPP, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaUU, and antiElecIDMVA6_blocks::ElecVars::hgcalSigmaVV.
◆ getElecVarsHGCalTypeSpecific() [2/2]
template<class TauType , class ElectronType >
Definition at line 1279 of file AntiElectronIDMVA6.cc.
References antiElecIDMVA6_blocks::ElecVars::hgcalDepthCompatibility, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyEE, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyFH, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedDepth, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedSigma, antiElecIDMVA6_blocks::ElecVars::hgcalFirstLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLastLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac10, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac90, antiElecIDMVA6_blocks::ElecVars::hgcalMeasuredDepth, antiElecIDMVA6_blocks::ElecVars::hgcalNLayers, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaEE, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaPP, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaUU, and antiElecIDMVA6_blocks::ElecVars::hgcalSigmaVV.
◆ getTauGammaVecs()
template<class TauType , class ElectronType >
Definition at line 901 of file AntiElectronIDMVA6.cc.
904 float signalrad = std::clamp(3.0 /
std::max(1.0, theTau.pt()), 0.05, 0.10);
905 for (
const auto&
gamma : theTau.signalGammaCands()) {
906 float dR =
deltaR(
gamma->p4(), theTau.leadChargedHadrCand()->p4());
908 if (
dR < signalrad) {
References PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, CustomPhysics_cfi::gamma, antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaOutSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiOutSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasPtInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasPtOutSigCone, and SiStripPI::max.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::mvaValue().
◆ getTauVars()
template<class TauType , class ElectronType >
Definition at line 851 of file AntiElectronIDMVA6.cc.
857 <<
"Unsupported TauType used. You must use either reco::PFTau or pat::Tau.";
859 tauVars.
pt = theTau.pt();
863 float signalrad = std::clamp(3.0 /
std::max(1.0, theTau.pt()), 0.05, 0.10);
864 for (
const auto&
gamma : theTau.signalGammaCands()) {
865 float dR =
deltaR(
gamma->p4(), theTau.leadChargedHadrCand()->p4());
867 if (
dR < signalrad) {
868 pfGammaSum +=
gamma->p4();
871 for (
const auto& charged : theTau.signalChargedHadrCands()) {
872 float dR =
deltaR(charged->p4(), theTau.leadChargedHadrCand()->p4());
874 if (
dR < signalrad) {
875 pfChargedSum += charged->p4();
881 if (theTau.leadChargedHadrCand().isNonnull()) {
883 dynamic_cast<const pat::PackedCandidate*>(theTau.leadChargedHadrCand().get());
884 if (packedLeadChCand !=
nullptr) {
889 dynamic_cast<const reco::PFCandidate*>(theTau.leadChargedHadrCand().get());
References funct::abs(), antiElecIDMVA6_blocks::TauVars::dCrackEta, antiElecIDMVA6_blocks::TauVars::dCrackPhi, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance, Exception, CustomPhysics_cfi::gamma, reco::PFCandidate::gsfTrackRef(), antiElecIDMVA6_blocks::TauVars::hasGsf, edm::Ref< C, T, F >::isNonnull(), EgHLTOffHistBins_cfi::mass, SiStripPI::max, pat::PackedCandidate::pdgId(), antiElecIDMVA6_blocks::TauVars::phi, antiElecIDMVA6_blocks::TauVars::pt, relativeConstraints::value, and antiElecIDMVA6_blocks::TauVars::visMassIn.
Referenced by AntiElectronIDMVA6< TauType, ElectronType >::mvaValue().
◆ getTauVarsTypeSpecific() [1/2]
template<class TauType , class ElectronType >
Definition at line 1102 of file AntiElectronIDMVA6.cc.
1107 tauVars.
phi = theTau.
phi();
1112 float etaAtECal = 0.;
1113 float phiAtECal = 0.;
1116 tauVars.
phi = phiAtECal;
1129 float phiAtECal = 0.;
1130 float etaAtECal = 0.;
References funct::abs(), pat::Tau::ecalEnergyLeadChargedHadrCand(), antiElecIDMVA6_blocks::TauVars::emFraction, pat::Tau::emFraction_MVA(), reco::LeafCandidate::eta(), antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance, pat::Tau::etaAtEcalEntrance(), pat::Tau::etaAtEcalEntranceLeadChargedCand(), f, edm::Ptr< T >::get(), pat::Tau::hcalEnergyLeadChargedHadrCand(), pat::Tau::leadChargedHadrCand(), antiElecIDMVA6_blocks::TauVars::leadChargedPFCandEtaAtEcalEntrance, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandPt, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrEoP, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrHoP, SiStripPI::max, antiElecIDMVA6_blocks::TauVars::phi, reco::LeafCandidate::phi(), pat::Tau::phiAtEcalEntrance(), pat::Tau::ptLeadChargedCand(), and summarizeEdmComparisonLogfiles::success.
◆ getTauVarsTypeSpecific() [2/2]
template<class TauType , class ElectronType >
Definition at line 1152 of file AntiElectronIDMVA6.cc.
1157 float sumEtaTimesEnergy = 0.;
1158 float sumPhiTimesEnergy = 0.;
1159 float sumEnergy = 0.;
1160 tauVars.
phi = theTau.
phi();
1162 bool isFromPFCands =
1165 for (
const auto& candidate : theTau.
signalCands()) {
1166 float etaAtECalEntrance = candidate->eta();
1167 float phiAtECalEntrance = candidate->phi();
1169 if (isFromPFCands) {
1170 const reco::PFCandidate* pfCandidate = static_cast<const reco::PFCandidate*>(candidate.get());
1178 phiAtECalEntrance = posAtECal.phi();
1181 track = getTrackFromPFCand(pfCandidate);
1186 etaAtECalEntrance = posAtECal.eta();
1187 phiAtECalEntrance = posAtECal.phi();
1189 track = candidate->bestTrack();
1191 if (
track !=
nullptr) {
1197 sumEtaTimesEnergy += etaAtECalEntrance * candidate->energy();
1198 sumPhiTimesEnergy += phiAtECalEntrance * candidate->energy();
1199 sumEnergy += candidate->energy();
1201 if (sumEnergy > 0.) {
1203 tauVars.
phi = sumPhiTimesEnergy / sumEnergy;
1207 for (
const auto& candidate : theTau.
signalCands()) {
1208 float etaAtECalEntrance = candidate->eta();
1210 if (isFromPFCands) {
1211 const reco::PFCandidate* pfCandidate = static_cast<const reco::PFCandidate*>(candidate.get());
1217 etaAtECalEntrance = posAtECal.eta();
1220 track = getTrackFromPFCand(pfCandidate);
1225 etaAtECalEntrance = posAtECal.eta();
1227 track = candidate->bestTrack();
1229 if (
track !=
nullptr) {
1235 sumEtaTimesEnergy += etaAtECalEntrance * candidate->energy();
1236 sumEnergy += candidate->energy();
1238 if (sumEnergy > 0.) {
1241 if (isFromPFCands) {
1249 if (patLeadCandiate !=
nullptr) {
1257 if (isFromPFCands) {
1265 if (patLeadCandiate !=
nullptr) {
1269 (1. - patLeadCandiate->
hcalFraction()) / patLeadCandiate->
p();
References funct::abs(), pat::PackedCandidate::caloFraction(), reco::PFCandidate::ecalEnergy(), antiElecIDMVA6_blocks::TauVars::emFraction, reco::PFTau::emFraction(), pat::PackedCandidate::energy(), reco::LeafCandidate::eta(), antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance, edm::Ptr< T >::get(), reco::PFCandidate::hcalEnergy(), pat::PackedCandidate::hcalFraction(), edm::Ptr< T >::isNonnull(), reco::PFTau::leadCand(), reco::PFTau::leadChargedHadrCand(), antiElecIDMVA6_blocks::TauVars::leadChargedPFCandEtaAtEcalEntrance, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandPt, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrEoP, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrHoP, SiStripPI::max, reco::LeafCandidate::p(), pat::PackedCandidate::p(), antiElecIDMVA6_blocks::TauVars::phi, reco::LeafCandidate::phi(), reco::PFCandidate::positionAtECALEntrance(), reco::PFTau::signalCands(), summarizeEdmComparisonLogfiles::success, and HLT_FULL_cff::track.
◆ minimum()
template<class TauType , class ElectronType >
◆ mvaValue() [1/4]
template<class TauType , class ElectronType >
Definition at line 285 of file AntiElectronIDMVA6.cc.
289 throw cms::Exception(
"ClassNotInitialized") <<
" AntiElectronMVA6 not properly initialized !!\n";
294 float elecDeltaPinPoutOverPin = (elecVars.
pIn > 0.0) ? (
std::abs(elecVars.
pIn - elecVars.
pOut) / elecVars.
pIn) : 1.0;
295 float elecEecalOverPout = (elecVars.
pOut > 0.0) ? (elecVars.
eEcal / elecVars.
pOut) : 20.0;
296 float elecNumHitsDiffOverSum =
References funct::abs(), antiElecIDMVA6_blocks::ElecVars::chi2NormGSF, antiElecIDMVA6_blocks::ElecVars::chi2NormKF, antiElecIDMVA6_blocks::TauVars::dCrackEta, antiElecIDMVA6_blocks::TauVars::dCrackPhi, antiElecIDMVA6_blocks::ElecVars::deltaEta, antiElecIDMVA6_blocks::ElecVars::deltaPhi, PbPb_ZMuSkimMuonDPG_cff::deltaR, antiElecIDMVA6_blocks::ElecVars::eEcal, antiElecIDMVA6_blocks::TauVars::emFraction, antiElecIDMVA6_blocks::ElecVars::eta, antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance, antiElecIDMVA6_blocks::ElecVars::eTotOverPin, Exception, f, antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomOut, antiElecIDMVA6_blocks::ElecVars::gsfNumHits, antiElecIDMVA6_blocks::ElecVars::gsfTracklnPt, antiElecIDMVA6_blocks::ElecVars::gsfTrackResol, antiElecIDMVA6_blocks::TauVars::hasGsf, antiElecIDMVA6_blocks::ElecVars::kfNumHits, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandEtaAtEcalEntrance, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandPt, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrEoP, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrHoP, dqm-mbProfile::log, SiStripPI::max, min(), antiElecIDMVA6_blocks::ElecVars::mvaInDeltaEta, antiElecIDMVA6_blocks::ElecVars::mvaInHadEnergy, antiElecIDMVA6_blocks::ElecVars::mvaInSigmaEtaEta, antiElecIDMVA6_blocks::TauVars::phi, antiElecIDMVA6_blocks::ElecVars::phi, antiElecIDMVA6_blocks::ElecVars::pIn, antiElecIDMVA6_blocks::ElecVars::pOut, antiElecIDMVA6_blocks::TauVars::pt, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsIn, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsOut, and antiElecIDMVA6_blocks::TauVars::visMassIn.
◆ mvaValue() [2/4]
template<class TauType , class ElectronType >
Definition at line 217 of file AntiElectronIDMVA6.cc.
234 dEta2 += (pt_i * eta_i * eta_i);
235 dPhi2 += (pt_i * phi_i * phi_i);
239 if (tauVars.
pt > 0.) {
262 dEta2 += (pt_i * eta_i * eta_i);
263 dPhi2 += (pt_i * phi_i * phi_i);
267 if (tauVars.
pt > 0.) {
278 return mvaValue(tauVars, tauGammaMoms, elecVars);
References antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomOut, antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaOutSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiOutSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasPtInSigCone, antiElecIDMVA6_blocks::TauGammaVecs::gammasPtOutSigCone, mps_fire::i, M_PI, antiElecIDMVA6_blocks::TauVars::pt, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsIn, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsOut, mathSSE::sqrt(), and TtFullHadEvtBuilder_cfi::sumPt.
◆ mvaValue() [3/4]
template<class TauType , class ElectronType >
◆ mvaValue() [4/4]
template<class TauType , class ElectronType >
◆ mvaValuePhase2()
template<class TauType , class ElectronType >
Definition at line 496 of file AntiElectronIDMVA6.cc.
500 throw cms::Exception(
"ClassNotInitialized") <<
" AntiElectronMVA6 not properly initialized !!\n";
510 float elecDeltaPinPoutOverPin = (elecVars.
pIn > 0.0) ? (
std::abs(elecVars.
pIn - elecVars.
pOut) / elecVars.
pIn) : 1.0;
511 float elecEecalOverPout = (elecVars.
pOut > 0.0) ? (elecVars.
eEcal / elecVars.
pOut) : 20.0;
512 float elecNumHitsDiffOverSum =
References funct::abs(), antiElecIDMVA6_blocks::ElecVars::chi2NormGSF, antiElecIDMVA6_blocks::ElecVars::chi2NormKF, antiElecIDMVA6_blocks::TauVars::dCrackEta, antiElecIDMVA6_blocks::ElecVars::deltaEta, antiElecIDMVA6_blocks::ElecVars::deltaPhi, antiElecIDMVA6_blocks::ElecVars::eEcal, antiElecIDMVA6_blocks::TauVars::emFraction, antiElecIDMVA6_blocks::ElecVars::eSeedClusterOverPout, antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance, Exception, f, antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomOut, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomIn, antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomOut, antiElecIDMVA6_blocks::ElecVars::gsfNumHits, antiElecIDMVA6_blocks::ElecVars::gsfTracklnPt, antiElecIDMVA6_blocks::ElecVars::gsfTrackResol, antiElecIDMVA6_blocks::TauVars::hasGsf, antiElecIDMVA6_blocks::ElecVars::hgcalDepthCompatibility, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyEE, antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyFH, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedDepth, antiElecIDMVA6_blocks::ElecVars::hgcalExpectedSigma, antiElecIDMVA6_blocks::ElecVars::hgcalFirstLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLastLayer, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac10, antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac90, antiElecIDMVA6_blocks::ElecVars::hgcalMeasuredDepth, antiElecIDMVA6_blocks::ElecVars::hgcalNLayers, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaEE, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaPP, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaUU, antiElecIDMVA6_blocks::ElecVars::hgcalSigmaVV, antiElecIDMVA6_blocks::ElecVars::kfNumHits, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandEtaAtEcalEntrance, antiElecIDMVA6_blocks::TauVars::leadChargedPFCandPt, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrEoP, antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrHoP, dqm-mbProfile::log, SiStripPI::max, min(), antiElecIDMVA6_blocks::ElecVars::mvaInDeltaEta, antiElecIDMVA6_blocks::ElecVars::mvaInHadEnergy, antiElecIDMVA6_blocks::ElecVars::mvaInSigmaEtaEta, antiElecIDMVA6_blocks::ElecVars::pIn, antiElecIDMVA6_blocks::ElecVars::pOut, antiElecIDMVA6_blocks::TauVars::pt, antiElecIDMVA6_blocks::ElecVars::r9, antiElecIDMVA6_blocks::ElecVars::showerCircularity, antiElecIDMVA6_blocks::ElecVars::sigmaIEtaIEta5x5, antiElecIDMVA6_blocks::ElecVars::sigmaIPhiIPhi5x5, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsIn, antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsOut, antiElecIDMVA6_blocks::ElecVars::superClusterEtaWidth, antiElecIDMVA6_blocks::ElecVars::superClusterPhiWidth, and antiElecIDMVA6_blocks::TauVars::visMassIn.
◆ ecalBarrelEndcapEtaBorder_
template<class TauType , class ElectronType >
constexpr float AntiElectronIDMVA6< TauType, ElectronType >::ecalBarrelEndcapEtaBorder_ = 1.479 |
|
staticconstexprprivate |
◆ ecalEndcapVFEndcapEtaBorder_
template<class TauType , class ElectronType >
constexpr float AntiElectronIDMVA6< TauType, ElectronType >::ecalEndcapVFEndcapEtaBorder_ = 2.4 |
|
staticconstexprprivate |
◆ electronIds_
template<class TauType , class ElectronType >
◆ electronIds_tokens_
template<class TauType , class ElectronType >
◆ inputFileName_
template<class TauType , class ElectronType >
◆ inputFilesToDelete_
template<class TauType , class ElectronType >
◆ isInitialized_
template<class TauType , class ElectronType >
◆ isPhase2_
template<class TauType , class ElectronType >
◆ loadMVAfromDB_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_wGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_wGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_wGwoGSF_VFEC_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_woGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_woGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mva_NoEleMatch_woGwoGSF_VFEC_
template<class TauType , class ElectronType >
◆ mva_wGwGSF_BL_
template<class TauType , class ElectronType >
◆ mva_wGwGSF_EC_
template<class TauType , class ElectronType >
◆ mva_wGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ mva_woGwGSF_BL_
template<class TauType , class ElectronType >
◆ mva_woGwGSF_EC_
template<class TauType , class ElectronType >
◆ mva_woGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_wGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_wGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_wGwoGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_woGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_woGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mvaName_NoEleMatch_woGwoGSF_VFEC_
template<class TauType , class ElectronType >
std::string AntiElectronIDMVA6< TauType, ElectronType >::mvaName_NoEleMatch_woGwoGSF_VFEC_ |
|
private |
◆ mvaName_wGwGSF_BL_
template<class TauType , class ElectronType >
◆ mvaName_wGwGSF_EC_
template<class TauType , class ElectronType >
◆ mvaName_wGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaName_woGwGSF_BL_
template<class TauType , class ElectronType >
◆ mvaName_woGwGSF_EC_
template<class TauType , class ElectronType >
◆ mvaName_woGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_wGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_wGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_wGwoGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_woGwoGSF_BL_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_woGwoGSF_EC_
template<class TauType , class ElectronType >
◆ mvaToken_NoEleMatch_woGwoGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaToken_wGwGSF_BL_
template<class TauType , class ElectronType >
◆ mvaToken_wGwGSF_EC_
template<class TauType , class ElectronType >
◆ mvaToken_wGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ mvaToken_woGwGSF_BL_
template<class TauType , class ElectronType >
◆ mvaToken_woGwGSF_EC_
template<class TauType , class ElectronType >
◆ mvaToken_woGwGSF_VFEC_
template<class TauType , class ElectronType >
◆ positionAtECalEntrance_
template<class TauType , class ElectronType >
◆ usePhiAtEcalEntranceExtrapolation_
template<class TauType , class ElectronType >
◆ var_NoEleMatch_wGwoGSF_Barrel_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_Barrel_ |
|
private |
◆ var_NoEleMatch_wGwoGSF_Endcap_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_Endcap_ |
|
private |
◆ var_NoEleMatch_wGwoGSF_VFEndcap_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_wGwoGSF_VFEndcap_ |
|
private |
◆ var_NoEleMatch_woGwoGSF_Barrel_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_Barrel_ |
|
private |
◆ var_NoEleMatch_woGwoGSF_Endcap_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_Endcap_ |
|
private |
◆ var_NoEleMatch_woGwoGSF_VFEndcap_
template<class TauType , class ElectronType >
std::vector<float> AntiElectronIDMVA6< TauType, ElectronType >::var_NoEleMatch_woGwoGSF_VFEndcap_ |
|
private |
◆ var_wGwGSF_Barrel_
template<class TauType , class ElectronType >
◆ var_wGwGSF_Endcap_
template<class TauType , class ElectronType >
◆ var_wGwGSF_VFEndcap_
template<class TauType , class ElectronType >
◆ var_woGwGSF_Barrel_
template<class TauType , class ElectronType >
◆ var_woGwGSF_Endcap_
template<class TauType , class ElectronType >
◆ var_woGwGSF_VFEndcap_
template<class TauType , class ElectronType >
◆ verbosity_
template<class TauType , class ElectronType >
const reco::CandidatePtr leadChargedHadrCand() const
antiElecIDMVA6_blocks::TauGammaVecs getTauGammaVecs(const TauType &theTau)
std::string mvaName_NoEleMatch_wGwoGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_EC_
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
const CandidatePtr & leadCand() const
float leadPFChargedHadrEoP
static constexpr float ecalBarrelEndcapEtaBorder_
std::string mvaName_wGwGSF_EC_
const std::vector< reco::CandidatePtr > & signalCands() const
Candidates in signal region.
double GetClassifier(const float *vector) const
std::vector< float > gammasdPhiOutSigCone
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_EC_
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_
double p() const override
magnitude of momentum vector
float ecalEnergyLeadChargedHadrCand() const
int pdgId() const override
PDG identifier.
const GBRForest * mva_woGwGSF_VFEC_
float caloFraction() const
Set the fraction of ECAL+HCAL energy over candidate energy.
std::string mvaName_NoEleMatch_woGwoGSF_BL_
PositionAtECalEntranceComputer positionAtECalEntrance_
std::vector< float > var_NoEleMatch_wGwoGSF_VFEndcap_
float emFraction_MVA() const
return emFraction_MVA
const math::XYZPointF & positionAtECALEntrance() const
float eSeedClusterOverPout
std::vector< float > var_wGwGSF_Endcap_
T const * get() const
Returns C++ pointer to the item.
std::map< std::string, edm::Handle< edm::ValueMap< float > > > electronIds_
bool energyWeightedEtaAndPhiAtECal(const pat::Tau &theTau, float &eta, float &phi)
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_VFEC_
int signalPFGammaCandsOut
std::pair< int, edm::FunctionWithDict > OK
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_VFEC_
double mvaValuePhase2(const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaMoms &tauGammaMoms, const antiElecIDMVA6_blocks::ElecVars &elecVars)
void beginEvent(const edm::EventSetup &)
std::vector< float > var_woGwGSF_Barrel_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_EC_
float hcalEnergyLeadChargedHadrCand() const
return hcal energy from LeadChargedHadrCand
reco::CandidatePtrVector signalCands() const
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_BL_
float superClusterEtaWidth
double energy() const override
energy
std::vector< TFile * > inputFilesToDelete_
double dCrackPhi(double phi, double eta)
std::vector< float > var_NoEleMatch_wGwoGSF_Endcap_
std::vector< float > var_NoEleMatch_woGwoGSF_VFEndcap_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_BL_
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_
const CandidatePtr & leadChargedHadrCand() const
std::string mvaName_woGwGSF_VFEC_
LocationCode location() const
Where was the file found?
bool usePhiAtEcalEntranceExtrapolation_
float leadChargedPFCandEtaAtEcalEntrance
std::vector< float > var_NoEleMatch_wGwoGSF_Barrel_
reco::GsfTrackRef gsfTrackRef() const
edm::FileInPath inputFileName_
double eta() const final
momentum pseudorapidity
std::vector< float > gammasPtOutSigCone
float etaAtEcalEntrance() const
return etaAtEcalEntrance
bool isNonnull() const
Checks for non-null.
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)
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_EC_
float phiAtEcalEntrance() const
return phiAtEcalEntrance
double ecalEnergy() const
return corrected Ecal energy
bool getData(T &iHolder) const
std::string mvaName_woGwGSF_BL_
std::string mvaName_NoEleMatch_woGwoGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_BL_
std::string mvaName_woGwGSF_EC_
float hcalFraction() const
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_BL_
std::string mvaName_wGwGSF_VFEC_
double phi() const final
momentum azimuthal angle
double hcalEnergy() const
return corrected Hcal energy
float etaAtEcalEntranceLeadChargedCand() const
return etaAtEcalEntrance from LeadChargedCand
double p() const final
magnitude of momentum vector
static constexpr float ecalEndcapVFEndcapEtaBorder_
const GBRForest * mva_NoEleMatch_woGwoGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_VFEC_
const GBRForest * mva_NoEleMatch_wGwoGSF_BL_
bool isNonnull() const
Checks for non-null.
double minimum(double a, double b)
std::vector< float > gammasPtInSigCone
float ptLeadChargedCand() const
return pt from LeadChargedCand
Particle reconstructed by the particle flow algorithm.
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_
Abs< T >::type abs(const T &t)
const GBRForest * mva_wGwGSF_VFEC_
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
float leadChargedPFCandPt
antiElecIDMVA6_blocks::TauVars getTauVarsTypeSpecific(const reco::PFTau &theTau)
const GBRForest * mva_woGwGSF_BL_
std::string mvaName_wGwGSF_BL_
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
double dCrackEta(double eta)
std::vector< float > var_NoEleMatch_woGwoGSF_Barrel_
std::string fullPath() const
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_VFEC_