CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
DeepTauId.cc File Reference
#include "RecoTauTag/RecoTau/interface/DeepTauBase.h"
#include "FWCore/Utilities/interface/isFinite.h"
#include "DataFormats/TauReco/interface/PFTauTransverseImpactParameterAssociation.h"
#include <fstream>
#include "tbb/concurrent_unordered_set.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Classes

class  DeepTauId
 

Namespaces

 candFunc
 
 deep_tau
 
 dnn_inputs_2017_v2
 
 dnn_inputs_2017_v2::EgammaBlockInputs
 
 dnn_inputs_2017_v2::HadronBlockInputs
 
 dnn_inputs_2017_v2::MuonBlockInputs
 
 dnn_inputs_2017_v2::TauBlockInputs
 

Typedefs

using bd = deep_tau::DeepTauBase::BasicDiscriminator
 

Enumerations

enum  CellObjectType
 
enum  vars
 
enum  vars
 
enum  vars
 
enum  vars
 

Functions

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< DeepTauId > > s_filler__LINE__ ("DeepTauId")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DeepTauId > > s_maker__LINE__ ("DeepTauId")
 

Variables

constexpr int deep_tau::NumberOfOutputs = 4
 

Typedef Documentation

◆ bd

Definition at line 1081 of file DeepTauId.cc.

Enumeration Type Documentation

◆ CellObjectType

enum CellObjectType
strong

Definition at line 963 of file DeepTauId.cc.

963  {
964  PfCand_electron,
965  PfCand_muon,
966  PfCand_chargedHadron,
967  PfCand_neutralHadron,
968  PfCand_gamma,
969  Electron,
970  Muon,
971  Other
972  };

◆ vars [1/4]

enum vars

Definition at line 163 of file DeepTauId.cc.

163  {
164  rho = 0,
165  tau_pt,
166  tau_eta,
167  tau_phi,
168  tau_mass,
169  tau_E_over_pt,
170  tau_charge,
171  tau_n_charged_prongs,
172  tau_n_neutral_prongs,
173  chargedIsoPtSum,
174  chargedIsoPtSumdR03_over_dR05,
175  footprintCorrection,
176  neutralIsoPtSum,
177  neutralIsoPtSumWeight_over_neutralIsoPtSum,
178  neutralIsoPtSumWeightdR03_over_neutralIsoPtSum,
179  neutralIsoPtSumdR03_over_dR05,
180  photonPtSumOutsideSignalCone,
181  puCorrPtSum,
182  tau_dxy_pca_x,
183  tau_dxy_pca_y,
184  tau_dxy_pca_z,
185  tau_dxy_valid,
186  tau_dxy,
187  tau_dxy_sig,
188  tau_ip3d_valid,
189  tau_ip3d,
190  tau_ip3d_sig,
191  tau_dz,
192  tau_dz_sig_valid,
193  tau_dz_sig,
194  tau_flightLength_x,
195  tau_flightLength_y,
196  tau_flightLength_z,
197  tau_flightLength_sig,
198  tau_pt_weighted_deta_strip,
199  tau_pt_weighted_dphi_strip,
200  tau_pt_weighted_dr_signal,
201  tau_pt_weighted_dr_iso,
202  tau_leadingTrackNormChi2,
203  tau_e_ratio_valid,
204  tau_e_ratio,
205  tau_gj_angle_diff_valid,
206  tau_gj_angle_diff,
207  tau_n_photons,
208  tau_emFraction,
209  tau_inside_ecal_crack,
210  leadChargedCand_etaAtEcalEntrance_minus_tau_eta,
211  NumberOfInputs
212  };

◆ vars [2/4]

enum vars

Definition at line 216 of file DeepTauId.cc.

