1 import FWCore.ParameterSet.Config
as cms
3 def efficSet(nameIn, titleIn, numeratorIn, denominatorIn, typeIn="eff"):
4 pset = cms.PSet(name=cms.untracked.string(nameIn),
5 title=cms.untracked.string(titleIn),
6 numerator=cms.untracked.string(numeratorIn),
7 denominator=cms.untracked.string(denominatorIn),
8 type=cms.untracked.string(typeIn))