CMS 3D CMS Logo

Classes | Namespaces | Enumerations | Variables
DeepTauIdBase.h File Reference
#include "DataFormats/PatCandidates/interface/Electron.h"
#include "DataFormats/PatCandidates/interface/Muon.h"
#include "DataFormats/PatCandidates/interface/Tau.h"
#include "DataFormats/TauReco/interface/TauDiscriminatorContainer.h"
#include "DataFormats/TauReco/interface/PFTauDiscriminator.h"
#include "DataFormats/PatCandidates/interface/PATTauDiscriminator.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/Common/interface/RefToBase.h"
#include "DataFormats/Provenance/interface/ProductProvenance.h"
#include "DataFormats/Provenance/interface/ProcessHistoryID.h"
#include "FWCore/Common/interface/Provenance.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "RecoTauTag/RecoTau/interface/PFRecoTauClusterVariables.h"
#include "RecoTauTag/RecoTau/interface/DeepTauScaling.h"
#include "RecoTauTag/RecoTau/interface/TauWPThreshold.h"
#include "DataFormats/TauReco/interface/PFTauTransverseImpactParameterAssociation.h"
#include "CommonTools/Utils/interface/StringObjectFunction.h"
#include "PhysicsTools/TensorFlow/interface/TensorFlow.h"
#include "tensorflow/core/util/memmapped_file_system.h"
#include <Math/VectorUtil.h>
#include <map>
#include <fstream>
#include "oneapi/tbb/concurrent_unordered_set.h"

Go to the source code of this file.

Classes

class  DeepTauIdBase< Producer >
 
struct  DeepTauIdBase< Producer >::IDOutput
 
struct  DeepTauIdBase< Producer >::TauDiscInfo< ConsumeType >
 

Namespaces

 candFunc
 
 deep_tau
 
 dnn_inputs_v2
 
 dnn_inputs_v2::EgammaBlockInputs
 
 dnn_inputs_v2::HadronBlockInputs
 
 dnn_inputs_v2::MuonBlockInputs
 
 dnn_inputs_v2::TauBlockInputs
 

Enumerations

enum  deep_tau::BasicDiscriminator {
  deep_tau::ChargedIsoPtSum, deep_tau::NeutralIsoPtSum, deep_tau::NeutralIsoPtSumWeight, deep_tau::FootprintCorrection,
  deep_tau::PhotonPtSumOutsideSignalCone, deep_tau::PUcorrPtSum
}
 
enum  CellObjectType
 
enum  vars
 
enum  vars
 
enum  vars
 
enum  vars
 

Variables

constexpr int deep_tau::NumberOfOutputs = 4
 

Enumeration Type Documentation

◆ CellObjectType

enum CellObjectType
strong

Definition at line 723 of file DeepTauIdBase.h.

◆ vars [1/4]

enum vars

Definition at line 60 of file DeepTauIdBase.h.

60  {
61  rho = 0,
62  tau_pt,
63  tau_eta,
64  tau_phi,
65  tau_mass,
66  tau_E_over_pt,
67  tau_charge,
68  tau_n_charged_prongs,
69  tau_n_neutral_prongs,
70  chargedIsoPtSum,
71  chargedIsoPtSumdR03_over_dR05,
72  footprintCorrection,
73  neutralIsoPtSum,
74  neutralIsoPtSumWeight_over_neutralIsoPtSum,
75  neutralIsoPtSumWeightdR03_over_neutralIsoPtSum,
76  neutralIsoPtSumdR03_over_dR05,
77  photonPtSumOutsideSignalCone,
78  puCorrPtSum,
79  tau_dxy_pca_x,
80  tau_dxy_pca_y,
81  tau_dxy_pca_z,
82  tau_dxy_valid,
83  tau_dxy,
84  tau_dxy_sig,
85  tau_ip3d_valid,
86  tau_ip3d,
87  tau_ip3d_sig,
88  tau_dz,
89  tau_dz_sig_valid,
90  tau_dz_sig,
91  tau_flightLength_x,
92  tau_flightLength_y,
93  tau_flightLength_z,
94  tau_flightLength_sig,
95  tau_pt_weighted_deta_strip,
96  tau_pt_weighted_dphi_strip,
97  tau_pt_weighted_dr_signal,
98  tau_pt_weighted_dr_iso,
99  tau_leadingTrackNormChi2,
100  tau_e_ratio_valid,
101  tau_e_ratio,
102  tau_gj_angle_diff_valid,
103  tau_gj_angle_diff,
104  tau_n_photons,
105  tau_emFraction,
106  tau_inside_ecal_crack,
107  leadChargedCand_etaAtEcalEntrance_minus_tau_eta,
108  NumberOfInputs
109  };

