1 import FWCore.ParameterSet.Config
as cms
2 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
6 trivialCutFlowMD5 = central_id_registry.getMD5FromName(trivialCutFlow.idName)
8 egmPatElectronIDs = cms.EDProducer(
9 "VersionedPatElectronIdProducer",
10 physicsObjectSrc = cms.InputTag(
'patElectrons'),
11 physicsObjectIDs = cms.VPSet( cms.PSet( idDefinition = trivialCutFlow,
12 idMD5 = cms.string(trivialCutFlowMD5) )