CMS 3D CMS Logo

l1tTowerCalibrationProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1tTowerCalibrationProducer = cms.EDProducer("L1TowerCalibrator",
4  # Choosen settings 6 March 2019, 10_3_X MTD samples
5  HcalTpEtMin = cms.double(0.5),
6  EcalTpEtMin = cms.double(0.5),
7  HGCalHadTpEtMin = cms.double(0.25),
8  HGCalEmTpEtMin = cms.double(0.25),
9  HFTpEtMin = cms.double(0.5),
10  puThreshold = cms.double(5.0),
11  puThresholdL1eg = cms.double(2.0),
12  puThresholdHcalMin = cms.double(1.0),
13  puThresholdHcalMax = cms.double(2.0),
14  puThresholdEcalMin = cms.double(0.75),
15  puThresholdEcalMax = cms.double(1.5),
16  puThresholdHGCalEMMin = cms.double(1.25),
17  puThresholdHGCalEMMax = cms.double(1.75),
18  puThresholdHGCalHadMin = cms.double(0.75),
19  puThresholdHGCalHadMax = cms.double(1.25),
20  puThresholdHFMin = cms.double(10.0),
21  puThresholdHFMax = cms.double(15.0),
22 
23  puThresholdEcal = cms.double(2.0),
24  puThresholdHcal = cms.double(3.0),
25 
26  barrelSF = cms.double(1.0),
27  hgcalSF = cms.double(1.0),
28  hfSF = cms.double(1.0),
29  debug = cms.bool(False),
30  skipCalibrations = cms.bool(False),
31  l1CaloTowers = cms.InputTag("l1tEGammaClusterEmuProducer","L1CaloTowerCollection",""),
32  L1HgcalTowersInputTag = cms.InputTag("l1tHGCalTowerProducer:HGCalTowerProcessor"),
33  hcalDigis = cms.InputTag("simHcalTriggerPrimitiveDigis"),
34  nHits_to_nvtx_params = cms.VPSet( # Parameters derived on 6 March 2019 on 10_3_X MTD samples
35  cms.PSet(
36  fit = cms.string( "hf" ),
37  params = cms.vdouble( 165.706, 0.153 )
38  ),
39  cms.PSet(
40  fit = cms.string( "ecal" ),
41  params = cms.vdouble( 168.055, 0.377 )
42  ),
43  cms.PSet(
44  fit = cms.string( "hgcalEM" ),
45  params = cms.vdouble( 157.522, 0.090 )
46  ),
47  cms.PSet(
48  fit = cms.string( "hgcalHad" ),
49  params = cms.vdouble( 159.295, 0.178 )
50  ),
51  cms.PSet(
52  fit = cms.string( "hcal" ),
53  params = cms.vdouble( 168.548, 0.362 )
54  ),
55  ),
56 
57  nvtx_to_PU_sub_params = cms.VPSet(
58  cms.PSet(
59  calo = cms.string( "ecal" ),
60  iEta = cms.string( "er1to3" ),
61  params = cms.vdouble( 0.008955, 0.000298 )
62  ),
63  cms.PSet(
64  calo = cms.string( "ecal" ),
65  iEta = cms.string( "er4to6" ),
66  params = cms.vdouble( 0.009463, 0.000256 )
67  ),
68  cms.PSet(
69  calo = cms.string( "ecal" ),
70  iEta = cms.string( "er7to9" ),
71  params = cms.vdouble( 0.008783, 0.000293 )
72  ),
73  cms.PSet(
74  calo = cms.string( "ecal" ),
75  iEta = cms.string( "er10to12" ),
76  params = cms.vdouble( 0.009308, 0.000255 )
77  ),
78  cms.PSet(
79  calo = cms.string( "ecal" ),
80  iEta = cms.string( "er13to15" ),
81  params = cms.vdouble( 0.009290, 0.000221 )
82  ),
83  cms.PSet(
84  calo = cms.string( "ecal" ),
85  iEta = cms.string( "er16to18" ),
86  params = cms.vdouble( 0.009282, 0.000135 )
87  ),
88  cms.PSet(
89  calo = cms.string( "hcal" ),
90  iEta = cms.string( "er1to3" ),
91  params = cms.vdouble( 0.009976, 0.000377 )
92  ),
93  cms.PSet(
94  calo = cms.string( "hcal" ),
95  iEta = cms.string( "er4to6" ),
96  params = cms.vdouble( 0.009803, 0.000394 )
97  ),
98  cms.PSet(
99  calo = cms.string( "hcal" ),
100  iEta = cms.string( "er7to9" ),
101  params = cms.vdouble( 0.009654, 0.000429 )
102  ),
103  cms.PSet(
104  calo = cms.string( "hcal" ),
105  iEta = cms.string( "er10to12" ),
106  params = cms.vdouble( 0.009107, 0.000528 )
107  ),
108  cms.PSet(
109  calo = cms.string( "hcal" ),
110  iEta = cms.string( "er13to15" ),
111  params = cms.vdouble( 0.008367, 0.000652 )
112  ),
113  cms.PSet(
114  calo = cms.string( "hcal" ),
115  iEta = cms.string( "er16to18" ),
116  params = cms.vdouble( 0.009681, 0.000096 )
117  ),
118  cms.PSet(
119  calo = cms.string( "hgcalEM" ),
120  iEta = cms.string( "er1p4to1p8" ),
121  params = cms.vdouble( -0.011772, 0.004142 )
122  ),
123  cms.PSet(
124  calo = cms.string( "hgcalEM" ),
125  iEta = cms.string( "er1p8to2p1" ),
126  params = cms.vdouble( -0.015488, 0.005410 )
127  ),
128  cms.PSet(
129  calo = cms.string( "hgcalEM" ),
130  iEta = cms.string( "er2p1to2p4" ),
131  params = cms.vdouble( -0.021150, 0.006078 )
132  ),
133  cms.PSet(
134  calo = cms.string( "hgcalEM" ),
135  iEta = cms.string( "er2p4to2p7" ),
136  params = cms.vdouble( -0.015705, 0.005339 )
137  ),
138  cms.PSet(
139  calo = cms.string( "hgcalEM" ),
140  iEta = cms.string( "er2p7to3p1" ),
141  params = cms.vdouble( -0.018492, 0.005620 )
142  ),
143  cms.PSet(
144  calo = cms.string( "hgcalHad" ),
145  iEta = cms.string( "er1p4to1p8" ),
146  params = cms.vdouble( 0.005675, 0.000615 )
147  ),
148  cms.PSet(
149  calo = cms.string( "hgcalHad" ),
150  iEta = cms.string( "er1p8to2p1" ),
151  params = cms.vdouble( 0.004560, 0.001099 )
152  ),
153  cms.PSet(
154  calo = cms.string( "hgcalHad" ),
155  iEta = cms.string( "er2p1to2p4" ),
156  params = cms.vdouble( 0.000036, 0.001608 )
157  ),
158  cms.PSet(
159  calo = cms.string( "hgcalHad" ),
160  iEta = cms.string( "er2p4to2p7" ),
161  params = cms.vdouble( 0.000869, 0.001754 )
162  ),
163  cms.PSet(
164  calo = cms.string( "hgcalHad" ),
165  iEta = cms.string( "er2p7to3p1" ),
166  params = cms.vdouble( -0.006574, 0.003134 )
167  ),
168  cms.PSet(
169  calo = cms.string( "hf" ),
170  iEta = cms.string( "er29to33" ),
171  params = cms.vdouble( -0.203291, 0.044096 )
172  ),
173  cms.PSet(
174  calo = cms.string( "hf" ),
175  iEta = cms.string( "er34to37" ),
176  params = cms.vdouble( -0.210922, 0.045628 )
177  ),
178  cms.PSet(
179  calo = cms.string( "hf" ),
180  iEta = cms.string( "er38to41" ),
181  params = cms.vdouble( -0.229562, 0.050560 )
182  ),
183  )
184 )