CMS 3D CMS Logo

PFRecoTauQualityCuts_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # A set of quality cuts used for the PFTaus. Note that the quality cuts are
4 # different for the signal and isolation regions. (Currently, only in Nhits)
5 
6 PFTauQualityCuts = cms.PSet(
7  signalQualityCuts = cms.PSet(
8  minTrackPt = cms.double(0.5), # filter PFChargedHadrons below given pt
9  maxTrackChi2 = cms.double(100.), # require track Chi2
10  maxTransverseImpactParameter = cms.double(0.1), # wrt. PV
11  maxDeltaZ = cms.double(0.4), # wrt. PV
12  #minTrackVertexWeight = cms.double(10e-4), # Tracks weight in vertex
13  minTrackVertexWeight = cms.double(-1.), # Tracks weight in vertex
14  minTrackPixelHits = cms.uint32(0), # pixel-only hits
15  minTrackHits = cms.uint32(3), # total track hits
16  minGammaEt = cms.double(0.5), # filter PFgammas below given Pt
17  #useTracksInsteadOfPFHadrons = cms.bool(False), # if true, use generalTracks, instead of PFChargedHadrons
18  minNeutralHadronEt = cms.double(30.)
19  ),
20  isolationQualityCuts = cms.PSet(
21  minTrackPt = cms.double(1.0),
22  maxTrackChi2 = cms.double(100.),
23  maxTransverseImpactParameter = cms.double(0.03),
24  maxDeltaZ = cms.double(0.2),
25  minTrackVertexWeight = cms.double(-1.), # Tracks weight in vertex
26  minTrackPixelHits = cms.uint32(0),
27  minTrackHits = cms.uint32(8),
28  minGammaEt = cms.double(1.5),
29  #useTracksInsteadOfPFHadrons = cms.bool(False),
30  ),
31  vxAssocQualityCuts = cms.PSet(
32  minTrackPt = cms.double(0.5), # filter PFChargedHadrons below given pt
33  maxTrackChi2 = cms.double(100.), # require track Chi2
34  maxTransverseImpactParameter = cms.double(0.1), # wrt. PV
35  minTrackVertexWeight = cms.double(-1.), # Tracks weight in vertex
36  minTrackPixelHits = cms.uint32(0), # pixel-only hits
37  minTrackHits = cms.uint32(3), # total track hits
38  minGammaEt = cms.double(0.5) # filter PFgammas below given Pt
39  #useTracksInsteadOfPFHadrons = cms.bool(False), # if true, use generalTracks, instead of PFChargedHadrons
40  ),
41  # The central definition of primary vertex source.
42  primaryVertexSrc = cms.InputTag("offlinePrimaryVertices"),
43  # Possible algorithms are: 'highestPtInEvent', 'closestInDeltaZ', 'highestWeightForLeadTrack' and 'combined'
44  pvFindingAlgo = cms.string("closestInDeltaZ"),
45  vertexTrackFiltering = cms.bool(False),
46  recoverLeadingTrk = cms.bool(False),
47  # produce histograms when running in debug mode
48  # makeHisto = cms.bool(False)
49  leadingTrkOrPFCandOption = cms.string("leadPFCand")
50  ##leadingTrkOrPFCandOption = cms.string("leadTrack")
51  ##leadingTrkOrPFCandOption = cms.string("minLeadTrackOrPFCand")
52  ##leadingTrkOrPFCandOption = cms.string("firstTrack") #default behaviour until 710 (first track in the collection)
53 )