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(
"siTrackerGaussianSmearingRecHits"),
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"))
if(c.getParameter< edm::InputTag >("puppiValueMap").label().size()!=0)
def maskProducerFromClusterRemover