◆ vars [2/4]

enum vars

Definition at line 115 of file DeepTauIdBase.h.

115  {
116  rho = 0,
117  tau_pt,
118  tau_eta,
119  tau_inside_ecal_crack,
120  pfCand_ele_valid,
121  pfCand_ele_rel_pt,
122  pfCand_ele_deta,
123  pfCand_ele_dphi,
124  pfCand_ele_pvAssociationQuality,
125  pfCand_ele_puppiWeight,
126  pfCand_ele_charge,
127  pfCand_ele_lostInnerHits,
128  pfCand_ele_numberOfPixelHits,
129  pfCand_ele_vertex_dx,
130  pfCand_ele_vertex_dy,
131  pfCand_ele_vertex_dz,
132  pfCand_ele_vertex_dx_tauFL,
133  pfCand_ele_vertex_dy_tauFL,
134  pfCand_ele_vertex_dz_tauFL,
135  pfCand_ele_hasTrackDetails,
136  pfCand_ele_dxy,
137  pfCand_ele_dxy_sig,
138  pfCand_ele_dz,
139  pfCand_ele_dz_sig,
140  pfCand_ele_track_chi2_ndof,
141  pfCand_ele_track_ndof,
142  ele_valid,
143  ele_rel_pt,
144  ele_deta,
145  ele_dphi,
146  ele_cc_valid,
147  ele_cc_ele_rel_energy,
148  ele_cc_gamma_rel_energy,
149  ele_cc_n_gamma,
150  ele_rel_trackMomentumAtVtx,
151  ele_rel_trackMomentumAtCalo,
152  ele_rel_trackMomentumOut,
153  ele_rel_trackMomentumAtEleClus,
154  ele_rel_trackMomentumAtVtxWithConstraint,
155  ele_rel_ecalEnergy,
156  ele_ecalEnergy_sig,
157  ele_eSuperClusterOverP,
158  ele_eSeedClusterOverP,
159  ele_eSeedClusterOverPout,
160  ele_eEleClusterOverPout,
161  ele_deltaEtaSuperClusterTrackAtVtx,
162  ele_deltaEtaSeedClusterTrackAtCalo,
163  ele_deltaEtaEleClusterTrackAtCalo,
164  ele_deltaPhiEleClusterTrackAtCalo,
165  ele_deltaPhiSuperClusterTrackAtVtx,
166  ele_deltaPhiSeedClusterTrackAtCalo,
167  ele_mvaInput_earlyBrem,
168  ele_mvaInput_lateBrem,
169  ele_mvaInput_sigmaEtaEta,
170  ele_mvaInput_hadEnergy,
171  ele_mvaInput_deltaEta,
172  ele_gsfTrack_normalizedChi2,
173  ele_gsfTrack_numberOfValidHits,
174  ele_rel_gsfTrack_pt,
175  ele_gsfTrack_pt_sig,
176  ele_has_closestCtfTrack,
177  ele_closestCtfTrack_normalizedChi2,
178  ele_closestCtfTrack_numberOfValidHits,
179  pfCand_gamma_valid,
180  pfCand_gamma_rel_pt,
181  pfCand_gamma_deta,
182  pfCand_gamma_dphi,
183  pfCand_gamma_pvAssociationQuality,
184  pfCand_gamma_fromPV,
185  pfCand_gamma_puppiWeight,
186  pfCand_gamma_puppiWeightNoLep,
187  pfCand_gamma_lostInnerHits,
188  pfCand_gamma_numberOfPixelHits,
189  pfCand_gamma_vertex_dx,
190  pfCand_gamma_vertex_dy,
191  pfCand_gamma_vertex_dz,
192  pfCand_gamma_vertex_dx_tauFL,
193  pfCand_gamma_vertex_dy_tauFL,
194  pfCand_gamma_vertex_dz_tauFL,
195  pfCand_gamma_hasTrackDetails,
196  pfCand_gamma_dxy,
197  pfCand_gamma_dxy_sig,
198  pfCand_gamma_dz,
199  pfCand_gamma_dz_sig,
200  pfCand_gamma_track_chi2_ndof,
201  pfCand_gamma_track_ndof,
202  NumberOfInputs
203  };

◆ vars [3/4]

enum vars

Definition at line 207 of file DeepTauIdBase.h.

