Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:12:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 AllLayer_weights = cms.vdouble(0.0,
0004                                0.0158115,
0005                                0.0286877,
0006                                0.017707,
0007                                0.00884719,
0008                                0.00921472,
0009                                0.00654193,
0010                                0.00737344,
0011                                0.00737619,
0012                                0.0090818,
0013                                0.00776757,
0014                                0.011098,
0015                                0.00561986,
0016                                0.012015,
0017                                0.0105088,
0018                                0.00834435,
0019                                0.0113901,
0020                                0.00995654,
0021                                0.0120987,
0022                                0.00708785,
0023                                0.0101533,
0024                                0.0108289,
0025                                0.0143815,
0026                                0.0145606,
0027                                0.0133204,
0028                                0.0137476,
0029                                0.00911436,
0030                                0.0275028,
0031                                0.0338628,
0032                                0.0674028,
0033                                0.0546596,
0034                                0.0634012,
0035                                0.0613207,
0036                                0.0653995,
0037                                0.0450429,
0038                                0.065412,
0039                                0.0585679,
0040                                0.0530456,
0041                                0.0484401,
0042                                0.0694564,
0043                                0.0684182,
0044                                0.117808,
0045                                0.126668,
0046                                0.142361,
0047                                0.154379,
0048                                0.102089,
0049                                0.114404,
0050                                0.160111,
0051                                0.178321,
0052                                0.0964375,
0053                                0.131446,
0054                                0.115852,
0055                                0.326339
0056                                )
0057 
0058 TrgLayer_weights = cms.vdouble(0.0,
0059                                0.0183664,
0060                                0.,
0061                                0.0305622,
0062                                0.,
0063                                0.0162589,
0064                                0.,
0065                                0.0143918,
0066                                0.,
0067                                0.0134475,
0068                                0.,
0069                                0.0185754,
0070                                0.,
0071                                0.0204934,
0072                                0.,
0073                                0.016901,
0074                                0.,
0075                                0.0207958,
0076                                0.,
0077                                0.0167985,
0078                                0.,
0079                                0.0238385,
0080                                0.,
0081                                0.0301146,
0082                                0.,
0083                                0.0274622,
0084                                0.,
0085                                0.0468671,
0086                                0.,
0087                                0.078819,
0088                                0.0555831,
0089                                0.0609312,
0090                                0.0610768,
0091                                0.0657626,
0092                                0.0465653,
0093                                0.0629383,
0094                                0.0610061,
0095                                0.0517326,
0096                                0.0492882,
0097                                0.0699336,
0098                                0.0673457,
0099                                0.119896,
0100                                0.125327,
0101                                0.143235,
0102                                0.153295,
0103                                0.104777,
0104                                0.109345,
0105                                0.161386,
0106                                0.174656,
0107                                0.108053,
0108                                0.121674,
0109                                0.1171,
0110                                0.328053
0111                                )
0112 
0113 from RecoLocalCalo.HGCalRecProducers.HGCalRecHit_cfi import dEdX
0114 
0115 EE_LAYERS = 28
0116 TrgLayer_dEdX_weights = cms.vdouble()
0117 for lid, lw in enumerate(dEdX.weights):
0118     if lid > (EE_LAYERS+1):
0119         TrgLayer_dEdX_weights.append(lw)
0120     else:
0121         # Only half the layers are read in the EE at L1T
0122         if (lid % 2) == 1:
0123             TrgLayer_dEdX_weights.append(lw+dEdX.weights[lid-1])
0124         else:
0125             TrgLayer_dEdX_weights.append(0)