CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstMuon2_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 pfRecoTauDiscriminationAgainstMuon2 = cms.EDProducer("PFRecoTauDiscriminationAgainstMuon2",
6 
7  # tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
9 
10  # Require leading pion ensures that:
11  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
12  # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV
13  Prediscriminants = requireLeadTrack,
14 
15  # algorithm parameters
16  discriminatorOption = cms.string('loose'), # available options are: 'loose', 'medium', 'tight' and 'custom'
17  HoPMin = cms.double(0.2),
18  maxNumberOfMatches = cms.int32(0), # negative value would turn off this cut in case of 'custom' discriminator
19  doCaloMuonVeto = cms.bool(False),
20  maxNumberOfHitsLast2Stations = cms.int32(0), # negative value would turn off this cut in case of 'custom' discriminator
21 
22  # optional collection of muons to check for overlap with taus
23  srcMuons = cms.InputTag('muons'),
24  dRmuonMatch = cms.double(0.3),
25  # JetArea is not defined for subjets and restiction to jetArea is turned to dRMatch=0.1, so better use the latter explicitely
26  dRmuonMatchLimitedToJetArea = cms.bool(False),
27  minPtMatchedMuon = cms.double(5.),
28 
29  # flags to mask/unmask DT, CSC and RPC chambers in individual muon stations.
30  # Segments and hits that are present in that muon station are ignored in case the "mask" is set to 1.
31  # Per default only the innermost CSC chamber is ignored, as it is affected by spurious hits in high pile-up events
32  maskMatchesDT = cms.vint32(0,0,0,0),
33  maskMatchesCSC = cms.vint32(1,0,0,0),
34  maskMatchesRPC = cms.vint32(0,0,0,0),
35  maskHitsDT = cms.vint32(0,0,0,0),
36  maskHitsCSC = cms.vint32(0,0,0,0),
37  maskHitsRPC = cms.vint32(0,0,0,0),
38 
39  verbosity = cms.int32(0)
40 )
41 
42