CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/recoLayer0/stringResolutionProvider_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 stringResolution = cms.ESProducer("StringResolutionProviderESProducer",
00004   ## specify parametrization (see
00005   ## SWGuidePATKinematicResolutions for more details)
00006   parametrization = cms.string ('EtEtaPhi'),
00007   functions = cms.VPSet(
00008     cms.PSet(
00009       ## set the eta bin as selection string.(optional)
00010       ## See SWGuidePhysicsCutParser for more details
00011       bin = cms.string(""),
00012       ## define resolution functions of each parameter
00013       et  = cms.string("et * (sqrt(0.08^2 + (1./sqrt(et))^2 + (5./et)^2))"),
00014       eta = cms.string("sqrt(0.008^2 + (1.5/et)^2)"),
00015       phi = cms.string("sqrt(0.008^2 + (2.6/et)^2)"),
00016     ),
00017   ),
00018   ## add constraints (depending on the choice of para-
00019   ## metrization); for et/eta/phi this has to be set
00020   ## to 0 (have a look at SWGuidePATKinematicResolutions
00021   ## for more details)
00022   constraints = cms.vdouble(0)
00023 )