CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
versionedElectronIDProducer_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 egmGsfElectronIDs = cms.EDProducer(
9  "VersionedElectronIdProducer",
10  electronsArePAT = cms.bool(False),
11  electronIDs = cms.VPSet( cms.PSet( idName = trivialCutFlow.idName,
12  idDefinition = trivialCutFlow,
13  idMD5 = cms.string(trivialCutFlowMD5) )
14  )
15 )
16