216  {
217  rho = 0,
218  tau_pt,
219  tau_eta,
220  tau_inside_ecal_crack,
221  pfCand_ele_valid,
222  pfCand_ele_rel_pt,
223  pfCand_ele_deta,
224  pfCand_ele_dphi,
225  pfCand_ele_pvAssociationQuality,
226  pfCand_ele_puppiWeight,
227  pfCand_ele_charge,
228  pfCand_ele_lostInnerHits,
229  pfCand_ele_numberOfPixelHits,
230  pfCand_ele_vertex_dx,
231  pfCand_ele_vertex_dy,
232  pfCand_ele_vertex_dz,
233  pfCand_ele_vertex_dx_tauFL,
234  pfCand_ele_vertex_dy_tauFL,
235  pfCand_ele_vertex_dz_tauFL,
236  pfCand_ele_hasTrackDetails,
237  pfCand_ele_dxy,
238  pfCand_ele_dxy_sig,
239  pfCand_ele_dz,
240  pfCand_ele_dz_sig,
241  pfCand_ele_track_chi2_ndof,
242  pfCand_ele_track_ndof,
243  ele_valid,
244  ele_rel_pt,
245  ele_deta,
246  ele_dphi,
247  ele_cc_valid,
248  ele_cc_ele_rel_energy,
249  ele_cc_gamma_rel_energy,
250  ele_cc_n_gamma,
251  ele_rel_trackMomentumAtVtx,
252  ele_rel_trackMomentumAtCalo,
253  ele_rel_trackMomentumOut,
254  ele_rel_trackMomentumAtEleClus,
255  ele_rel_trackMomentumAtVtxWithConstraint,
256  ele_rel_ecalEnergy,
257  ele_ecalEnergy_sig,
258  ele_eSuperClusterOverP,
259  ele_eSeedClusterOverP,
260  ele_eSeedClusterOverPout,
261  ele_eEleClusterOverPout,
262  ele_deltaEtaSuperClusterTrackAtVtx,
263  ele_deltaEtaSeedClusterTrackAtCalo,
264  ele_deltaEtaEleClusterTrackAtCalo,
265  ele_deltaPhiEleClusterTrackAtCalo,
266  ele_deltaPhiSuperClusterTrackAtVtx,
267  ele_deltaPhiSeedClusterTrackAtCalo,
268  ele_mvaInput_earlyBrem,
269  ele_mvaInput_lateBrem,
270  ele_mvaInput_sigmaEtaEta,
271  ele_mvaInput_hadEnergy,
272  ele_mvaInput_deltaEta,
273  ele_gsfTrack_normalizedChi2,
274  ele_gsfTrack_numberOfValidHits,
275  ele_rel_gsfTrack_pt,
276  ele_gsfTrack_pt_sig,
277  ele_has_closestCtfTrack,
278  ele_closestCtfTrack_normalizedChi2,
279  ele_closestCtfTrack_numberOfValidHits,
280  pfCand_gamma_valid,
281  pfCand_gamma_rel_pt,
282  pfCand_gamma_deta,
283  pfCand_gamma_dphi,
284  pfCand_gamma_pvAssociationQuality,
285  pfCand_gamma_fromPV,
286  pfCand_gamma_puppiWeight,
287  pfCand_gamma_puppiWeightNoLep,
288  pfCand_gamma_lostInnerHits,
289  pfCand_gamma_numberOfPixelHits,
290  pfCand_gamma_vertex_dx,
291  pfCand_gamma_vertex_dy,
292  pfCand_gamma_vertex_dz,
293  pfCand_gamma_vertex_dx_tauFL,
294  pfCand_gamma_vertex_dy_tauFL,
295  pfCand_gamma_vertex_dz_tauFL,
296  pfCand_gamma_hasTrackDetails,
297  pfCand_gamma_dxy,
298  pfCand_gamma_dxy_sig,
299  pfCand_gamma_dz,
300  pfCand_gamma_dz_sig,
301  pfCand_gamma_track_chi2_ndof,
302  pfCand_gamma_track_ndof,
303  NumberOfInputs
304  };

◆ vars [3/4]

enum vars

Definition at line 308 of file DeepTauId.cc.

