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 stringResolution = cms.ESProducer("StringResolutionProviderESProducer",
0004   ## specify parametrization (see
0005   ## SWGuidePATKinematicResolutions for more details)
0006   parametrization = cms.string ('EtEtaPhi'),
0007   functions = cms.VPSet(
0008     cms.PSet(
0009       ## set the eta bin as selection string.(optional)
0010       ## See SWGuidePhysicsCutParser for more details
0011       bin = cms.string(""),
0012       ## define resolution functions of each parameter
0013       et  = cms.string("et * (sqrt(0.08^2 + (1./sqrt(et))^2 + (5./et)^2))"),
0014       eta = cms.string("sqrt(0.008^2 + (1.5/et)^2)"),
0015       phi = cms.string("sqrt(0.008^2 + (2.6/et)^2)"),
0016     ),
0017   ),
0018   ## add constraints (depending on the choice of para-
0019   ## metrization); for et/eta/phi this has to be set
0020   ## to 0 (have a look at SWGuidePATKinematicResolutions
0021   ## for more details)
0022   constraints = cms.vdouble(0)
0023 )