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