1 import FWCore.ParameterSet.Config
as cms
3 fastTrackerRecHitMaskProducer = cms.EDProducer(
4 "FastTrackerRecHitMaskProducer",
5 minNumberOfLayersWithMeasBeforeFiltering_ = cms.int32(0),
6 trackQuality = cms.string(
"hightPurity"),
7 trajectories = cms.InputTag(
"generalTracks"),
8 recHits = cms.InputTag(
"fastTrackerRecHits"),
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"))
def replace(string, replacements)
def maskProducerFromClusterRemover(clusterRemover)
if(threadIdxLocalY==0 &&threadIdxLocalX==0)