CMS 3D CMS Logo

disableTrackMCMatch.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 #
3 def disableTrackMCMatch(process):
4 
5  if hasattr(process,'prunedTpClusterProducer'):
6  process.prunedTpClusterProducer.throwOnMissingCollections = cms.bool(False)
7 
8  if hasattr(process,'prunedTrackMCMatch'):
9  process.prunedTrackMCMatch.throwOnMissingTPCollection = cms.bool(False)
10 
11  return process
disableTrackMCMatch.disableTrackMCMatch
def disableTrackMCMatch(process)
Definition: disableTrackMCMatch.py:3