308  {
309  rho = 0,
310  tau_pt,
311  tau_eta,
312  tau_inside_ecal_crack,
313  pfCand_muon_valid,
314  pfCand_muon_rel_pt,
315  pfCand_muon_deta,
316  pfCand_muon_dphi,
317  pfCand_muon_pvAssociationQuality,
318  pfCand_muon_fromPV,
319  pfCand_muon_puppiWeight,
320  pfCand_muon_charge,
321  pfCand_muon_lostInnerHits,
322  pfCand_muon_numberOfPixelHits,
323  pfCand_muon_vertex_dx,
324  pfCand_muon_vertex_dy,
325  pfCand_muon_vertex_dz,
326  pfCand_muon_vertex_dx_tauFL,
327  pfCand_muon_vertex_dy_tauFL,
328  pfCand_muon_vertex_dz_tauFL,
329  pfCand_muon_hasTrackDetails,
330  pfCand_muon_dxy,
331  pfCand_muon_dxy_sig,
332  pfCand_muon_dz,
333  pfCand_muon_dz_sig,
334  pfCand_muon_track_chi2_ndof,
335  pfCand_muon_track_ndof,
336  muon_valid,
337  muon_rel_pt,
338  muon_deta,
339  muon_dphi,
340  muon_dxy,
341  muon_dxy_sig,
342  muon_normalizedChi2_valid,
343  muon_normalizedChi2,
344  muon_numberOfValidHits,
345  muon_segmentCompatibility,
346  muon_caloCompatibility,
347  muon_pfEcalEnergy_valid,
348  muon_rel_pfEcalEnergy,
349  muon_n_matches_DT_1,
350  muon_n_matches_DT_2,
351  muon_n_matches_DT_3,
352  muon_n_matches_DT_4,
353  muon_n_matches_CSC_1,
354  muon_n_matches_CSC_2,
355  muon_n_matches_CSC_3,
356  muon_n_matches_CSC_4,
357  muon_n_matches_RPC_1,
358  muon_n_matches_RPC_2,
359  muon_n_matches_RPC_3,
360  muon_n_matches_RPC_4,
361  muon_n_hits_DT_1,
362  muon_n_hits_DT_2,
363  muon_n_hits_DT_3,
364  muon_n_hits_DT_4,
365  muon_n_hits_CSC_1,
366  muon_n_hits_CSC_2,
367  muon_n_hits_CSC_3,
368  muon_n_hits_CSC_4,
369  muon_n_hits_RPC_1,
370  muon_n_hits_RPC_2,
371  muon_n_hits_RPC_3,
372  muon_n_hits_RPC_4,
373  NumberOfInputs
374  };

◆ vars [4/4]

enum vars

Definition at line 378 of file DeepTauId.cc.

378  {
379  rho = 0,
380  tau_pt,
381  tau_eta,
382  tau_inside_ecal_crack,
383  pfCand_chHad_valid,
384  pfCand_chHad_rel_pt,
385  pfCand_chHad_deta,
386  pfCand_chHad_dphi,
387  pfCand_chHad_leadChargedHadrCand,
388  pfCand_chHad_pvAssociationQuality,
389  pfCand_chHad_fromPV,
390  pfCand_chHad_puppiWeight,
391  pfCand_chHad_puppiWeightNoLep,
392  pfCand_chHad_charge,
393  pfCand_chHad_lostInnerHits,
394  pfCand_chHad_numberOfPixelHits,
395  pfCand_chHad_vertex_dx,
396  pfCand_chHad_vertex_dy,
397  pfCand_chHad_vertex_dz,
398  pfCand_chHad_vertex_dx_tauFL,
399  pfCand_chHad_vertex_dy_tauFL,
400  pfCand_chHad_vertex_dz_tauFL,
401  pfCand_chHad_hasTrackDetails,
402  pfCand_chHad_dxy,
403  pfCand_chHad_dxy_sig,
404  pfCand_chHad_dz,
405  pfCand_chHad_dz_sig,
406  pfCand_chHad_track_chi2_ndof,
407  pfCand_chHad_track_ndof,
408  pfCand_chHad_hcalFraction,
409  pfCand_chHad_rawCaloFraction,
410  pfCand_nHad_valid,
411  pfCand_nHad_rel_pt,
412  pfCand_nHad_deta,
413  pfCand_nHad_dphi,
414  pfCand_nHad_puppiWeight,
415  pfCand_nHad_puppiWeightNoLep,
416  pfCand_nHad_hcalFraction,
417  NumberOfInputs
418  };

Function Documentation

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DeepTauId > > s_filler__LINE__ ( "DeepTauId"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DeepTauId > > s_maker__LINE__ ( "DeepTauId"  )
static
runTauDisplay.tau_eta
tau_eta
Definition: runTauDisplay.py:126
ZElectronSkim_cff.rho
rho
Definition: ZElectronSkim_cff.py:38
runTauDisplay.tau_phi
tau_phi
Definition: runTauDisplay.py:127
runTauDisplay.tau_mass
tau_mass
Definition: runTauDisplay.py:128
dumpRecoGeometry_cfg.Muon
Muon
Definition: dumpRecoGeometry_cfg.py:190
nanoDQM_cff.Electron
Electron
Definition: nanoDQM_cff.py:62
runTauDisplay.tau_pt
tau_pt
Definition: runTauDisplay.py:125