CMS 3D CMS Logo

HLTTauReferences_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 TauMCProducer = cms.EDProducer("HLTTauMCProducer",
4  GenParticles = cms.untracked.InputTag("genParticles"),
5  GenMET = cms.untracked.InputTag("genMetTrue"),
6  ptMinTau = cms.untracked.double(15),
7  ptMinMuon = cms.untracked.double(15),
8  ptMinElectron = cms.untracked.double(15),
9  BosonID = cms.untracked.vint32(23,24,25,32,33,34,35,36,37),
10  EtaMax = cms.untracked.double(2.5)
11 )
12 
13 
14 
15 #Create LorentzVectors for offline objects
16 TauRelvalRefProducer = cms.EDProducer("HLTTauRefProducer",
17 
18  PFTaus = cms.untracked.PSet(
19  PFTauDiscriminators = cms.untracked.VInputTag(
20  cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
21  cms.InputTag("hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits")
22  ),
23  doPFTaus = cms.untracked.bool(True),
24  ptMin = cms.untracked.double(15.0),
25  PFTauProducer = cms.untracked.InputTag("hpsPFTauProducer")
26  ),
27  Electrons = cms.untracked.PSet(
28  ElectronCollection = cms.untracked.InputTag("gsfElectrons"),
29  doID = cms.untracked.bool(False),
30  InnerConeDR = cms.untracked.double(0.02),
31  MaxIsoVar = cms.untracked.double(0.02),
32  doElectrons = cms.untracked.bool(True),
33  TrackCollection = cms.untracked.InputTag("generalTracks"),
34  OuterConeDR = cms.untracked.double(0.6),
35  ptMin = cms.untracked.double(15.0),
36  doTrackIso = cms.untracked.bool(True),
37  ptMinTrack = cms.untracked.double(1.5),
38  lipMinTrack = cms.untracked.double(0.2),
39  IdCollection = cms.untracked.InputTag("elecIDext")
40  ),
41  Jets = cms.untracked.PSet(
42  JetCollection = cms.untracked.InputTag("iterativeCone5CaloJets"),
43  etMin = cms.untracked.double(10.0),
44  doJets = cms.untracked.bool(True)
45  ),
46  Towers = cms.untracked.PSet(
47  TowerCollection = cms.untracked.InputTag("towerMaker"),
48  etMin = cms.untracked.double(10.0),
49  doTowers = cms.untracked.bool(True),
50  towerIsolation = cms.untracked.double(5.0)
51  ),
52  Muons = cms.untracked.PSet(
53  doMuons = cms.untracked.bool(True),
54  MuonCollection = cms.untracked.InputTag("muons"),
55  ptMin = cms.untracked.double(15.0)
56  ),
57  Photons = cms.untracked.PSet(
58  doPhotons = cms.untracked.bool(True),
59  PhotonCollection = cms.untracked.InputTag("photons"),
60  etMin = cms.untracked.double(10.0),
61  ECALIso = cms.untracked.double(3.0)
62  ),
63  MET = cms.untracked.PSet(
64  doMET = cms.untracked.bool(True),
65  METCollection = cms.untracked.InputTag("caloMet"),
66  ptMin = cms.untracked.double(15.0)
67  ),
68  EtaMax = cms.untracked.double(2.5)
69 )
70 
71 
72 #Match PF Taus to MC
73 TauRefCombiner = cms.EDProducer("HLTTauRefCombiner",
74  InputCollections = cms.VInputTag(
75  cms.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
76  cms.InputTag("TauRelvalRefProducer","PFTaus")
77  ),
78  MatchDeltaR = cms.double(0.15),
79  OutputCollection = cms.string("")
80 )
81 
82 
83 
84 
85 hltTauRef = cms.Sequence(TauMCProducer*TauRelvalRefProducer*TauRefCombiner)
86 
87 
88 
89 
90 
91 
92 
93 
94