CMS 3D CMS Logo

Functions
egmPhotonIDs_cff Namespace Reference

Functions

def loadEgmIdSequence (process, dataFormat)
 

Function Documentation

◆ loadEgmIdSequence()

def egmPhotonIDs_cff.loadEgmIdSequence (   process,
  dataFormat 
)

Definition at line 5 of file egmPhotonIDs_cff.py.

Referenced by vid_id_tools.switchOnVIDPhotonIdProducer().

5 def loadEgmIdSequence(process, dataFormat):
6  process.load("RecoEgamma.PhotonIdentification.egmPhotonIDs_cfi")
7  from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
8 
9  # Load the producer for MVA IDs. Make sure it is also added to the sequence!
10  process.load("RecoEgamma.PhotonIdentification.PhotonMVAValueMapProducer_cfi")
11  process.egmPhotonIDTask = cms.Task()
12  # Add everything else other then isolation
13  process.egmPhotonIDTask.add(process.photonMVAValueMapProducer,
14  process.egmPhotonIDs)
15 
16  process.egmPhotonIDSequence = cms.Sequence(process.egmPhotonIDTask)
17 
def loadEgmIdSequence(process, dataFormat)