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  EtaMin = cms.untracked.double(-2.5),
11  EtaMax = cms.untracked.double(2.5),
12  PhiMin = cms.untracked.double(-3.15),
13  PhiMax = cms.untracked.double(3.15)
14 )
15 
16 
17 
18 #Create LorentzVectors for offline objects
19 TauRelvalRefProducer = cms.EDProducer("HLTTauRefProducer",
20 
21  PFTaus = cms.untracked.PSet(
22  PFTauDiscriminators = cms.untracked.VInputTag(
23  cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
24  cms.InputTag("hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits")
25  ),
26  doPFTaus = cms.untracked.bool(True),
27  ptMin = cms.untracked.double(15.0),
28  etaMin = cms.untracked.double(-2.5),
29  etaMax = cms.untracked.double(2.5),
30  phiMin = cms.untracked.double(-3.15),
31  phiMax = cms.untracked.double(3.15),
32  PFTauProducer = cms.untracked.InputTag("hpsPFTauProducer")
33  ),
34  Electrons = cms.untracked.PSet(
35  ElectronCollection = cms.untracked.InputTag("gsfElectrons"),
36  doID = cms.untracked.bool(False),
37  InnerConeDR = cms.untracked.double(0.02),
38  MaxIsoVar = cms.untracked.double(0.02),
39  doElectrons = cms.untracked.bool(True),
40  TrackCollection = cms.untracked.InputTag("generalTracks"),
41  OuterConeDR = cms.untracked.double(0.6),
42  ptMin = cms.untracked.double(15.0),
43  doTrackIso = cms.untracked.bool(True),
44  ptMinTrack = cms.untracked.double(1.5),
45  lipMinTrack = cms.untracked.double(0.2),
46  IdCollection = cms.untracked.InputTag("elecIDext")
47  ),
48  Jets = cms.untracked.PSet(
49  JetCollection = cms.untracked.InputTag("iterativeCone5CaloJets"),
50  etMin = cms.untracked.double(10.0),
51  doJets = cms.untracked.bool(True)
52  ),
53  Towers = cms.untracked.PSet(
54  TowerCollection = cms.untracked.InputTag("towerMaker"),
55  etMin = cms.untracked.double(10.0),
56  doTowers = cms.untracked.bool(True),
57  towerIsolation = cms.untracked.double(5.0)
58  ),
59  Muons = cms.untracked.PSet(
60  doMuons = cms.untracked.bool(True),
61  MuonCollection = cms.untracked.InputTag("muons"),
62  ptMin = cms.untracked.double(15.0)
63  ),
64  Photons = cms.untracked.PSet(
65  doPhotons = cms.untracked.bool(True),
66  PhotonCollection = cms.untracked.InputTag("photons"),
67  etMin = cms.untracked.double(10.0),
68  ECALIso = cms.untracked.double(3.0)
69  ),
70  MET = cms.untracked.PSet(
71  doMET = cms.untracked.bool(True),
72  METCollection = cms.untracked.InputTag("caloMet"),
73  ptMin = cms.untracked.double(15.0)
74  ),
75  EtaMin = cms.untracked.double(-2.5),
76  EtaMax = cms.untracked.double(2.5),
77  PhiMin = cms.untracked.double(-3.15),
78  PhiMax = cms.untracked.double(3.15)
79 )
80 
81 
82 #Match PF Taus to MC
83 TauRefCombiner = cms.EDProducer("HLTTauRefCombiner",
84  InputCollections = cms.VInputTag(
85  cms.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
86  cms.InputTag("TauRelvalRefProducer","PFTaus")
87  ),
88  MatchDeltaR = cms.double(0.15),
89  OutputCollection = cms.string("")
90 )
91 
92 
93 
94 
95 hltTauRef = cms.Sequence(TauMCProducer*TauRelvalRefProducer*TauRefCombiner)