test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
egmPatElectronIDs_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
3 
5 
6 trivialCutFlowMD5 = central_id_registry.getMD5FromName(trivialCutFlow.idName)
7 
8 egmPatElectronIDs = cms.EDProducer(
9  "VersionedPatElectronIdProducer",
10  physicsObjectSrc = cms.InputTag('patElectrons'),
11  physicsObjectIDs = cms.VPSet( cms.PSet( idDefinition = trivialCutFlow,
12  idMD5 = cms.string(trivialCutFlowMD5) )
13  )
14 )
15