11 process.trackerClusterCheck.PixelClusterCollectionLabel =
'siPixelClustersPreSplitting'
12 process.initialStepSeedLayers.FPix.HitProducer =
'siPixelRecHitsPreSplitting'
13 process.initialStepSeedLayers.BPix.HitProducer =
'siPixelRecHitsPreSplitting'
14 process.initialStepHitQuadruplets.SeedComparitorPSet.clusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
15 process.initialStepSeeds.SeedComparitorPSet.ClusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
16 if hasattr(process,
"initialStepTrackCandidatesMkFitHits"):
17 process.initialStepTrackCandidatesMkFitHits.pixelRecHits =
"siPixelRecHitsPreSplitting"
18 if hasattr(process.initialStepTrackCandidates,
"MeasurementTrackerEvent"):
19 process.initialStepTrackCandidates.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
20 process.initialStepTracks.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
21 process.iterTrackingTask = cms.Task(process.trackerClusterCheck,
22 process.InitialStepTask)
26 process.cutsRecoTracksInitialStep,
27 process.cutsRecoTracksPt09InitialStep,
28 process.cutsRecoTracksFromPVInitialStep,
29 process.cutsRecoTracksFromPVPt09InitialStep,
31 selector.algorithm = []
33 selector.src =
"initialStepTracks"
34 selector.vertexTag =
"firstStepPrimaryVertices"
36 process.trackingParticleRecoTrackAsssociationPreSplitting = process.trackingParticleRecoTrackAsssociation.clone(
37 label_tr =
"initialStepTracks",
38 associator =
"quickTrackAssociatorByHitsPreSplitting",
40 process.VertexAssociatorByPositionAndTracksPreSplitting = process.VertexAssociatorByPositionAndTracks.clone(
41 trackAssociation =
"trackingParticleRecoTrackAsssociationPreSplitting"
45 def setInput(mtvs, labels):
47 mod = getattr(process, mtv)
49 mod.label_vertex =
"firstStepPrimaryVertices"
50 if mod.UseAssociators.value():
51 mod.associators = [
"quickTrackAssociatorByHitsPreSplitting"]
53 mod.associators = [
"trackingParticleRecoTrackAsssociationPreSplitting"]
54 mod.vertexAssociator =
"VertexAssociatorByPositionAndTracksPreSplitting"
55 mod.trackCollectionForDrCalculation =
"initialStepTracks"
56 mod.dodEdxPlots =
False
57 mod.doResolutionPlotsForLabels = []
59 setInput([
"trackValidatorTrackingOnly",
"trackValidatorAllTPEfficTrackingOnly",
60 "trackValidatorTPPtLess09TrackingOnly",
"trackValidatorBHadronTrackingOnly"],
61 [
"cutsRecoTracksInitialStep",
"cutsRecoTracksPt09InitialStep"])
62 setInput([
"trackValidatorFromPVTrackingOnly",
"trackValidatorFromPVAllTPTrackingOnly"],
63 [
"cutsRecoTracksFromPVInitialStep",
"cutsRecoTracksFromPVPt09InitialStep"])
64 setInput([
"trackValidatorSeedingTrackingOnly"], [
"seedTracksinitialStepSeeds"])
65 setInput([
"trackValidatorBuilding"], [
"initialStepTracks"])
66 process.trackValidatorBuilding.mvaLabels = cms.untracked.PSet(initialStepTracks = cms.untracked.vstring(
'initialStep'))
68 process.tracksPreValidationTrackingOnly = cms.Task(
69 process.cutsRecoTracksInitialStep,
70 process.cutsRecoTracksPt09InitialStep,
71 process.cutsRecoTracksFromPVInitialStep,
72 process.cutsRecoTracksFromPVPt09InitialStep,
73 process.tracksValidationTruth,
74 process.trackingParticlesSignal,
75 process.trackingParticlesBHadron,
76 process.trackingParticleRecoTrackAsssociationPreSplitting,
77 process.VertexAssociatorByPositionAndTracksPreSplitting,
79 process.trackValidatorsTrackingOnly.remove(process.trackValidatorConversionTrackingOnly)
80 process.trackValidatorsTrackingOnly.remove(process.trackValidatorSeedingPreSplittingTrackingOnly)
81 process.trackValidatorsTrackingOnly.remove(process.trackValidatorBuildingPreSplitting)
84 process.globalPrevalidationTrackingOnly.remove(process.vertexValidationTrackingOnly)