CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
4 
5 pfRecoTauDiscriminationAgainstElectronDeadECAL = cms.EDProducer(
6  "PFRecoTauDiscriminationAgainstElectronDeadECAL",
7 
8  # tau collection to discriminate
9  PFTauProducer = cms.InputTag('pfTauProducer'),
10 
11  # Require leading pion ensures that:
12  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
13  # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV
14  Prediscriminants = requireLeadTrack,
15 
16  # status flag indicating dead/masked ECAL crystals
17  minStatus = cms.uint32(12),
18 
19  # region around dead/masked ECAL crystals that is to be cut
20  dR = cms.double(0.08),
21 
22  # extrapolate leading track to ECAL or use tau direction at the primary event vertex
23  # in order to compute distance between tau and ECAL crystals
24  extrapolateToECalEntrance = cms.bool(False),
25 
26  verbosity = cms.int32(0)
27 )