CMS 3D CMS Logo

egmGsfElectronIDs_cff.py
Go to the documentation of this file.
1 # Misc loads for VID framework
3 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
4 
5 # Load the producer module to build full 5x5 cluster shapes and whatever
6 # else is needed for IDs
7 # NOTE: Presently this producer is not needed because all variables
8 # that it produces are already available as standard electron variables.
9 # When it is needed again, uncomment the lone below.
10 # Do not forget to also add "electronIDValueMapProducer" to the sequence
11 # defined below!
12 #
13 #from RecoEgamma.ElectronIdentification.ElectronIDValueMapProducer_cfi import *
14 
15 # Load the producer for MVA IDs. Make sure it is also added to the sequence!
18 
19 egmGsfElectronIDTask = cms.Task(
20  electronMVAVariableHelper,
21  electronMVAValueMapProducer,
22  egmGsfElectronIDs,
23  electronRegressionValueMapProducer
24 )
25 egmGsfElectronIDSequence = cms.Sequence(egmGsfElectronIDTask)