CMS 3D CMS Logo

AntiElectronIDMVA6.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------------------------------
2 // AntiElectronIDMVA6
3 //
4 // Helper Class for applying MVA anti-electron discrimination
5 //
6 // Authors: F.Colombo, C.Veelken
7 // M. Bluj (template version)
8 //--------------------------------------------------------------------------------------------------
9 
10 #ifndef RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H
11 #define RECOTAUTAG_RECOTAU_AntiElectronIDMVA6_H
12 
18 
29 
30 #include "TMVA/Tools.h"
31 #include "TMVA/Reader.h"
32 
34 
35 #include <vector>
36 
37 class GBRWrapperRcd;
38 
40  struct TauVars {
41  float pt = 0;
42  float etaAtEcalEntrance = 0;
43  float phi = 0;
46  float emFraction = 0;
49  float visMassIn = 0;
50  float dCrackEta = 0;
51  float dCrackPhi = 0;
52  float hasGsf = 0;
53  };
54  struct TauGammaVecs {
55  std::vector<float> gammasdEtaInSigCone;
56  std::vector<float> gammasdPhiInSigCone;
57  std::vector<float> gammasPtInSigCone;
58  std::vector<float> gammasdEtaOutSigCone;
59  std::vector<float> gammasdPhiOutSigCone;
60  std::vector<float> gammasPtOutSigCone;
61  };
62  struct TauGammaMoms {
65  float gammaEtaMomIn = 0;
66  float gammaEtaMomOut = 0;
67  float gammaPhiMomIn = 0;
68  float gammaPhiMomOut = 0;
69  float gammaEnFracIn = 0;
70  float gammaEnFracOut = 0;
71  };
72  struct ElecVars {
73  float eta = 0;
74  float phi = 0;
75  float eTotOverPin = 0;
76  float chi2NormGSF = 0;
77  float chi2NormKF = 0;
78  float gsfNumHits = 0;
79  float kfNumHits = 0;
80  float gsfTrackResol = 0;
81  float gsfTracklnPt = 0;
82  float pIn = 0;
83  float pOut = 0;
84  float eEcal = 0;
85  float deltaEta = 0;
86  float deltaPhi = 0;
87  float mvaInSigmaEtaEta = 0;
88  float mvaInHadEnergy = 0;
89  float mvaInDeltaEta = 0;
93  float sigmaIEtaIEta5x5 = 0;
94  float sigmaIPhiIPhi5x5 = 0;
95  float showerCircularity = 0;
96  float r9 = 0;
97  float hgcalSigmaUU = 0;
98  float hgcalSigmaVV = 0;
99  float hgcalSigmaEE = 0;
100  float hgcalSigmaPP = 0;
101  float hgcalNLayers = 0;
102  float hgcalFirstLayer = 0;
103  float hgcalLastLayer = 0;
104  float hgcalLayerEfrac10 = 0;
105  float hgcalLayerEfrac90 = 0;
106  float hgcalEcEnergyEE = 0;
107  float hgcalEcEnergyFH = 0;
112  };
113 } // namespace antiElecIDMVA6_blocks
114 
115 template <class TauType, class ElectronType>
117 public:
118  typedef std::vector<ElectronType> ElectronCollection;
120 
123 
124  void beginEvent(const edm::Event&, const edm::EventSetup&);
125 
126  double mvaValue(const antiElecIDMVA6_blocks::TauVars& tauVars,
127  const antiElecIDMVA6_blocks::TauGammaVecs& tauGammaVecs,
128  const antiElecIDMVA6_blocks::ElecVars& elecVars);
129 
130  double mvaValue(const antiElecIDMVA6_blocks::TauVars& tauVars,
131  const antiElecIDMVA6_blocks::TauGammaMoms& tauGammaMoms,
132  const antiElecIDMVA6_blocks::ElecVars& elecVars);
133 
134  double mvaValuePhase2(const antiElecIDMVA6_blocks::TauVars& tauVars,
135  const antiElecIDMVA6_blocks::TauGammaMoms& tauGammaMoms,
136  const antiElecIDMVA6_blocks::ElecVars& elecVars);
137 
138  // this function can be called for all categories
139  double mvaValue(const TauType& theTau, const ElectronRef& theEleRef);
140  // this function can be called for category 1 only !!
141  double mvaValue(const TauType& theTau);
142 
143  // overloaded method with explicit tau type to avoid partial imlementation of full class
146  antiElecIDMVA6_blocks::TauVars getTauVars(const TauType& theTau);
149  // overloaded method with explicit electron type to avoid partial imlementation of full class
152 
153 private:
154  double dCrackEta(double eta);
155  double minimum(double a, double b);
156  double dCrackPhi(double phi, double eta);
158  const pat::Tau& theTau,
159  float& eta,
160  float& phi); // MB: needed only for pat::Tau and called within pat::Tau specific method so also pat::Tau specific
161 
162  static constexpr float ecalBarrelEndcapEtaBorder_ = 1.479;
163  static constexpr float ecalEndcapVFEndcapEtaBorder_ = 2.4;
164 
168 
181 
194 
196 
198  std::vector<float> var_NoEleMatch_wGwoGSF_Barrel_;
199  std::vector<float> var_woGwGSF_Barrel_;
200  std::vector<float> var_wGwGSF_Barrel_;
202  std::vector<float> var_NoEleMatch_wGwoGSF_Endcap_;
203  std::vector<float> var_woGwGSF_Endcap_;
204  std::vector<float> var_wGwGSF_Endcap_;
207  std::vector<float> var_woGwGSF_VFEndcap_;
208  std::vector<float> var_wGwGSF_VFEndcap_;
209 
222 
223  std::vector<TFile*> inputFilesToDelete_;
224 
225  const bool isPhase2_;
226 
228 
229  std::map<std::string, edm::EDGetTokenT<edm::ValueMap<float>>> electronIds_tokens_;
230  std::map<std::string, edm::Handle<edm::ValueMap<float>>> electronIds_;
231 
232  const int verbosity_;
233 };
234 
235 #endif
AntiElectronIDMVA6::getTauGammaVecs
antiElecIDMVA6_blocks::TauGammaVecs getTauGammaVecs(const TauType &theTau)
Definition: AntiElectronIDMVA6.cc:901
AntiElectronIDMVA6::mvaName_NoEleMatch_wGwoGSF_VFEC_
std::string mvaName_NoEleMatch_wGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:178
antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracIn
float gammaEnFracIn
Definition: AntiElectronIDMVA6.h:69
AntiElectronIDMVA6::mvaToken_wGwGSF_EC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_EC_
Definition: AntiElectronIDMVA6.h:189
AntiElectronIDMVA6::electronIds_tokens_
std::map< std::string, edm::EDGetTokenT< edm::ValueMap< float > > > electronIds_tokens_
Definition: AntiElectronIDMVA6.h:229
AntiElectronIDMVA6::getElecVarsHGCalTypeSpecific
void getElecVarsHGCalTypeSpecific(const reco::GsfElectronRef &theEleRef, antiElecIDMVA6_blocks::ElecVars &elecVars)
Definition: AntiElectronIDMVA6.cc:1279
AntiElectronIDMVA6
Definition: AntiElectronIDMVA6.h:116
antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaInSigCone
std::vector< float > gammasdEtaInSigCone
Definition: AntiElectronIDMVA6.h:55
antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomIn
float gammaEtaMomIn
Definition: AntiElectronIDMVA6.h:65
antiElecIDMVA6_blocks::ElecVars::hgcalSigmaVV
float hgcalSigmaVV
Definition: AntiElectronIDMVA6.h:98
antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrEoP
float leadPFChargedHadrEoP
Definition: AntiElectronIDMVA6.h:48
AntiElectronIDMVA6::ecalBarrelEndcapEtaBorder_
static constexpr float ecalBarrelEndcapEtaBorder_
Definition: AntiElectronIDMVA6.h:162
antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyEE
float hgcalEcEnergyEE
Definition: AntiElectronIDMVA6.h:106
antiElecIDMVA6_blocks::ElecVars::eEcal
float eEcal
Definition: AntiElectronIDMVA6.h:84
AntiElectronIDMVA6::mvaName_wGwGSF_EC_
std::string mvaName_wGwGSF_EC_
Definition: AntiElectronIDMVA6.h:176
antiElecIDMVA6_blocks::ElecVars::sigmaIPhiIPhi5x5
float sigmaIPhiIPhi5x5
Definition: AntiElectronIDMVA6.h:94
antiElecIDMVA6_blocks::ElecVars::hgcalMeasuredDepth
float hgcalMeasuredDepth
Definition: AntiElectronIDMVA6.h:108
antiElecIDMVA6_blocks::ElecVars::hgcalFirstLayer
float hgcalFirstLayer
Definition: AntiElectronIDMVA6.h:102
antiElecIDMVA6_blocks::ElecVars::mvaInDeltaEta
float mvaInDeltaEta
Definition: AntiElectronIDMVA6.h:89
antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiOutSigCone
std::vector< float > gammasdPhiOutSigCone
Definition: AntiElectronIDMVA6.h:59
AntiElectronIDMVA6::mvaToken_woGwGSF_EC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_EC_
Definition: AntiElectronIDMVA6.h:188
AntiElectronIDMVA6::mvaName_NoEleMatch_woGwoGSF_EC_
std::string mvaName_NoEleMatch_woGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:173
AntiElectronIDMVA6::mva_NoEleMatch_wGwoGSF_VFEC_
const GBRForest * mva_NoEleMatch_wGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:219
AntiElectronIDMVA6::var_woGwGSF_VFEndcap_
std::vector< float > var_woGwGSF_VFEndcap_
Definition: AntiElectronIDMVA6.h:207
antiElecIDMVA6_blocks::TauVars::dCrackEta
float dCrackEta
Definition: AntiElectronIDMVA6.h:50
antiElecIDMVA6_blocks::TauVars::hasGsf
float hasGsf
Definition: AntiElectronIDMVA6.h:52
antiElecIDMVA6_blocks::ElecVars::chi2NormGSF
float chi2NormGSF
Definition: AntiElectronIDMVA6.h:76
AntiElectronIDMVA6::var_NoEleMatch_woGwoGSF_Endcap_
std::vector< float > var_NoEleMatch_woGwoGSF_Endcap_
Definition: AntiElectronIDMVA6.h:201
AntiElectronIDMVA6::ElectronCollection
std::vector< ElectronType > ElectronCollection
Definition: AntiElectronIDMVA6.h:118
AntiElectronIDMVA6::mva_woGwGSF_VFEC_
const GBRForest * mva_woGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:220
antiElecIDMVA6_blocks::ElecVars::pIn
float pIn
Definition: AntiElectronIDMVA6.h:82
GBRForest
Definition: GBRForest.h:24
pat::Tau
Analysis-level tau class.
Definition: Tau.h:53
AntiElectronIDMVA6::mvaName_NoEleMatch_woGwoGSF_BL_
std::string mvaName_NoEleMatch_woGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:169
AntiElectronIDMVA6::positionAtECalEntrance_
PositionAtECalEntranceComputer positionAtECalEntrance_
Definition: AntiElectronIDMVA6.h:227
AntiElectronIDMVA6::var_NoEleMatch_wGwoGSF_VFEndcap_
std::vector< float > var_NoEleMatch_wGwoGSF_VFEndcap_
Definition: AntiElectronIDMVA6.h:206
antiElecIDMVA6_blocks::ElecVars::eSeedClusterOverPout
float eSeedClusterOverPout
Definition: AntiElectronIDMVA6.h:90
antiElecIDMVA6_blocks::ElecVars::deltaEta
float deltaEta
Definition: AntiElectronIDMVA6.h:85
AntiElectronIDMVA6::var_wGwGSF_Endcap_
std::vector< float > var_wGwGSF_Endcap_
Definition: AntiElectronIDMVA6.h:204
antiElecIDMVA6_blocks::ElecVars::kfNumHits
float kfNumHits
Definition: AntiElectronIDMVA6.h:79
reco::PFTau
Definition: PFTau.h:36
antiElecIDMVA6_blocks::TauVars::pt
float pt
Definition: AntiElectronIDMVA6.h:41
antiElecIDMVA6_blocks::ElecVars::phi
float phi
Definition: AntiElectronIDMVA6.h:74
AntiElectronIDMVA6::electronIds_
std::map< std::string, edm::Handle< edm::ValueMap< float > > > electronIds_
Definition: AntiElectronIDMVA6.h:230
antiElecIDMVA6_blocks::ElecVars::mvaInSigmaEtaEta
float mvaInSigmaEtaEta
Definition: AntiElectronIDMVA6.h:87
antiElecIDMVA6_blocks::ElecVars::hgcalSigmaUU
float hgcalSigmaUU
Definition: AntiElectronIDMVA6.h:97
AntiElectronIDMVA6::energyWeightedEtaAndPhiAtECal
bool energyWeightedEtaAndPhiAtECal(const pat::Tau &theTau, float &eta, float &phi)
Definition: AntiElectronIDMVA6.cc:1329
AntiElectronIDMVA6::mvaToken_NoEleMatch_wGwoGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:191
GBRForest.h
antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsOut
int signalPFGammaCandsOut
Definition: AntiElectronIDMVA6.h:64
Tau.h
antiElecIDMVA6_blocks::ElecVars::hgcalNLayers
float hgcalNLayers
Definition: AntiElectronIDMVA6.h:101
PositionAtECalEntranceComputer
Definition: PositionAtECalEntranceComputer.h:25
antiElecIDMVA6_blocks::TauVars::emFraction
float emFraction
Definition: AntiElectronIDMVA6.h:46
AntiElectronIDMVA6::mvaToken_NoEleMatch_woGwoGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:190
antiElecIDMVA6_blocks::ElecVars::sigmaIEtaIEta5x5
float sigmaIEtaIEta5x5
Definition: AntiElectronIDMVA6.h:93
antiElecIDMVA6_blocks::ElecVars::eta
float eta
Definition: AntiElectronIDMVA6.h:73
edm::Ref
Definition: AssociativeIterator.h:58
AntiElectronIDMVA6::mvaValuePhase2
double mvaValuePhase2(const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaMoms &tauGammaMoms, const antiElecIDMVA6_blocks::ElecVars &elecVars)
Definition: AntiElectronIDMVA6.cc:496
antiElecIDMVA6_blocks::TauVars::phi
float phi
Definition: AntiElectronIDMVA6.h:43
antiElecIDMVA6_blocks
Definition: AntiElectronIDMVA6.h:39
AntiElectronIDMVA6::var_woGwGSF_Barrel_
std::vector< float > var_woGwGSF_Barrel_
Definition: AntiElectronIDMVA6.h:199
AntiElectronIDMVA6::mvaToken_NoEleMatch_woGwoGSF_EC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:186
antiElecIDMVA6_blocks::ElecVars::chi2NormKF
float chi2NormKF
Definition: AntiElectronIDMVA6.h:77
edm::FileInPath
Definition: FileInPath.h:61
AntiElectronIDMVA6::mvaToken_NoEleMatch_wGwoGSF_BL_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:183
antiElecIDMVA6_blocks::ElecVars::showerCircularity
float showerCircularity
Definition: AntiElectronIDMVA6.h:95
antiElecIDMVA6_blocks::ElecVars::mvaInHadEnergy
float mvaInHadEnergy
Definition: AntiElectronIDMVA6.h:88
antiElecIDMVA6_blocks::ElecVars::superClusterEtaWidth
float superClusterEtaWidth
Definition: AntiElectronIDMVA6.h:91
antiElecIDMVA6_blocks::TauVars
Definition: AntiElectronIDMVA6.h:40
antiElecIDMVA6_blocks::ElecVars::hgcalExpectedDepth
float hgcalExpectedDepth
Definition: AntiElectronIDMVA6.h:109
Track.h
TrackFwd.h
AntiElectronIDMVA6::inputFilesToDelete_
std::vector< TFile * > inputFilesToDelete_
Definition: AntiElectronIDMVA6.h:223
PVValHelper::eta
Definition: PVValidationHelpers.h:70
AntiElectronIDMVA6::dCrackPhi
double dCrackPhi(double phi, double eta)
Definition: AntiElectronIDMVA6.cc:1031
AntiElectronIDMVA6::var_NoEleMatch_wGwoGSF_Endcap_
std::vector< float > var_NoEleMatch_wGwoGSF_Endcap_
Definition: AntiElectronIDMVA6.h:202
AntiElectronIDMVA6::var_NoEleMatch_woGwoGSF_VFEndcap_
std::vector< float > var_NoEleMatch_woGwoGSF_VFEndcap_
Definition: AntiElectronIDMVA6.h:205
AntiElectronIDMVA6::mvaToken_NoEleMatch_woGwoGSF_BL_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_woGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:182
antiElecIDMVA6_blocks::TauGammaMoms
Definition: AntiElectronIDMVA6.h:62
AntiElectronIDMVA6::mva_NoEleMatch_woGwoGSF_EC_
const GBRForest * mva_NoEleMatch_woGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:214
AntiElectronIDMVA6::var_woGwGSF_Endcap_
std::vector< float > var_woGwGSF_Endcap_
Definition: AntiElectronIDMVA6.h:203
AntiElectronIDMVA6::mva_wGwGSF_BL_
const GBRForest * mva_wGwGSF_BL_
Definition: AntiElectronIDMVA6.h:213
antiElecIDMVA6_blocks::ElecVars::gsfTrackResol
float gsfTrackResol
Definition: AntiElectronIDMVA6.h:80
AntiElectronIDMVA6::mva_NoEleMatch_woGwoGSF_BL_
const GBRForest * mva_NoEleMatch_woGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:210
antiElecIDMVA6_blocks::TauVars::leadPFChargedHadrHoP
float leadPFChargedHadrHoP
Definition: AntiElectronIDMVA6.h:47
antiElecIDMVA6_blocks::TauGammaVecs::gammasdPhiInSigCone
std::vector< float > gammasdPhiInSigCone
Definition: AntiElectronIDMVA6.h:56
b
double b
Definition: hdecay.h:118
antiElecIDMVA6_blocks::ElecVars::hgcalDepthCompatibility
float hgcalDepthCompatibility
Definition: AntiElectronIDMVA6.h:111
antiElecIDMVA6_blocks::ElecVars::hgcalEcEnergyFH
float hgcalEcEnergyFH
Definition: AntiElectronIDMVA6.h:107
AntiElectronIDMVA6::mva_NoEleMatch_wGwoGSF_EC_
const GBRForest * mva_NoEleMatch_wGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:215
antiElecIDMVA6_blocks::TauGammaVecs::gammasdEtaOutSigCone
std::vector< float > gammasdEtaOutSigCone
Definition: AntiElectronIDMVA6.h:58
AntiElectronIDMVA6::mvaName_NoEleMatch_wGwoGSF_BL_
std::string mvaName_NoEleMatch_wGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:170
AntiElectronIDMVA6::mvaName_woGwGSF_VFEC_
std::string mvaName_woGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:179
antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac10
float hgcalLayerEfrac10
Definition: AntiElectronIDMVA6.h:104
FileInPath.h
AntiElectronIDMVA6::AntiElectronIDMVA6
AntiElectronIDMVA6(const edm::ParameterSet &, edm::ConsumesCollector &&)
Definition: AntiElectronIDMVA6.cc:36
AntiElectronIDMVA6::usePhiAtEcalEntranceExtrapolation_
bool usePhiAtEcalEntranceExtrapolation_
Definition: AntiElectronIDMVA6.h:195
antiElecIDMVA6_blocks::TauVars::leadChargedPFCandEtaAtEcalEntrance
float leadChargedPFCandEtaAtEcalEntrance
Definition: AntiElectronIDMVA6.h:45
antiElecIDMVA6_blocks::ElecVars::hgcalExpectedSigma
float hgcalExpectedSigma
Definition: AntiElectronIDMVA6.h:110
AntiElectronIDMVA6::var_NoEleMatch_wGwoGSF_Barrel_
std::vector< float > var_NoEleMatch_wGwoGSF_Barrel_
Definition: AntiElectronIDMVA6.h:198
edm::ParameterSet
Definition: ParameterSet.h:47
antiElecIDMVA6_blocks::TauGammaMoms::gammaEnFracOut
float gammaEnFracOut
Definition: AntiElectronIDMVA6.h:70
a
double a
Definition: hdecay.h:119
AntiElectronIDMVA6::inputFileName_
edm::FileInPath inputFileName_
Definition: AntiElectronIDMVA6.h:167
Event.h
deltaR.h
antiElecIDMVA6_blocks::TauVars::visMassIn
float visMassIn
Definition: AntiElectronIDMVA6.h:49
antiElecIDMVA6_blocks::TauGammaVecs::gammasPtOutSigCone
std::vector< float > gammasPtOutSigCone
Definition: AntiElectronIDMVA6.h:60
antiElecIDMVA6_blocks::TauGammaMoms::gammaEtaMomOut
float gammaEtaMomOut
Definition: AntiElectronIDMVA6.h:66
antiElecIDMVA6_blocks::ElecVars::gsfNumHits
float gsfNumHits
Definition: AntiElectronIDMVA6.h:78
PackedCandidate.h
AntiElectronIDMVA6::var_wGwGSF_Barrel_
std::vector< float > var_wGwGSF_Barrel_
Definition: AntiElectronIDMVA6.h:200
antiElecIDMVA6_blocks::TauGammaVecs
Definition: AntiElectronIDMVA6.h:54
AntiElectronIDMVA6::mva_woGwGSF_EC_
const GBRForest * mva_woGwGSF_EC_
Definition: AntiElectronIDMVA6.h:216
GsfTrack.h
antiElecIDMVA6_blocks::ElecVars::superClusterPhiWidth
float superClusterPhiWidth
Definition: AntiElectronIDMVA6.h:92
AntiElectronIDMVA6::getTauVars
antiElecIDMVA6_blocks::TauVars getTauVars(const TauType &theTau)
Definition: AntiElectronIDMVA6.cc:851
antiElecIDMVA6_blocks::ElecVars::hgcalLayerEfrac90
float hgcalLayerEfrac90
Definition: AntiElectronIDMVA6.h:105
edm::EventSetup
Definition: EventSetup.h:58
AntiElectronIDMVA6::var_wGwGSF_VFEndcap_
std::vector< float > var_wGwGSF_VFEndcap_
Definition: AntiElectronIDMVA6.h:208
AntiElectronIDMVA6::getElecVars
antiElecIDMVA6_blocks::ElecVars getElecVars(const ElectronRef &theEleRef)
Definition: AntiElectronIDMVA6.cc:924
AntiElectronIDMVA6::mvaToken_NoEleMatch_wGwoGSF_EC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_NoEleMatch_wGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:187
edm::ESGetToken< GBRForest, GBRWrapperRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AntiElectronIDMVA6::mvaName_woGwGSF_BL_
std::string mvaName_woGwGSF_BL_
Definition: AntiElectronIDMVA6.h:171
AntiElectronIDMVA6::mvaName_NoEleMatch_woGwoGSF_VFEC_
std::string mvaName_NoEleMatch_woGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:177
antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomIn
float gammaPhiMomIn
Definition: AntiElectronIDMVA6.h:67
antiElecIDMVA6_blocks::ElecVars::r9
float r9
Definition: AntiElectronIDMVA6.h:96
AntiElectronIDMVA6::loadMVAfromDB_
bool loadMVAfromDB_
Definition: AntiElectronIDMVA6.h:166
DDAxes::phi
AntiElectronIDMVA6::mvaToken_woGwGSF_BL_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_BL_
Definition: AntiElectronIDMVA6.h:184
AntiElectronIDMVA6::ElectronRef
edm::Ref< ElectronCollection > ElectronRef
Definition: AntiElectronIDMVA6.h:119
AntiElectronIDMVA6::mvaName_woGwGSF_EC_
std::string mvaName_woGwGSF_EC_
Definition: AntiElectronIDMVA6.h:175
AntiElectronIDMVA6::isPhase2_
const bool isPhase2_
Definition: AntiElectronIDMVA6.h:225
AntiElectronIDMVA6::mvaToken_wGwGSF_BL_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_BL_
Definition: AntiElectronIDMVA6.h:185
GsfTrackFwd.h
AntiElectronIDMVA6::isInitialized_
bool isInitialized_
Definition: AntiElectronIDMVA6.h:165
AntiElectronIDMVA6::mvaName_wGwGSF_VFEC_
std::string mvaName_wGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:180
antiElecIDMVA6_blocks::ElecVars::pOut
float pOut
Definition: AntiElectronIDMVA6.h:83
AntiElectronIDMVA6::ecalEndcapVFEndcapEtaBorder_
static constexpr float ecalEndcapVFEndcapEtaBorder_
Definition: AntiElectronIDMVA6.h:163
antiElecIDMVA6_blocks::ElecVars
Definition: AntiElectronIDMVA6.h:72
AntiElectronIDMVA6::mva_NoEleMatch_woGwoGSF_VFEC_
const GBRForest * mva_NoEleMatch_woGwoGSF_VFEC_
Definition: AntiElectronIDMVA6.h:218
PFTau.h
GBRWrapperRcd
Definition: GBRWrapperRcd.h:24
EventSetup.h
AntiElectronIDMVA6::mvaToken_woGwGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_woGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:192
AntiElectronIDMVA6::verbosity_
const int verbosity_
Definition: AntiElectronIDMVA6.h:232
antiElecIDMVA6_blocks::TauVars::etaAtEcalEntrance
float etaAtEcalEntrance
Definition: AntiElectronIDMVA6.h:42
AntiElectronIDMVA6::mva_NoEleMatch_wGwoGSF_BL_
const GBRForest * mva_NoEleMatch_wGwoGSF_BL_
Definition: AntiElectronIDMVA6.h:211
AntiElectronIDMVA6::minimum
double minimum(double a, double b)
Definition: AntiElectronIDMVA6.cc:1005
antiElecIDMVA6_blocks::TauGammaVecs::gammasPtInSigCone
std::vector< float > gammasPtInSigCone
Definition: AntiElectronIDMVA6.h:57
antiElecIDMVA6_blocks::TauVars::dCrackPhi
float dCrackPhi
Definition: AntiElectronIDMVA6.h:51
Electron.h
antiElecIDMVA6_blocks::ElecVars::hgcalSigmaEE
float hgcalSigmaEE
Definition: AntiElectronIDMVA6.h:99
AntiElectronIDMVA6::beginEvent
void beginEvent(const edm::Event &, const edm::EventSetup &)
Definition: AntiElectronIDMVA6.cc:166
AntiElectronIDMVA6::mvaName_NoEleMatch_wGwoGSF_EC_
std::string mvaName_NoEleMatch_wGwoGSF_EC_
Definition: AntiElectronIDMVA6.h:174
antiElecIDMVA6_blocks::ElecVars::hgcalSigmaPP
float hgcalSigmaPP
Definition: AntiElectronIDMVA6.h:100
antiElecIDMVA6_blocks::ElecVars::gsfTracklnPt
float gsfTracklnPt
Definition: AntiElectronIDMVA6.h:81
AntiElectronIDMVA6::mvaValue
double mvaValue(const antiElecIDMVA6_blocks::TauVars &tauVars, const antiElecIDMVA6_blocks::TauGammaVecs &tauGammaVecs, const antiElecIDMVA6_blocks::ElecVars &elecVars)
Definition: AntiElectronIDMVA6.cc:217
ConsumesCollector.h
AntiElectronIDMVA6::mva_wGwGSF_EC_
const GBRForest * mva_wGwGSF_EC_
Definition: AntiElectronIDMVA6.h:217
AntiElectronIDMVA6::mva_wGwGSF_VFEC_
const GBRForest * mva_wGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:221
ParameterSet.h
antiElecIDMVA6_blocks::ElecVars::eTotOverPin
float eTotOverPin
Definition: AntiElectronIDMVA6.h:75
AntiElectronIDMVA6::~AntiElectronIDMVA6
~AntiElectronIDMVA6()
Definition: AntiElectronIDMVA6.cc:130
antiElecIDMVA6_blocks::TauGammaMoms::signalPFGammaCandsIn
int signalPFGammaCandsIn
Definition: AntiElectronIDMVA6.h:63
edm::Event
Definition: Event.h:73
antiElecIDMVA6_blocks::TauVars::leadChargedPFCandPt
float leadChargedPFCandPt
Definition: AntiElectronIDMVA6.h:44
antiElecIDMVA6_blocks::ElecVars::deltaPhi
float deltaPhi
Definition: AntiElectronIDMVA6.h:86
AntiElectronIDMVA6::getTauVarsTypeSpecific
antiElecIDMVA6_blocks::TauVars getTauVarsTypeSpecific(const reco::PFTau &theTau)
Definition: AntiElectronIDMVA6.cc:1152
AntiElectronIDMVA6::mva_woGwGSF_BL_
const GBRForest * mva_woGwGSF_BL_
Definition: AntiElectronIDMVA6.h:212
PositionAtECalEntranceComputer.h
AntiElectronIDMVA6::mvaName_wGwGSF_BL_
std::string mvaName_wGwGSF_BL_
Definition: AntiElectronIDMVA6.h:172
AntiElectronIDMVA6::dCrackEta
double dCrackEta(double eta)
Definition: AntiElectronIDMVA6.cc:1082
AntiElectronIDMVA6::var_NoEleMatch_woGwoGSF_Barrel_
std::vector< float > var_NoEleMatch_woGwoGSF_Barrel_
Definition: AntiElectronIDMVA6.h:197
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
antiElecIDMVA6_blocks::TauGammaMoms::gammaPhiMomOut
float gammaPhiMomOut
Definition: AntiElectronIDMVA6.h:68
antiElecIDMVA6_blocks::ElecVars::hgcalLastLayer
float hgcalLastLayer
Definition: AntiElectronIDMVA6.h:103
AntiElectronIDMVA6::mvaToken_wGwGSF_VFEC_
edm::ESGetToken< GBRForest, GBRWrapperRcd > mvaToken_wGwGSF_VFEC_
Definition: AntiElectronIDMVA6.h:193