Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def Phase2L1CaloJetEmulator(*args, **kwargs):
0004   mod = cms.EDProducer('Phase2L1CaloJetEmulator',
0005     gctFullTowers = cms.InputTag('l1tPhase2L1CaloEGammaEmulator', 'GCTFullTowers'),
0006     hgcalTowers = cms.InputTag('l1tHGCalTowerProducer', 'HGCalTowerProcessor'),
0007     hcalDigis = cms.InputTag('simHcalTriggerPrimitiveDigis'),
0008     nHits_to_nvtx_params = cms.VPSet(
0009       cms.PSet(
0010         fit = cms.string('hgcalEM'),
0011         nHits_params = cms.vdouble(
0012           157.522,
0013           0.09
0014         )
0015       ),
0016       cms.PSet(
0017         fit = cms.string('hgcalHad'),
0018         nHits_params = cms.vdouble(
0019           159.295,
0020           0.178
0021         )
0022       ),
0023       cms.PSet(
0024         fit = cms.string('hf'),
0025         nHits_params = cms.vdouble(
0026           165.706,
0027           0.153
0028         )
0029       ),
0030       template = cms.PSetTemplate(
0031         fit = cms.string('type'),
0032         nHits_params = cms.vdouble(
0033           1,
0034           1
0035         )
0036       )
0037     ),
0038     nvtx_to_PU_sub_params = cms.VPSet(
0039       cms.PSet(
0040         calo = cms.string('hgcalEM'),
0041         iEta = cms.string('er1p4to1p8'),
0042         nvtx_params = cms.vdouble(
0043           -0.011772,
0044           0.004142
0045         )
0046       ),
0047       cms.PSet(
0048         calo = cms.string('hgcalEM'),
0049         iEta = cms.string('er1p8to2p1'),
0050         nvtx_params = cms.vdouble(
0051           -0.015488,
0052           0.00541
0053         )
0054       ),
0055       cms.PSet(
0056         calo = cms.string('hgcalEM'),
0057         iEta = cms.string('er2p1to2p4'),
0058         nvtx_params = cms.vdouble(
0059           -0.02115,
0060           0.006078
0061         )
0062       ),
0063       cms.PSet(
0064         calo = cms.string('hgcalEM'),
0065         iEta = cms.string('er2p4to2p7'),
0066         nvtx_params = cms.vdouble(
0067           -0.015705,
0068           0.005339
0069         )
0070       ),
0071       cms.PSet(
0072         calo = cms.string('hgcalEM'),
0073         iEta = cms.string('er2p7to3p1'),
0074         nvtx_params = cms.vdouble(
0075           -0.018492,
0076           0.00562
0077         )
0078       ),
0079       cms.PSet(
0080         calo = cms.string('hgcalHad'),
0081         iEta = cms.string('er1p4to1p8'),
0082         nvtx_params = cms.vdouble(
0083           0.005675,
0084           0.000615
0085         )
0086       ),
0087       cms.PSet(
0088         calo = cms.string('hgcalHad'),
0089         iEta = cms.string('er1p8to2p1'),
0090         nvtx_params = cms.vdouble(
0091           0.00456,
0092           0.001099
0093         )
0094       ),
0095       cms.PSet(
0096         calo = cms.string('hgcalHad'),
0097         iEta = cms.string('er2p1to2p4'),
0098         nvtx_params = cms.vdouble(
0099           3.6e-05,
0100           0.001608
0101         )
0102       ),
0103       cms.PSet(
0104         calo = cms.string('hgcalHad'),
0105         iEta = cms.string('er2p4to2p7'),
0106         nvtx_params = cms.vdouble(
0107           0.000869,
0108           0.001754
0109         )
0110       ),
0111       cms.PSet(
0112         calo = cms.string('hgcalHad'),
0113         iEta = cms.string('er2p7to3p1'),
0114         nvtx_params = cms.vdouble(
0115           -0.006574,
0116           0.003134
0117         )
0118       ),
0119       cms.PSet(
0120         calo = cms.string('hf'),
0121         iEta = cms.string('er29to33'),
0122         nvtx_params = cms.vdouble(
0123           -0.203291,
0124           0.044096
0125         )
0126       ),
0127       cms.PSet(
0128         calo = cms.string('hf'),
0129         iEta = cms.string('er34to37'),
0130         nvtx_params = cms.vdouble(
0131           -0.210922,
0132           0.045628
0133         )
0134       ),
0135       cms.PSet(
0136         calo = cms.string('hf'),
0137         iEta = cms.string('er38to41'),
0138         nvtx_params = cms.vdouble(
0139           -0.229562,
0140           0.05056
0141         )
0142       ),
0143       template = cms.PSetTemplate(
0144         calo = cms.string('type'),
0145         iEta = cms.string('etaregion'),
0146         nvtx_params = cms.vdouble(
0147           1,
0148           1
0149         )
0150       )
0151     ),
0152     jetPtBins = cms.vdouble(
0153       0,
0154       5,
0155       7.5,
0156       10,
0157       12.5,
0158       15,
0159       17.5,
0160       20,
0161       22.5,
0162       25,
0163       27.5,
0164       30,
0165       35,
0166       40,
0167       45,
0168       50,
0169       55,
0170       60,
0171       65,
0172       70,
0173       75,
0174       80,
0175       85,
0176       90,
0177       95,
0178       100,
0179       110,
0180       120,
0181       130,
0182       140,
0183       150,
0184       160,
0185       170,
0186       180,
0187       190,
0188       200,
0189       225,
0190       250,
0191       275,
0192       300,
0193       325,
0194       400,
0195       500
0196     ),
0197     absEtaBinsBarrel = cms.vdouble(
0198       0,
0199       0.3,
0200       0.6,
0201       1,
0202       1.5
0203     ),
0204     jetCalibrationsBarrel = cms.vdouble(
0205       2.459,
0206       2.32,
0207       2.239,
0208       2.166,
0209       2.1,
0210       2.04,
0211       1.986,
0212       1.937,
0213       1.892,
0214       1.852,
0215       1.816,
0216       1.768,
0217       1.714,
0218       1.67,
0219       1.633,
0220       1.603,
0221       1.578,
0222       1.557,
0223       1.54,
0224       1.525,
0225       1.513,
0226       1.502,
0227       1.493,
0228       1.486,
0229       1.479,
0230       1.47,
0231       1.46,
0232       1.452,
0233       1.445,
0234       1.439,
0235       1.433,
0236       1.427,
0237       1.422,
0238       1.417,
0239       1.411,
0240       1.403,
0241       1.39,
0242       1.377,
0243       1.365,
0244       1.352,
0245       1.327,
0246       1.284,
0247       4.695,
0248       3.32,
0249       2.751,
0250       2.361,
0251       2.093,
0252       1.908,
0253       1.781,
0254       1.694,
0255       1.633,
0256       1.591,
0257       1.562,
0258       1.533,
0259       1.511,
0260       1.499,
0261       1.492,
0262       1.486,
0263       1.482,
0264       1.478,
0265       1.474,
0266       1.47,
0267       1.467,
0268       1.463,
0269       1.459,
0270       1.456,
0271       1.452,
0272       1.447,
0273       1.44,
0274       1.433,
0275       1.425,
0276       1.418,
0277       1.411,
0278       1.404,
0279       1.397,
0280       1.39,
0281       1.382,
0282       1.37,
0283       1.352,
0284       1.334,
0285       1.316,
0286       1.298,
0287       1.262,
0288       1.2,
0289       5.1,
0290       3.538,
0291       2.892,
0292       2.448,
0293       2.143,
0294       1.933,
0295       1.789,
0296       1.689,
0297       1.62,
0298       1.572,
0299       1.539,
0300       1.506,
0301       1.482,
0302       1.469,
0303       1.46,
0304       1.455,
0305       1.45,
0306       1.446,
0307       1.442,
0308       1.438,
0309       1.434,
0310       1.431,
0311       1.427,
0312       1.423,
0313       1.42,
0314       1.414,
0315       1.407,
0316       1.4,
0317       1.392,
0318       1.385,
0319       1.378,
0320       1.37,
0321       1.363,
0322       1.356,
0323       1.348,
0324       1.336,
0325       1.317,
0326       1.299,
0327       1.281,
0328       1.263,
0329       1.226,
0330       1.162,
0331       3.85,
0332       3.438,
0333       3.211,
0334       3.017,
0335       2.851,
0336       2.708,
0337       2.585,
0338       2.479,
0339       2.388,
0340       2.31,
0341       2.243,
0342       2.159,
0343       2.072,
0344       2.006,
0345       1.956,
0346       1.917,
0347       1.887,
0348       1.863,
0349       1.844,
0350       1.828,
0351       1.814,
0352       1.802,
0353       1.791,
0354       1.782,
0355       1.773,
0356       1.76,
0357       1.744,
0358       1.729,
0359       1.714,
0360       1.699,
0361       1.685,
0362       1.67,
0363       1.656,
0364       1.641,
0365       1.627,
0366       1.602,
0367       1.566,
0368       1.53,
0369       1.494,
0370       1.458,
0371       1.386,
0372       1.26
0373     ),
0374     absEtaBinsHGCal = cms.vdouble(
0375       1.5,
0376       1.9,
0377       2.4,
0378       3
0379     ),
0380     jetCalibrationsHGCal = cms.vdouble(
0381       5.604,
0382       4.578,
0383       4.061,
0384       3.647,
0385       3.314,
0386       3.047,
0387       2.832,
0388       2.66,
0389       2.521,
0390       2.41,
0391       2.32,
0392       2.216,
0393       2.12,
0394       2.056,
0395       2.013,
0396       1.983,
0397       1.961,
0398       1.945,
0399       1.932,
0400       1.922,
0401       1.913,
0402       1.905,
0403       1.898,
0404       1.891,
0405       1.884,
0406       1.874,
0407       1.861,
0408       1.848,
0409       1.835,
0410       1.822,
0411       1.81,
0412       1.797,
0413       1.784,
0414       1.771,
0415       1.759,
0416       1.736,
0417       1.704,
0418       1.673,
0419       1.641,
0420       1.609,
0421       1.545,
0422       1.434,
0423       4.385,
0424       3.584,
0425       3.177,
0426       2.849,
0427       2.584,
0428       2.37,
0429       2.197,
0430       2.057,
0431       1.944,
0432       1.853,
0433       1.78,
0434       1.695,
0435       1.616,
0436       1.564,
0437       1.53,
0438       1.507,
0439       1.491,
0440       1.48,
0441       1.472,
0442       1.466,
0443       1.462,
0444       1.459,
0445       1.456,
0446       1.453,
0447       1.451,
0448       1.447,
0449       1.443,
0450       1.439,
0451       1.435,
0452       1.431,
0453       1.427,
0454       1.423,
0455       1.419,
0456       1.416,
0457       1.412,
0458       1.405,
0459       1.395,
0460       1.385,
0461       1.376,
0462       1.366,
0463       1.346,
0464       1.312,
0465       562.891,
0466       68.647,
0467       17.648,
0468       5.241,
0469       2.223,
0470       1.49,
0471       1.312,
0472       1.27,
0473       1.26,
0474       1.259,
0475       1.259,
0476       1.26,
0477       1.263,
0478       1.265,
0479       1.267,
0480       1.269,
0481       1.271,
0482       1.273,
0483       1.275,
0484       1.277,
0485       1.279,
0486       1.281,
0487       1.283,
0488       1.285,
0489       1.287,
0490       1.29,
0491       1.295,
0492       1.299,
0493       1.303,
0494       1.307,
0495       1.311,
0496       1.315,
0497       1.319,
0498       1.323,
0499       1.328,
0500       1.335,
0501       1.345,
0502       1.355,
0503       1.366,
0504       1.376,
0505       1.397,
0506       1.433
0507     ),
0508     absEtaBinsHF = cms.vdouble(
0509       3,
0510       3.6,
0511       6
0512     ),
0513     jetCalibrationsHF = cms.vdouble(
0514       8.169,
0515       6.873,
0516       6.155,
0517       5.535,
0518       5.001,
0519       4.539,
0520       4.141,
0521       3.798,
0522       3.501,
0523       3.245,
0524       3.024,
0525       2.748,
0526       2.463,
0527       2.249,
0528       2.09,
0529       1.971,
0530       1.881,
0531       1.814,
0532       1.763,
0533       1.725,
0534       1.695,
0535       1.673,
0536       1.655,
0537       1.642,
0538       1.631,
0539       1.618,
0540       1.605,
0541       1.596,
0542       1.588,
0543       1.581,
0544       1.575,
0545       1.569,
0546       1.563,
0547       1.557,
0548       1.551,
0549       1.541,
0550       1.527,
0551       1.513,
0552       1.498,
0553       1.484,
0554       1.456,
0555       1.406,
0556       2.788,
0557       2.534,
0558       2.388,
0559       2.258,
0560       2.141,
0561       2.037,
0562       1.945,
0563       1.862,
0564       1.788,
0565       1.722,
0566       1.664,
0567       1.587,
0568       1.503,
0569       1.436,
0570       1.382,
0571       1.339,
0572       1.305,
0573       1.277,
0574       1.255,
0575       1.237,
0576       1.223,
0577       1.211,
0578       1.201,
0579       1.193,
0580       1.186,
0581       1.178,
0582       1.17,
0583       1.164,
0584       1.159,
0585       1.154,
0586       1.151,
0587       1.147,
0588       1.144,
0589       1.141,
0590       1.138,
0591       1.133,
0592       1.126,
0593       1.118,
0594       1.111,
0595       1.104,
0596       1.09,
0597       1.064
0598     ),
0599     tauPtBins = cms.vdouble(
0600       0,
0601       5,
0602       7.5,
0603       10,
0604       12.5,
0605       15,
0606       20,
0607       25,
0608       30,
0609       35,
0610       40,
0611       45,
0612       50,
0613       55,
0614       60,
0615       70,
0616       80,
0617       100,
0618       150,
0619       200
0620     ),
0621     tauAbsEtaBinsBarrel = cms.vdouble(
0622       0,
0623       0.3,
0624       0.6,
0625       1,
0626       1.5
0627     ),
0628     tauCalibrationsBarrel = cms.vdouble(
0629       1.067,
0630       1.067,
0631       1.067,
0632       1.067,
0633       1.067,
0634       1.067,
0635       1.067,
0636       1.067,
0637       1.067,
0638       1.067,
0639       1.067,
0640       1.067,
0641       1.067,
0642       1.067,
0643       1.067,
0644       1.067,
0645       1.067,
0646       1.067,
0647       1.067,
0648       1.106,
0649       1.106,
0650       1.106,
0651       1.106,
0652       1.106,
0653       1.106,
0654       1.106,
0655       1.106,
0656       1.106,
0657       1.106,
0658       1.106,
0659       1.106,
0660       1.106,
0661       1.106,
0662       1.106,
0663       1.106,
0664       1.106,
0665       1.106,
0666       1.106,
0667       1.102,
0668       1.102,
0669       1.102,
0670       1.102,
0671       1.102,
0672       1.102,
0673       1.102,
0674       1.102,
0675       1.102,
0676       1.102,
0677       1.102,
0678       1.102,
0679       1.102,
0680       1.102,
0681       1.102,
0682       1.102,
0683       1.102,
0684       1.102,
0685       1.102,
0686       1.139,
0687       1.139,
0688       1.139,
0689       1.139,
0690       1.139,
0691       1.139,
0692       1.139,
0693       1.139
0694     ),
0695     tauAbsEtaBinsHGCal = cms.vdouble(
0696       1.5,
0697       1.9,
0698       2.4,
0699       3
0700     ),
0701     tauCalibrationsHGCal = cms.vdouble(
0702       1.384,
0703       1.384,
0704       1.384,
0705       1.384,
0706       1.384,
0707       1.384,
0708       1.384,
0709       1.384,
0710       1.384,
0711       1.384,
0712       1.384,
0713       1.384,
0714       1.384,
0715       1.384,
0716       1.384,
0717       1.384,
0718       1.384,
0719       1.384,
0720       1.384,
0721       1.473,
0722       1.473,
0723       1.473,
0724       1.473,
0725       1.473,
0726       1.473,
0727       1.473,
0728       1.473,
0729       1.473,
0730       1.473,
0731       1.473,
0732       1.473,
0733       1.473,
0734       1.473,
0735       1.473,
0736       1.473,
0737       1.473,
0738       1.473,
0739       1.473,
0740       1.133,
0741       1.133,
0742       1.133,
0743       1.133,
0744       1.133,
0745       1.133,
0746       1.133,
0747       1.133,
0748       1.133,
0749       1.133,
0750       1.133,
0751       1.133,
0752       1.133,
0753       1.133,
0754       1.133,
0755       1.133,
0756       1.133,
0757       1.133,
0758       1.133
0759     ),
0760     mightGet = cms.optional.untracked.vstring
0761   )
0762   for a in args:
0763     mod.update_(a)
0764   mod.update_(kwargs)
0765   return mod