CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetMETHLTOfflineSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 jetMETHLTOfflineSourceAK4 = cms.EDAnalyzer(
4  "JetMETHLTOfflineSource",
5  dirname = cms.untracked.string("HLT/JetMET"),
6  #
7  processname = cms.string("HLT"),
8  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
9  triggerResultsLabel = cms.InputTag("TriggerResults","","HLT"),
10  pathnameMuon = cms.untracked.vstring("HLT_IsoMu24_IterTrk02_v"),
11  pathnameMB = cms.untracked.vstring("HLT_Physics_v"),
12  #
13  verbose = cms.untracked.bool(False),
14  runStandalone = cms.untracked.bool(False),
15  #
16  plotAll = cms.untracked.bool(True),
17  plotEff = cms.untracked.bool(True),
18  nameForEff = cms.untracked.bool(True),
19  #
20  CaloMETCollectionLabel = cms.InputTag("caloMet"),
21  PFMETCollectionLabel = cms.InputTag("pfMet"),
22  #Use on-the-fly correction
23  CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"),
24  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
25  CaloJetCorLabel = cms.InputTag("ak4CaloL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
26  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
27  #
28  fEMF = cms.untracked.double(0.01),
29  feta = cms.untracked.double(2.6),
30  fHPD = cms.untracked.double(0.98),
31  n90Hits = cms.untracked.double(1),
32  minNHEF = cms.untracked.double(0.),
33  maxNHEF = cms.untracked.double(1.),
34  minCHEF = cms.untracked.double(0.),
35  maxCHEF = cms.untracked.double(1.),
36  minNEMF = cms.untracked.double(0.),
37  maxNEMF = cms.untracked.double(1.),
38  minCEMF = cms.untracked.double(0.),
39  maxCEMF = cms.untracked.double(1.),
40  #
41  pathFilter = cms.untracked.vstring("HLT_CaloJet",
42  "HLT_PFJet",
43  "HLT_PFNoPUJet",
44  "HLT_DiPFJetAve",
45  "HLT_DiCaloJetAve",
46  "HLT_PFMET",
47  "HLT_PFchMET",
48  "HLT_MET",
49  "HLT_CaloMET"),
50  pathRejectKeyword = cms.untracked.vstring("dEdx","NoBPTX"),
51  #
52  pathPairs = cms.VPSet(
53  cms.PSet(
54  pathname = cms.string("HLT_PFJet60_v"),
55  denompathname = cms.string("HLT_PFJet40_v"),
56  ),
57  cms.PSet(
58  pathname = cms.string("HLT_PFJet80_v"),
59  denompathname = cms.string("HLT_PFJet60_v"),
60  ),
61  cms.PSet(
62  pathname = cms.string("HLT_PFJet140_v"),
63  denompathname = cms.string("HLT_PFJet80_v"),
64  ),
65  cms.PSet(
66  pathname = cms.string("HLT_PFJet200_v"),
67  denompathname = cms.string("HLT_PFJet140_v"),
68  ),
69  cms.PSet(
70  pathname = cms.string("HLT_PFJet260_v"),
71  denompathname = cms.string("HLT_PFJet200_v"),
72  ),
73  cms.PSet(
74  pathname = cms.string("HLT_PFJet320_v"),
75  denompathname = cms.string("HLT_PFJet260_v"),
76  ),
77  cms.PSet(
78  pathname = cms.string("HLT_PFJet400_v"),
79  denompathname = cms.string("HLT_PFJet320_v"),
80  ),
81  cms.PSet(
82  pathname = cms.string("HLT_PFJet450_v"),
83  denompathname = cms.string("HLT_PFJet400_v"),
84  ),
85  cms.PSet(
86  pathname = cms.string("HLT_PFJet500_v"),
87  denompathname = cms.string("HLT_PFJet450_v"),
88  )
89  ),
90  #
91  JetIDParams = cms.PSet(
92  useRecHits = cms.bool(True),
93  hbheRecHitsColl = cms.InputTag("hbhereco"),
94  hoRecHitsColl = cms.InputTag("horeco"),
95  hfRecHitsColl = cms.InputTag("hfreco"),
96  ebRecHitsColl = cms.InputTag("ecalRecHit", "EcalRecHitsEB"),
97  eeRecHitsColl = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
98  )
99 )
100 
101 
102 jetMETHLTOfflineSourceAK8 = jetMETHLTOfflineSourceAK4.clone(
103  dirname = cms.untracked.string('HLT/JetMET/AK8'),
104  # CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"), #ak8 not available in RECO anymore, so keep ak4...
105  # PFJetCollectionLabel = cms.InputTag("ak8PFJetsCHS"), # does not work in all matrix tests, yet
106  # PFJetCorLabel = cms.InputTag("ak8PFCHSL1FastjetL2L3ResidualCorrector"), # does not work in all matrix tests, yet
107  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
108  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
109 
110 
111  pathFilter = cms.untracked.vstring('HLT_AK8PFJet',
112  ),
113  pathPairs = cms.VPSet(cms.PSet(
114  denompathname = cms.string('HLT_AK8PFJet40_v'),
115  pathname = cms.string('HLT_AK8PFJet60_v')
116  ),
117  cms.PSet(
118  denompathname = cms.string('HLT_AK8PFJet60_v'),
119  pathname = cms.string('HLT_AK8PFJet80_v')
120  ),
121  cms.PSet(
122  denompathname = cms.string('HLT_AK8PFJet80_v'),
123  pathname = cms.string('HLT_AK8PFJet140_v')
124  ),
125  cms.PSet(
126  denompathname = cms.string('HLT_AK8PFJet140_v'),
127  pathname = cms.string('HLT_AK8PFJet200_v')
128  ),
129  cms.PSet(
130  denompathname = cms.string('HLT_AK8PFJet200_v'),
131  pathname = cms.string('HLT_AK8PFJet260_v')
132  ),
133  cms.PSet(
134  denompathname = cms.string('HLT_AK8PFJet260_v'),
135  pathname = cms.string('HLT_AK8PFJet320_v')
136  ),
137  cms.PSet(
138  denompathname = cms.string('HLT_AK8PFJet320_v'),
139  pathname = cms.string('HLT_AK8PFJet400_v')
140  ),
141  cms.PSet(
142  denompathname = cms.string('HLT_AK8PFJet400_v'),
143  pathname = cms.string('HLT_AK8PFJet450_v')
144  ),
145  cms.PSet(
146  denompathname = cms.string('HLT_AK8PFJet450_v'),
147  pathname = cms.string('HLT_AK8PFJet500_v')
148  )),
149 
150 )
151 
152 jetMETHLTOfflineSource = cms.Sequence( jetMETHLTOfflineSourceAK4 * jetMETHLTOfflineSourceAK8 )