207  {
208  rho = 0,
209  tau_pt,
210  tau_eta,
211  tau_inside_ecal_crack,
212  pfCand_muon_valid,
213  pfCand_muon_rel_pt,
214  pfCand_muon_deta,
215  pfCand_muon_dphi,
216  pfCand_muon_pvAssociationQuality,
217  pfCand_muon_fromPV,
218  pfCand_muon_puppiWeight,
219  pfCand_muon_charge,
220  pfCand_muon_lostInnerHits,
221  pfCand_muon_numberOfPixelHits,
222  pfCand_muon_vertex_dx,
223  pfCand_muon_vertex_dy,
224  pfCand_muon_vertex_dz,
225  pfCand_muon_vertex_dx_tauFL,
226  pfCand_muon_vertex_dy_tauFL,
227  pfCand_muon_vertex_dz_tauFL,
228  pfCand_muon_hasTrackDetails,
229  pfCand_muon_dxy,
230  pfCand_muon_dxy_sig,
231  pfCand_muon_dz,
232  pfCand_muon_dz_sig,
233  pfCand_muon_track_chi2_ndof,
234  pfCand_muon_track_ndof,
235  muon_valid,
236  muon_rel_pt,
237  muon_deta,
238  muon_dphi,
239  muon_dxy,
240  muon_dxy_sig,
241  muon_normalizedChi2_valid,
242  muon_normalizedChi2,
243  muon_numberOfValidHits,
244  muon_segmentCompatibility,
245  muon_caloCompatibility,
246  muon_pfEcalEnergy_valid,
247  muon_rel_pfEcalEnergy,
248  muon_n_matches_DT_1,
249  muon_n_matches_DT_2,
250  muon_n_matches_DT_3,
251  muon_n_matches_DT_4,
252  muon_n_matches_CSC_1,
253  muon_n_matches_CSC_2,
254  muon_n_matches_CSC_3,
255  muon_n_matches_CSC_4,
256  muon_n_matches_RPC_1,
257  muon_n_matches_RPC_2,
258  muon_n_matches_RPC_3,
259  muon_n_matches_RPC_4,
260  muon_n_hits_DT_1,
261  muon_n_hits_DT_2,
262  muon_n_hits_DT_3,
263  muon_n_hits_DT_4,
264  muon_n_hits_CSC_1,
265  muon_n_hits_CSC_2,
266  muon_n_hits_CSC_3,
267  muon_n_hits_CSC_4,
268  muon_n_hits_RPC_1,
269  muon_n_hits_RPC_2,
270  muon_n_hits_RPC_3,
271  muon_n_hits_RPC_4,
272  NumberOfInputs
273  };

◆ vars [4/4]

enum vars

Definition at line 277 of file DeepTauIdBase.h.

277  {
278  rho = 0,
279  tau_pt,
280  tau_eta,
281  tau_inside_ecal_crack,
282  pfCand_chHad_valid,
283  pfCand_chHad_rel_pt,
284  pfCand_chHad_deta,
285  pfCand_chHad_dphi,
286  pfCand_chHad_leadChargedHadrCand,
287  pfCand_chHad_pvAssociationQuality,
288  pfCand_chHad_fromPV,
289  pfCand_chHad_puppiWeight,
290  pfCand_chHad_puppiWeightNoLep,
291  pfCand_chHad_charge,
292  pfCand_chHad_lostInnerHits,
293  pfCand_chHad_numberOfPixelHits,
294  pfCand_chHad_vertex_dx,
295  pfCand_chHad_vertex_dy,
296  pfCand_chHad_vertex_dz,
297  pfCand_chHad_vertex_dx_tauFL,
298  pfCand_chHad_vertex_dy_tauFL,
299  pfCand_chHad_vertex_dz_tauFL,
300  pfCand_chHad_hasTrackDetails,
301  pfCand_chHad_dxy,
302  pfCand_chHad_dxy_sig,
303  pfCand_chHad_dz,
304  pfCand_chHad_dz_sig,
305  pfCand_chHad_track_chi2_ndof,
306  pfCand_chHad_track_ndof,
307  pfCand_chHad_hcalFraction,
308  pfCand_chHad_rawCaloFraction,
309  pfCand_nHad_valid,
310  pfCand_nHad_rel_pt,
311  pfCand_nHad_deta,
312  pfCand_nHad_dphi,
313  pfCand_nHad_puppiWeight,
314  pfCand_nHad_puppiWeightNoLep,
315  pfCand_nHad_hcalFraction,
316  NumberOfInputs
317  };