test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauFixedConeProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
3 from RecoTauTag.RecoTau.RecoTauShrinkingConeProducer_cfi import \
4  shrinkingConeRecoTaus
5 
6 '''
7 
8 Configuration for 'shrinkingCone' PFTau Producer
9 
10 See PFT-08-001 for a description of the algorithm.
11 
12 '''
13 
14 _fixedConeRecoTausConfig = cms.PSet(
15  name = cms.string("fixedCone"),
16  useClosestPV = cms.bool(False),
17  qualityCuts = PFTauQualityCuts,
18  # If true, consider PFLeptons (e/mu) as charged hadrons.
19  usePFLeptons = cms.bool(True),
20  pfCandSrc = cms.InputTag("particleFlow"),
21  plugin = cms.string("RecoTauBuilderConePlugin"),
22  leadObjectPt = cms.double(5.0),
23  matchingCone = cms.string('0.3'),
24  signalConeChargedHadrons = cms.string('0.07'),
25  isoConeChargedHadrons = cms.string('0.4'),
26  signalConePiZeros = cms.string('0.15'),
27  isoConePiZeros = cms.string('0.4'),
28  signalConeNeutralHadrons = cms.string('0.10'),
29  isoConeNeutralHadrons = cms.string('0.4'),
30  maxSignalConeChargedHadrons = cms.int32(-1) # CV: upper limit on number of signalConeChargedHadrons disabled per default
31 )
32 
33 fixedConeRecoTaus = shrinkingConeRecoTaus.clone(
34  builders = cms.VPSet(
35  _fixedConeRecoTausConfig
36  )
37 )