10 process.trackerClusterCheck.PixelClusterCollectionLabel =
'siPixelClustersPreSplitting'
11 process.initialStepSeedLayers.FPix.HitProducer =
'siPixelRecHitsPreSplitting'
12 process.initialStepSeedLayers.BPix.HitProducer =
'siPixelRecHitsPreSplitting'
13 process.initialStepHitQuadruplets.SeedComparitorPSet.clusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
14 process.initialStepSeeds.SeedComparitorPSet.ClusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
15 if hasattr(process.initialStepTrackCandidates,
"measurementTrackerEvent"):
17 process.initialStepTrackCandidates.measurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
18 process.initialStepTrackCandidatesMkFitInput.pixelRecHits =
"siPixelRecHitsPreSplitting"
20 process.initialStepTrackCandidates.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
21 process.initialStepTracks.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
22 process.iterTrackingTask = cms.Task(process.trackerClusterCheck,
23 process.InitialStepTask)
27 process.cutsRecoTracksInitialStep,
28 process.cutsRecoTracksPt09InitialStep,
29 process.cutsRecoTracksFromPVInitialStep,
30 process.cutsRecoTracksFromPVPt09InitialStep,
32 selector.algorithm = []
34 selector.src =
"initialStepTracks"
35 selector.vertexTag =
"firstStepPrimaryVertices"
37 process.trackingParticleRecoTrackAsssociationPreSplitting = process.trackingParticleRecoTrackAsssociation.clone(
38 label_tr =
"initialStepTracks",
39 associator =
"quickTrackAssociatorByHitsPreSplitting",
41 process.VertexAssociatorByPositionAndTracksPreSplitting = process.VertexAssociatorByPositionAndTracks.clone(
42 trackAssociation =
"trackingParticleRecoTrackAsssociationPreSplitting"
46 def setInput(mtvs, labels):
48 mod = getattr(process, mtv)
50 mod.label_vertex =
"firstStepPrimaryVertices"
51 if mod.UseAssociators.value():
52 mod.associators = [
"quickTrackAssociatorByHitsPreSplitting"]
54 mod.associators = [
"trackingParticleRecoTrackAsssociationPreSplitting"]
55 mod.vertexAssociator =
"VertexAssociatorByPositionAndTracksPreSplitting"
56 mod.trackCollectionForDrCalculation =
"initialStepTracks"
57 mod.dodEdxPlots =
False
58 mod.doResolutionPlotsForLabels = []
60 setInput([
"trackValidatorTrackingOnly",
"trackValidatorAllTPEfficStandalone",
61 "trackValidatorTPPtLess09Standalone",
"trackValidatorBHadronTrackingOnly"],
62 [
"cutsRecoTracksInitialStep",
"cutsRecoTracksPt09InitialStep"])
63 setInput([
"trackValidatorFromPVStandalone",
"trackValidatorFromPVAllTPStandalone"],
64 [
"cutsRecoTracksFromPVInitialStep",
"cutsRecoTracksFromPVPt09InitialStep"])
65 setInput([
"trackValidatorSeedingTrackingOnly"], [
"seedTracksinitialStepSeeds"])
66 setInput([
"trackValidatorBuilding"], [
"initialStepTracks"])
67 process.trackValidatorBuilding.mvaLabels = cms.untracked.PSet(initialStepTracks = cms.untracked.vstring(
'initialStep'))
69 process.tracksPreValidationTrackingOnly = cms.Task(
70 process.cutsRecoTracksInitialStep,
71 process.cutsRecoTracksPt09InitialStep,
72 process.cutsRecoTracksFromPVInitialStep,
73 process.cutsRecoTracksFromPVPt09InitialStep,
74 process.tracksValidationTruth,
75 process.trackingParticlesSignal,
76 process.trackingParticlesBHadron,
77 process.trackingParticleRecoTrackAsssociationPreSplitting,
78 process.VertexAssociatorByPositionAndTracksPreSplitting,
80 process.trackValidatorsTrackingOnly.remove(process.trackValidatorConversionTrackingOnly)
81 process.trackValidatorsTrackingOnly.remove(process.trackValidatorSeedingPreSplittingTrackingOnly)
82 process.trackValidatorsTrackingOnly.remove(process.trackValidatorBuildingPreSplitting)
85 process.globalPrevalidationTrackingOnly.remove(process.vertexValidationTrackingOnly)