12 maskProducer = fastTrackerRecHitMaskProducer.clone(
13 minNumberOfLayersWithMeasBeforeFiltering = clusterRemover.minNumberOfLayersWithMeasBeforeFiltering,
14 TrackQuality = clusterRemover.TrackQuality,
15 trajectories = clusterRemover.trajectories,
17 if(hasattr(clusterRemover,
"trackClassifier")):
18 maskProducer.trackClassifier = clusterRemover.trackClassifier
19 if(hasattr(clusterRemover,
"oldClusterRemovalInfo")):
20 maskProducer.oldHitRemovalInfo = cms.InputTag(clusterRemover.oldClusterRemovalInfo.getModuleLabel().
replace(
"Clusters",
"Masks"))
23 def replace(string, replacements)
def maskProducerFromClusterRemover(clusterRemover)