Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.PatAlgos.recoLayer0.stringResolutionProvider_cfi import *
0004 
0005 ## <--- these resolutions do not exist yet --->
0006 ## electronResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0007 ##                                        resolutions     = ['et * (sqrt(5.6*5.6/(et*et) + 1.25/et + 0.033))', # add sigma(Et) not sigma(Et)/Et here
0008 ##                                                           '0.03  + 1.0/et',                                 # add sigma(eta) here
0009 ##                                                           '0.015 + 1.5/et'                                  # add sigma(phi) here
0010 ##                                                           ],
0011 ##                                        constraints     =  cms.vdouble(0)                                    # add constraints here
0012 ##                                        )
0013 
0014 muonResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0015                                         functions = cms.VPSet(
0016     cms.PSet(
0017     bin = cms.string('0.000<=abs(eta) && abs(eta)<0.100'),
0018     et  = cms.string('et * (0.00465 + 0.0002471 * et)'),
0019     eta = cms.string('sqrt(0.0004331^2 + (0.001071/sqrt(et))^2 + (0/et)^2)'),
0020     phi = cms.string('sqrt(6.21e-05^2 + (0/sqrt(et))^2 + (0.004634/et)^2)'),
0021     ),
0022     cms.PSet(
0023     bin = cms.string('0.100<=abs(eta) && abs(eta)<0.200'),
0024     et  = cms.string('et * (0.005072 + 0.0002368 * et)'),
0025     eta = cms.string('sqrt(0.0003896^2 + (0.000858/sqrt(et))^2 + (0.00201/et)^2)'),
0026     phi = cms.string('sqrt(5.36e-05^2 + (0/sqrt(et))^2 + (0.004865/et)^2)'),
0027     ),
0028     cms.PSet(
0029     bin = cms.string('0.200<=abs(eta) && abs(eta)<0.300'),
0030     et  = cms.string('et * (0.005875 + 0.0002207 * et)'),
0031     eta = cms.string('sqrt(0.0003387^2 + (0.000904/sqrt(et))^2 + (0.00142/et)^2)'),
0032     phi = cms.string('sqrt(5.16e-05^2 + (0/sqrt(et))^2 + (0.004923/et)^2)'),
0033     ),
0034     cms.PSet(
0035     bin = cms.string('0.300<=abs(eta) && abs(eta)<0.400'),
0036     et  = cms.string('et * (0.006974 + 0.0002021 * et)'),
0037     eta = cms.string('sqrt(0.0003164^2 + (0.000704/sqrt(et))^2 + (0.00169/et)^2)'),
0038     phi = cms.string('sqrt(5.21e-05^2 + (0/sqrt(et))^2 + (0.005102/et)^2)'),
0039     ),
0040     cms.PSet(
0041     bin = cms.string('0.400<=abs(eta) && abs(eta)<0.500'),
0042     et  = cms.string('et * (0.007159 + 0.0002023 * et)'),
0043     eta = cms.string('sqrt(0.0002926^2 + (0.000722/sqrt(et))^2 + (0.00154/et)^2)'),
0044     phi = cms.string('sqrt(5.3e-05^2 + (0/sqrt(et))^2 + (0.005151/et)^2)'),
0045     ),
0046     cms.PSet(
0047     bin = cms.string('0.500<=abs(eta) && abs(eta)<0.600'),
0048     et  = cms.string('et * (0.007502 + 0.000193 * et)'),
0049     eta = cms.string('sqrt(0.0002897^2 + (0.000754/sqrt(et))^2 + (0.00159/et)^2)'),
0050     phi = cms.string('sqrt(5.32e-05^2 + (0/sqrt(et))^2 + (0.005276/et)^2)'),
0051     ),
0052     cms.PSet(
0053     bin = cms.string('0.600<=abs(eta) && abs(eta)<0.700'),
0054     et  = cms.string('et * (0.007842 + 0.0001886 * et)'),
0055     eta = cms.string('sqrt(0.0003089^2 + (0.000684/sqrt(et))^2 + (0.00189/et)^2)'),
0056     phi = cms.string('sqrt(5.31e-05^2 + (0/sqrt(et))^2 + (0.00538/et)^2)'),
0057     ),
0058     cms.PSet(
0059     bin = cms.string('0.700<=abs(eta) && abs(eta)<0.800'),
0060     et  = cms.string('et * (0.008325 + 0.0001833 * et)'),
0061     eta = cms.string('sqrt(0.00029^2 + (0.000868/sqrt(et))^2 + (0.00181/et)^2)'),
0062     phi = cms.string('sqrt(5.54e-05^2 + (0/sqrt(et))^2 + (0.005242/et)^2)'),
0063     ),
0064     cms.PSet(
0065     bin = cms.string('0.800<=abs(eta) && abs(eta)<0.900'),
0066     et  = cms.string('et * (0.00925 + 0.0001917 * et)'),
0067     eta = cms.string('sqrt(0.0002935^2 + (0.000783/sqrt(et))^2 + (0.00204/et)^2)'),
0068     phi = cms.string('sqrt(6.05e-05^2 + (0/sqrt(et))^2 + (0.00561/et)^2)'),
0069     ),
0070     cms.PSet(
0071     bin = cms.string('0.900<=abs(eta) && abs(eta)<1.000'),
0072     et  = cms.string('et * (0.01095 + 0.000192 * et)'),
0073     eta = cms.string('sqrt(0.0002772^2 + (0.000916/sqrt(et))^2 + (0.00149/et)^2)'),
0074     phi = cms.string('sqrt(7.7e-05^2 + (0/sqrt(et))^2 + (0.005576/et)^2)'),
0075     ),
0076     cms.PSet(
0077     bin = cms.string('1.000<=abs(eta) && abs(eta)<1.100'),
0078     et  = cms.string('et * (0.01267 + 0.0001638 * et)'),
0079     eta = cms.string('sqrt(0.0002908^2 + (0.000919/sqrt(et))^2 + (0.0018/et)^2)'),
0080     phi = cms.string('sqrt(7.53e-05^2 + (0/sqrt(et))^2 + (0.005775/et)^2)'),
0081     ),
0082     cms.PSet(
0083     bin = cms.string('1.100<=abs(eta) && abs(eta)<1.200'),
0084     et  = cms.string('et * (0.01374 + 0.0001666 * et)'),
0085     eta = cms.string('sqrt(0.0002931^2 + (0.000943/sqrt(et))^2 + (0.00201/et)^2)'),
0086     phi = cms.string('sqrt(8.18e-05^2 + (0/sqrt(et))^2 + (0.00606/et)^2)'),
0087     ),
0088     cms.PSet(
0089     bin = cms.string('1.200<=abs(eta) && abs(eta)<1.300'),
0090     et  = cms.string('et * (0.01492 + 0.0001584 * et)'),
0091     eta = cms.string('sqrt(0.0002936^2 + (0.000794/sqrt(et))^2 + (0.00214/et)^2)'),
0092     phi = cms.string('sqrt(7.43e-05^2 + (0.000429/sqrt(et))^2 + (0.006143/et)^2)'),
0093     ),
0094     cms.PSet(
0095     bin = cms.string('1.300<=abs(eta) && abs(eta)<1.400'),
0096     et  = cms.string('et * (0.01535 + 0.0001721 * et)'),
0097     eta = cms.string('sqrt(0.0002927^2 + (0.000856/sqrt(et))^2 + (0.0023/et)^2)'),
0098     phi = cms.string('sqrt(5.6e-05^2 + (0.000724/sqrt(et))^2 + (0.005829/et)^2)'),
0099     ),
0100     cms.PSet(
0101     bin = cms.string('1.400<=abs(eta) && abs(eta)<1.500'),
0102     et  = cms.string('et * (0.01477 + 0.0001847 * et)'),
0103     eta = cms.string('sqrt(0.0003012^2 + (0.000872/sqrt(et))^2 + (0.00229/et)^2)'),
0104     phi = cms.string('sqrt(4.9e-05^2 + (0.000815/sqrt(et))^2 + (0.005459/et)^2)'),
0105     ),
0106     cms.PSet(
0107     bin = cms.string('1.500<=abs(eta) && abs(eta)<1.600'),
0108     et  = cms.string('et * (0.01353 + 0.0002351 * et)'),
0109     eta = cms.string('sqrt(0.0003027^2 + (0.00077/sqrt(et))^2 + (0.00258/et)^2)'),
0110     phi = cms.string('sqrt(7.63e-05^2 + (0.000745/sqrt(et))^2 + (0.005747/et)^2)'),
0111     ),
0112     cms.PSet(
0113     bin = cms.string('1.600<=abs(eta) && abs(eta)<1.700'),
0114     et  = cms.string('et * (0.01301 + 0.0002884 * et)'),
0115     eta = cms.string('sqrt(0.0003074^2 + (0.000725/sqrt(et))^2 + (0.00271/et)^2)'),
0116     phi = cms.string('sqrt(7.5e-05^2 + (0.000967/sqrt(et))^2 + (0.00546/et)^2)'),
0117     ),
0118     cms.PSet(
0119     bin = cms.string('1.700<=abs(eta) && abs(eta)<1.800'),
0120     et  = cms.string('et * (0.01295 + 0.000388 * et)'),
0121     eta = cms.string('sqrt(0.0003168^2 + (0.00067/sqrt(et))^2 + (0.00295/et)^2)'),
0122     phi = cms.string('sqrt(0.000109^2 + (0.000978/sqrt(et))^2 + (0.00572/et)^2)'),
0123     ),
0124     cms.PSet(
0125     bin = cms.string('1.800<=abs(eta) && abs(eta)<1.900'),
0126     et  = cms.string('et * (0.01382 + 0.000506 * et)'),
0127     eta = cms.string('sqrt(0.000344^2 + (0.00063/sqrt(et))^2 + (0.00303/et)^2)'),
0128     phi = cms.string('sqrt(0.000134^2 + (0.001074/sqrt(et))^2 + (0.00561/et)^2)'),
0129     ),
0130     cms.PSet(
0131     bin = cms.string('1.900<=abs(eta) && abs(eta)<2.000'),
0132     et  = cms.string('et * (0.01519 + 0.000565 * et)'),
0133     eta = cms.string('sqrt(0.000337^2 + (0.00087/sqrt(et))^2 + (0.00322/et)^2)'),
0134     phi = cms.string('sqrt(0.000186^2 + (0.00084/sqrt(et))^2 + (0.0061/et)^2)'),
0135     ),
0136     cms.PSet(
0137     bin = cms.string('2.000<=abs(eta) && abs(eta)<2.100'),
0138     et  = cms.string('et * (0.01712 + 0.000755 * et)'),
0139     eta = cms.string('sqrt(0.00036^2 + (0.00065/sqrt(et))^2 + (0.00393/et)^2)'),
0140     phi = cms.string('sqrt(0.000216^2 + (0.00124/sqrt(et))^2 + (0.00572/et)^2)'),
0141     ),
0142     cms.PSet(
0143     bin = cms.string('2.100<=abs(eta) && abs(eta)<2.200'),
0144     et  = cms.string('et * (0.01979 + 0.00085 * et)'),
0145     eta = cms.string('sqrt(0.000372^2 + (0.00096/sqrt(et))^2 + (0.0037/et)^2)'),
0146     phi = cms.string('sqrt(0.00031^2 + (0.00072/sqrt(et))^2 + (0.0062/et)^2)'),
0147     ),
0148     cms.PSet(
0149     bin = cms.string('2.200<=abs(eta) && abs(eta)<2.300'),
0150     et  = cms.string('et * (0.02143 + 0.00109 * et)'),
0151     eta = cms.string('sqrt(0.000432^2 + (0.00063/sqrt(et))^2 + (0.00447/et)^2)'),
0152     phi = cms.string('sqrt(0.000333^2 + (0.00146/sqrt(et))^2 + (0.00566/et)^2)'),
0153     ),
0154     cms.PSet(
0155     bin = cms.string('2.300<=abs(eta) && abs(eta)<2.400'),
0156     et  = cms.string('et * (0.02144 + 0.001458 * et)'),
0157     eta = cms.string('sqrt(0.000417^2 + (0.00149/sqrt(et))^2 + (0.00416/et)^2)'),
0158     phi = cms.string('sqrt(0.000365^2 + (0.00172/sqrt(et))^2 + (0.00628/et)^2)'),
0159     )
0160     ),
0161                                         constraints = cms.vdouble(0)
0162                                         )
0163 
0164 ## <--- these resolutions do not exist yet --->
0165 ## tauResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0166 ##                                        resolutions     = ['et * (sqrt(5.6*5.6/(et*et) + 1.25/et + 0.033))',
0167 ##                                                           '0.03  + 1.0/et',
0168 ##                                                           '0.015 + 1.5/et'
0169 ##                                                           ],
0170 ##                                        constraints     =  cms.vdouble(0)
0171 ##                                        )
0172 
0173 udscResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0174                                         functions = cms.VPSet(
0175     cms.PSet(
0176     bin = cms.string('0.000<=abs(eta) && abs(eta)<0.087'),
0177     et  = cms.string('et * (sqrt(0.0334^2 + (1.221/sqrt(et))^2 + (4.7/et)^2))'),
0178     eta = cms.string('sqrt(0.00809^2 + (0/sqrt(et))^2 + (1.5398/et)^2)'),
0179     phi = cms.string('sqrt(0.00783^2 + (0/sqrt(et))^2 + (2.581/et)^2)'),
0180     ),
0181     cms.PSet(
0182     bin = cms.string('0.087<=abs(eta) && abs(eta)<0.174'),
0183     et  = cms.string('et * (sqrt(0.0485^2 + (1.146/sqrt(et))^2 + (5.44/et)^2))'),
0184     eta = cms.string('sqrt(0.00847^2 + (0/sqrt(et))^2 + (1.5396/et)^2)'),
0185     phi = cms.string('sqrt(0.00691^2 + (0/sqrt(et))^2 + (2.633/et)^2)'),
0186     ),
0187     cms.PSet(
0188     bin = cms.string('0.174<=abs(eta) && abs(eta)<0.261'),
0189     et  = cms.string('et * (sqrt(0.0531^2 + (1.122/sqrt(et))^2 + (5.65/et)^2))'),
0190     eta = cms.string('sqrt(0.00851^2 + (0/sqrt(et))^2 + (1.5647/et)^2)'),
0191     phi = cms.string('sqrt(0.00869^2 + (0/sqrt(et))^2 + (2.589/et)^2)'),
0192     ),
0193     cms.PSet(
0194     bin = cms.string('0.261<=abs(eta) && abs(eta)<0.348'),
0195     et  = cms.string('et * (sqrt(0.0436^2 + (1.139/sqrt(et))^2 + (5.6/et)^2))'),
0196     eta = cms.string('sqrt(0.00809^2 + (0/sqrt(et))^2 + (1.5762/et)^2)'),
0197     phi = cms.string('sqrt(0.00673^2 + (0/sqrt(et))^2 + (2.627/et)^2)'),
0198     ),
0199     cms.PSet(
0200     bin = cms.string('0.348<=abs(eta) && abs(eta)<0.435'),
0201     et  = cms.string('et * (sqrt(0.0499^2 + (1.111/sqrt(et))^2 + (5.55/et)^2))'),
0202     eta = cms.string('sqrt(0.00786^2 + (0/sqrt(et))^2 + (1.602/et)^2)'),
0203     phi = cms.string('sqrt(0.00767^2 + (0/sqrt(et))^2 + (2.62/et)^2)'),
0204     ),
0205     cms.PSet(
0206     bin = cms.string('0.435<=abs(eta) && abs(eta)<0.522'),
0207     et  = cms.string('et * (sqrt(0.0551^2 + (1.081/sqrt(et))^2 + (5.6/et)^2))'),
0208     eta = cms.string('sqrt(0.00832^2 + (0/sqrt(et))^2 + (1.6007/et)^2)'),
0209     phi = cms.string('sqrt(0.0057^2 + (0/sqrt(et))^2 + (2.645/et)^2)'),
0210     ),
0211     cms.PSet(
0212     bin = cms.string('0.522<=abs(eta) && abs(eta)<0.609'),
0213     et  = cms.string('et * (sqrt(0.0605^2 + (1.054/sqrt(et))^2 + (5.73/et)^2))'),
0214     eta = cms.string('sqrt(0.00838^2 + (0/sqrt(et))^2 + (1.5511/et)^2)'),
0215     phi = cms.string('sqrt(0.00577^2 + (0/sqrt(et))^2 + (2.603/et)^2)'),
0216     ),
0217     cms.PSet(
0218     bin = cms.string('0.609<=abs(eta) && abs(eta)<0.696'),
0219     et  = cms.string('et * (sqrt(0.0563^2 + (1.052/sqrt(et))^2 + (5.83/et)^2))'),
0220     eta = cms.string('sqrt(0.00882^2 + (0/sqrt(et))^2 + (1.5473/et)^2)'),
0221     phi = cms.string('sqrt(0.00715^2 + (0/sqrt(et))^2 + (2.569/et)^2)'),
0222     ),
0223     cms.PSet(
0224     bin = cms.string('0.696<=abs(eta) && abs(eta)<0.783'),
0225     et  = cms.string('et * (sqrt(0.0508^2 + (1.119/sqrt(et))^2 + (5.29/et)^2))'),
0226     eta = cms.string('sqrt(0.00858^2 + (0/sqrt(et))^2 + (1.5522/et)^2)'),
0227     phi = cms.string('sqrt(0.00657^2 + (0/sqrt(et))^2 + (2.605/et)^2)'),
0228     ),
0229     cms.PSet(
0230     bin = cms.string('0.783<=abs(eta) && abs(eta)<0.870'),
0231     et  = cms.string('et * (sqrt(0.0504^2 + (1.141/sqrt(et))^2 + (5.31/et)^2))'),
0232     eta = cms.string('sqrt(0.00811^2 + (0/sqrt(et))^2 + (1.618/et)^2)'),
0233     phi = cms.string('sqrt(0.00631^2 + (0/sqrt(et))^2 + (2.64/et)^2)'),
0234     ),
0235     cms.PSet(
0236     bin = cms.string('0.870<=abs(eta) && abs(eta)<0.957'),
0237     et  = cms.string('et * (sqrt(0.0591^2 + (1.132/sqrt(et))^2 + (5.37/et)^2))'),
0238     eta = cms.string('sqrt(0.00649^2 + (0.055/sqrt(et))^2 + (1.58/et)^2)'),
0239     phi = cms.string('sqrt(0.00659^2 + (0/sqrt(et))^2 + (2.612/et)^2)'),
0240     ),
0241     cms.PSet(
0242     bin = cms.string('0.957<=abs(eta) && abs(eta)<1.044'),
0243     et  = cms.string('et * (sqrt(0.0539^2 + (1.136/sqrt(et))^2 + (5.57/et)^2))'),
0244     eta = cms.string('sqrt(0.00806^2 + (0/sqrt(et))^2 + (1.6097/et)^2)'),
0245     phi = cms.string('sqrt(0.00654^2 + (0/sqrt(et))^2 + (2.631/et)^2)'),
0246     ),
0247     cms.PSet(
0248     bin = cms.string('1.044<=abs(eta) && abs(eta)<1.131'),
0249     et  = cms.string('et * (sqrt(0.0542^2 + (1.186/sqrt(et))^2 + (5.36/et)^2))'),
0250     eta = cms.string('sqrt(0.00801^2 + (0/sqrt(et))^2 + (1.6478/et)^2)'),
0251     phi = cms.string('sqrt(0.00707^2 + (0/sqrt(et))^2 + (2.645/et)^2)'),
0252     ),
0253     cms.PSet(
0254     bin = cms.string('1.131<=abs(eta) && abs(eta)<1.218'),
0255     et  = cms.string('et * (sqrt(0.0583^2 + (1.184/sqrt(et))^2 + (5.41/et)^2))'),
0256     eta = cms.string('sqrt(0.00834^2 + (0/sqrt(et))^2 + (1.6736/et)^2)'),
0257     phi = cms.string('sqrt(0.00603^2 + (0/sqrt(et))^2 + (2.681/et)^2)'),
0258     ),
0259     cms.PSet(
0260     bin = cms.string('1.218<=abs(eta) && abs(eta)<1.305'),
0261     et  = cms.string('et * (sqrt(0.0504^2 + (1.235/sqrt(et))^2 + (5.24/et)^2))'),
0262     eta = cms.string('sqrt(0.00935^2 + (0/sqrt(et))^2 + (1.7398/et)^2)'),
0263     phi = cms.string('sqrt(0.00738^2 + (0/sqrt(et))^2 + (2.707/et)^2)'),
0264     ),
0265     cms.PSet(
0266     bin = cms.string('1.305<=abs(eta) && abs(eta)<1.392'),
0267     et  = cms.string('et * (sqrt(0.055^2 + (1.239/sqrt(et))^2 + (5.57/et)^2))'),
0268     eta = cms.string('sqrt(0.0123^2 + (0/sqrt(et))^2 + (1.773/et)^2)'),
0269     phi = cms.string('sqrt(0.00726^2 + (0/sqrt(et))^2 + (2.765/et)^2)'),
0270     ),
0271     cms.PSet(
0272     bin = cms.string('1.392<=abs(eta) && abs(eta)<1.479'),
0273     et  = cms.string('et * (sqrt(0.028^2 + (1.351/sqrt(et))^2 + (5.09/et)^2))'),
0274     eta = cms.string('sqrt(0.01199^2 + (0/sqrt(et))^2 + (1.784/et)^2)'),
0275     phi = cms.string('sqrt(0.00808^2 + (0/sqrt(et))^2 + (2.912/et)^2)'),
0276     ),
0277     cms.PSet(
0278     bin = cms.string('1.479<=abs(eta) && abs(eta)<1.566'),
0279     et  = cms.string('et * (sqrt(0.016^2 + (1.317/sqrt(et))^2 + (5.48/et)^2))'),
0280     eta = cms.string('sqrt(0.013^2 + (0/sqrt(et))^2 + (1.747/et)^2)'),
0281     phi = cms.string('sqrt(0.00887^2 + (0/sqrt(et))^2 + (2.924/et)^2)'),
0282     ),
0283     cms.PSet(
0284     bin = cms.string('1.566<=abs(eta) && abs(eta)<1.653'),
0285     et  = cms.string('et * (sqrt(0.007^2 + (1.228/sqrt(et))^2 + (5.66/et)^2))'),
0286     eta = cms.string('sqrt(0.00981^2 + (0/sqrt(et))^2 + (1.702/et)^2)'),
0287     phi = cms.string('sqrt(0.00441^2 + (0/sqrt(et))^2 + (2.78/et)^2)'),
0288     ),
0289     cms.PSet(
0290     bin = cms.string('1.653<=abs(eta) && abs(eta)<1.740'),
0291     et  = cms.string('et * (sqrt(0.028^2 + (1.14/sqrt(et))^2 + (5.7/et)^2))'),
0292     eta = cms.string('sqrt(0.00943^2 + (0/sqrt(et))^2 + (1.777/et)^2)'),
0293     phi = cms.string('sqrt(0.00804^2 + (0/sqrt(et))^2 + (2.601/et)^2)'),
0294     ),
0295     cms.PSet(
0296     bin = cms.string('1.740<=abs(eta) && abs(eta)<1.830'),
0297     et  = cms.string('et * (sqrt(0.0274^2 + (1.112/sqrt(et))^2 + (5.48/et)^2))'),
0298     eta = cms.string('sqrt(0.01049^2 + (0.052/sqrt(et))^2 + (1.723/et)^2)'),
0299     phi = cms.string('sqrt(0.01001^2 + (0/sqrt(et))^2 + (2.515/et)^2)'),
0300     ),
0301     cms.PSet(
0302     bin = cms.string('1.830<=abs(eta) && abs(eta)<1.930'),
0303     et  = cms.string('et * (sqrt(0.0395^2 + (1.007/sqrt(et))^2 + (5.48/et)^2))'),
0304     eta = cms.string('sqrt(0.01144^2 + (0.075/sqrt(et))^2 + (1.584/et)^2)'),
0305     phi = cms.string('sqrt(0.01056^2 + (0/sqrt(et))^2 + (2.32/et)^2)'),
0306     ),
0307     cms.PSet(
0308     bin = cms.string('1.930<=abs(eta) && abs(eta)<2.043'),
0309     et  = cms.string('et * (sqrt(0.0503^2 + (0.82/sqrt(et))^2 + (5.59/et)^2))'),
0310     eta = cms.string('sqrt(0.01055^2 + (0.041/sqrt(et))^2 + (1.605/et)^2)'),
0311     phi = cms.string('sqrt(0.0109^2 + (0/sqrt(et))^2 + (2.183/et)^2)'),
0312     ),
0313     cms.PSet(
0314     bin = cms.string('2.043<=abs(eta) && abs(eta)<2.172'),
0315     et  = cms.string('et * (sqrt(0.0392^2 + (0.828/sqrt(et))^2 + (5.08/et)^2))'),
0316     eta = cms.string('sqrt(0.01093^2 + (0/sqrt(et))^2 + (1.599/et)^2)'),
0317     phi = cms.string('sqrt(0.01189^2 + (0/sqrt(et))^2 + (2.056/et)^2)'),
0318     ),
0319     cms.PSet(
0320     bin = cms.string('2.172<=abs(eta) && abs(eta)<2.322'),
0321     et  = cms.string('et * (sqrt(0.0461^2 + (0.769/sqrt(et))^2 + (4.73/et)^2))'),
0322     eta = cms.string('sqrt(0.01176^2 + (0/sqrt(et))^2 + (1.49/et)^2)'),
0323     phi = cms.string('sqrt(0.01082^2 + (0/sqrt(et))^2 + (1.906/et)^2)'),
0324     ),
0325     cms.PSet(
0326     bin = cms.string('2.322<=abs(eta) && abs(eta)<2.500'),
0327     et  = cms.string('et * (sqrt(0.0436^2 + (0.72/sqrt(et))^2 + (4.2/et)^2))'),
0328     eta = cms.string('sqrt(0.01413^2 + (0/sqrt(et))^2 + (1.522/et)^2)'),
0329     phi = cms.string('sqrt(0.01097^2 + (0/sqrt(et))^2 + (1.82/et)^2)'),
0330     )
0331     ),
0332                                         constraints = cms.vdouble(0)
0333                                         )
0334 
0335 bjetResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0336                                         functions = cms.VPSet(
0337     cms.PSet(
0338     bin = cms.string('0.000<=abs(eta) && abs(eta)<0.087'),
0339     et  = cms.string('et * (sqrt(0.0897^2 + (1.091/sqrt(et))^2 + (6.01/et)^2))'),
0340     eta = cms.string('sqrt(0.00475^2 + (0/sqrt(et))^2 + (1.8057/et)^2)'),
0341     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.255/et)^2)'),
0342     ),
0343     cms.PSet(
0344     bin = cms.string('0.087<=abs(eta) && abs(eta)<0.174'),
0345     et  = cms.string('et * (sqrt(0.0814^2 + (1.218/sqrt(et))^2 + (5.36/et)^2))'),
0346     eta = cms.string('sqrt(0.00401^2 + (0/sqrt(et))^2 + (1.8376/et)^2)'),
0347     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.256/et)^2)'),
0348     ),
0349     cms.PSet(
0350     bin = cms.string('0.174<=abs(eta) && abs(eta)<0.261'),
0351     et  = cms.string('et * (sqrt(0.0872^2 + (1.147/sqrt(et))^2 + (5.86/et)^2))'),
0352     eta = cms.string('sqrt(0.00447^2 + (0/sqrt(et))^2 + (1.8346/et)^2)'),
0353     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.24/et)^2)'),
0354     ),
0355     cms.PSet(
0356     bin = cms.string('0.261<=abs(eta) && abs(eta)<0.348'),
0357     et  = cms.string('et * (sqrt(0.0834^2 + (1.151/sqrt(et))^2 + (5.75/et)^2))'),
0358     eta = cms.string('sqrt(0.00434^2 + (0/sqrt(et))^2 + (1.8592/et)^2)'),
0359     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.269/et)^2)'),
0360     ),
0361     cms.PSet(
0362     bin = cms.string('0.348<=abs(eta) && abs(eta)<0.435'),
0363     et  = cms.string('et * (sqrt(0.0926^2 + (1.085/sqrt(et))^2 + (5.68/et)^2))'),
0364     eta = cms.string('sqrt(0.00466^2 + (0/sqrt(et))^2 + (1.8458/et)^2)'),
0365     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.241/et)^2)'),
0366     ),
0367     cms.PSet(
0368     bin = cms.string('0.435<=abs(eta) && abs(eta)<0.522'),
0369     et  = cms.string('et * (sqrt(0.0724^2 + (1.226/sqrt(et))^2 + (5.36/et)^2))'),
0370     eta = cms.string('sqrt(0.00482^2 + (0/sqrt(et))^2 + (1.8723/et)^2)'),
0371     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.263/et)^2)'),
0372     ),
0373     cms.PSet(
0374     bin = cms.string('0.522<=abs(eta) && abs(eta)<0.609'),
0375     et  = cms.string('et * (sqrt(0.0697^2 + (1.253/sqrt(et))^2 + (4.94/et)^2))'),
0376     eta = cms.string('sqrt(0.00566^2 + (0/sqrt(et))^2 + (1.8605/et)^2)'),
0377     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.201/et)^2)'),
0378     ),
0379     cms.PSet(
0380     bin = cms.string('0.609<=abs(eta) && abs(eta)<0.696'),
0381     et  = cms.string('et * (sqrt(0.0823^2 + (1.095/sqrt(et))^2 + (6.1/et)^2))'),
0382     eta = cms.string('sqrt(0.00539^2 + (0/sqrt(et))^2 + (1.859/et)^2)'),
0383     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.26/et)^2)'),
0384     ),
0385     cms.PSet(
0386     bin = cms.string('0.696<=abs(eta) && abs(eta)<0.783'),
0387     et  = cms.string('et * (sqrt(0.079^2 + (1.171/sqrt(et))^2 + (5.35/et)^2))'),
0388     eta = cms.string('sqrt(0.00561^2 + (0/sqrt(et))^2 + (1.862/et)^2)'),
0389     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.225/et)^2)'),
0390     ),
0391     cms.PSet(
0392     bin = cms.string('0.783<=abs(eta) && abs(eta)<0.870'),
0393     et  = cms.string('et * (sqrt(0.0855^2 + (1.141/sqrt(et))^2 + (5.47/et)^2))'),
0394     eta = cms.string('sqrt(0.00492^2 + (0/sqrt(et))^2 + (1.879/et)^2)'),
0395     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.226/et)^2)'),
0396     ),
0397     cms.PSet(
0398     bin = cms.string('0.870<=abs(eta) && abs(eta)<0.957'),
0399     et  = cms.string('et * (sqrt(0.0856^2 + (1.173/sqrt(et))^2 + (5.3/et)^2))'),
0400     eta = cms.string('sqrt(0.00562^2 + (0/sqrt(et))^2 + (1.882/et)^2)'),
0401     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.219/et)^2)'),
0402     ),
0403     cms.PSet(
0404     bin = cms.string('0.957<=abs(eta) && abs(eta)<1.044'),
0405     et  = cms.string('et * (sqrt(0.086^2 + (1.199/sqrt(et))^2 + (5.09/et)^2))'),
0406     eta = cms.string('sqrt(0.00426^2 + (0/sqrt(et))^2 + (1.906/et)^2)'),
0407     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.248/et)^2)'),
0408     ),
0409     cms.PSet(
0410     bin = cms.string('1.044<=abs(eta) && abs(eta)<1.131'),
0411     et  = cms.string('et * (sqrt(0.0702^2 + (1.326/sqrt(et))^2 + (4.36/et)^2))'),
0412     eta = cms.string('sqrt(0.00429^2 + (0/sqrt(et))^2 + (1.938/et)^2)'),
0413     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.256/et)^2)'),
0414     ),
0415     cms.PSet(
0416     bin = cms.string('1.131<=abs(eta) && abs(eta)<1.218'),
0417     et  = cms.string('et * (sqrt(0.0628^2 + (1.406/sqrt(et))^2 + (3.43/et)^2))'),
0418     eta = cms.string('sqrt(0.00232^2 + (0/sqrt(et))^2 + (2.012/et)^2)'),
0419     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.263/et)^2)'),
0420     ),
0421     cms.PSet(
0422     bin = cms.string('1.218<=abs(eta) && abs(eta)<1.305'),
0423     et  = cms.string('et * (sqrt(0.0878^2 + (1.235/sqrt(et))^2 + (5.27/et)^2))'),
0424     eta = cms.string('sqrt(0.00652^2 + (0/sqrt(et))^2 + (2.03/et)^2)'),
0425     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.335/et)^2)'),
0426     ),
0427     cms.PSet(
0428     bin = cms.string('1.305<=abs(eta) && abs(eta)<1.392'),
0429     et  = cms.string('et * (sqrt(0.0923^2 + (1.255/sqrt(et))^2 + (4.99/et)^2))'),
0430     eta = cms.string('sqrt(0.00909^2 + (0/sqrt(et))^2 + (2.046/et)^2)'),
0431     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.462/et)^2)'),
0432     ),
0433     cms.PSet(
0434     bin = cms.string('1.392<=abs(eta) && abs(eta)<1.479'),
0435     et  = cms.string('et * (sqrt(0.085^2 + (1.327/sqrt(et))^2 + (4.66/et)^2))'),
0436     eta = cms.string('sqrt(0.00787^2 + (0/sqrt(et))^2 + (2.158/et)^2)'),
0437     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.632/et)^2)'),
0438     ),
0439     cms.PSet(
0440     bin = cms.string('1.479<=abs(eta) && abs(eta)<1.566'),
0441     et  = cms.string('et * (sqrt(0.0929^2 + (1.257/sqrt(et))^2 + (4.87/et)^2))'),
0442     eta = cms.string('sqrt(0.01016^2 + (0/sqrt(et))^2 + (2.111/et)^2)'),
0443     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.668/et)^2)'),
0444     ),
0445     cms.PSet(
0446     bin = cms.string('1.566<=abs(eta) && abs(eta)<1.653'),
0447     et  = cms.string('et * (sqrt(0.057^2 + (1.452/sqrt(et))^2 + (3.11/et)^2))'),
0448     eta = cms.string('sqrt(0.00405^2 + (0/sqrt(et))^2 + (2.118/et)^2)'),
0449     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.42/et)^2)'),
0450     ),
0451     cms.PSet(
0452     bin = cms.string('1.653<=abs(eta) && abs(eta)<1.740'),
0453     et  = cms.string('et * (sqrt(0.0825^2 + (1.222/sqrt(et))^2 + (4.76/et)^2))'),
0454     eta = cms.string('sqrt(0.0029^2 + (0/sqrt(et))^2 + (2.138/et)^2)'),
0455     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.223/et)^2)'),
0456     ),
0457     cms.PSet(
0458     bin = cms.string('1.740<=abs(eta) && abs(eta)<1.830'),
0459     et  = cms.string('et * (sqrt(0.0679^2 + (1.234/sqrt(et))^2 + (4.62/et)^2))'),
0460     eta = cms.string('sqrt(0.0041^2 + (0/sqrt(et))^2 + (2.158/et)^2)'),
0461     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (3.018/et)^2)'),
0462     ),
0463     cms.PSet(
0464     bin = cms.string('1.830<=abs(eta) && abs(eta)<1.930'),
0465     et  = cms.string('et * (sqrt(0.0651^2 + (1.186/sqrt(et))^2 + (4.32/et)^2))'),
0466     eta = cms.string('sqrt(0.00454^2 + (0/sqrt(et))^2 + (2.04/et)^2)'),
0467     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2.839/et)^2)'),
0468     ),
0469     cms.PSet(
0470     bin = cms.string('1.930<=abs(eta) && abs(eta)<2.043'),
0471     et  = cms.string('et * (sqrt(0.062^2 + (1.117/sqrt(et))^2 + (4.07/et)^2))'),
0472     eta = cms.string('sqrt(0.004^2 + (0/sqrt(et))^2 + (1.963/et)^2)'),
0473     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2.624/et)^2)'),
0474     ),
0475     cms.PSet(
0476     bin = cms.string('2.043<=abs(eta) && abs(eta)<2.172'),
0477     et  = cms.string('et * (sqrt(0.1^2 + (1.1/sqrt(et))^2 + (4.1/et)^2))'),
0478     eta = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2/et)^2)'),
0479     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2.6/et)^2)'),
0480     ),
0481     cms.PSet(
0482     bin = cms.string('2.172<=abs(eta) && abs(eta)<2.322'),
0483     et  = cms.string('et * (sqrt(0.0707^2 + (0.939/sqrt(et))^2 + (3.91/et)^2))'),
0484     eta = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (1.7876/et)^2)'),
0485     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2.223/et)^2)'),
0486     ),
0487     cms.PSet(
0488     bin = cms.string('2.322<=abs(eta) && abs(eta)<2.500'),
0489     et  = cms.string('et * (sqrt(0.018^2 + (1.017/sqrt(et))^2 + (3.31/et)^2))'),
0490     eta = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (1.802/et)^2)'),
0491     phi = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (2.104/et)^2)'),
0492     ),
0493     ),
0494                                         constraints = cms.vdouble(0)
0495                                         )
0496 
0497 metResolution  = stringResolution.clone(parametrization = 'EtEtaPhi',
0498                                         functions = cms.VPSet(
0499     cms.PSet(
0500     bin = cms.string('-3.000<=abs(eta) && abs(eta)<3.000'),
0501     et  = cms.string('et * (sqrt(0^2 + (1.597/sqrt(et))^2 + (19.37/et)^2))'),
0502     eta = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (0/et)^2)'),
0503     phi = cms.string('sqrt(0^2 + (0.498/sqrt(et))^2 + (22.468/et)^2)'),
0504     ),
0505     ),
0506                                         constraints = cms.vdouble(0)
0507                                         )