CMS 3D CMS Logo

Functions
FastTrackerRecHitMaskProducer_cfi Namespace Reference

Functions

def maskProducerFromClusterRemover (clusterRemover)
 

Function Documentation

def FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover (   clusterRemover)

Definition at line 11 of file FastTrackerRecHitMaskProducer_cfi.py.

References reco.if(), and python.rootplot.root2matplotlib.replace().

11 def maskProducerFromClusterRemover(clusterRemover):
12  maskProducer = fastTrackerRecHitMaskProducer.clone(
13  minNumberOfLayersWithMeasBeforeFiltering = clusterRemover.minNumberOfLayersWithMeasBeforeFiltering,
14  TrackQuality = clusterRemover.TrackQuality,
15  trajectories = clusterRemover.trajectories,
16  )
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"))
21  return maskProducer
22 
23 
def replace(string, replacements)
if(dp >Float(M_PI)) dp-