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,
"initialStepTrackCandidatesMkFitHits"):
16 process.initialStepTrackCandidatesMkFitHits.pixelRecHits =
"siPixelRecHitsPreSplitting"
17 if hasattr(process.initialStepTrackCandidates,
"MeasurementTrackerEvent"):
18 process.initialStepTrackCandidates.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
19 process.initialStepTracks.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
20 process.iterTrackingTask = cms.Task(process.trackerClusterCheck,
21 process.InitialStepTask)
25 process.cutsRecoTracksInitialStep,
26 process.cutsRecoTracksPt09InitialStep,
27 process.cutsRecoTracksFromPVInitialStep,
28 process.cutsRecoTracksFromPVPt09InitialStep,
30 selector.algorithm = []
32 selector.src =
"initialStepTracks"
33 selector.vertexTag =
"firstStepPrimaryVertices"
35 process.trackingParticleRecoTrackAsssociationPreSplitting = process.trackingParticleRecoTrackAsssociation.clone(
36 label_tr =
"initialStepTracks",
37 associator =
"quickTrackAssociatorByHitsPreSplitting",
39 process.VertexAssociatorByPositionAndTracksPreSplitting = process.VertexAssociatorByPositionAndTracks.clone(
40 trackAssociation =
"trackingParticleRecoTrackAsssociationPreSplitting"
44 def setInput(mtvs, labels):
46 mod = getattr(process, mtv)
48 mod.label_vertex =
"firstStepPrimaryVertices"
49 if mod.UseAssociators.value():
50 mod.associators = [
"quickTrackAssociatorByHitsPreSplitting"]
52 mod.associators = [
"trackingParticleRecoTrackAsssociationPreSplitting"]
53 mod.vertexAssociator =
"VertexAssociatorByPositionAndTracksPreSplitting"
54 mod.trackCollectionForDrCalculation =
"initialStepTracks"
55 mod.dodEdxPlots =
False
56 mod.doResolutionPlotsForLabels = []
58 setInput([
"trackValidatorTrackingOnly",
"trackValidatorAllTPEfficTrackingOnly",
59 "trackValidatorTPPtLess09TrackingOnly",
"trackValidatorBHadronTrackingOnly"],
60 [
"cutsRecoTracksInitialStep",
"cutsRecoTracksPt09InitialStep"])
61 setInput([
"trackValidatorFromPVTrackingOnly",
"trackValidatorFromPVAllTPTrackingOnly"],
62 [
"cutsRecoTracksFromPVInitialStep",
"cutsRecoTracksFromPVPt09InitialStep"])
63 setInput([
"trackValidatorSeedingTrackingOnly"], [
"seedTracksinitialStepSeeds"])
64 setInput([
"trackValidatorBuilding"], [
"initialStepTracks"])
65 process.trackValidatorBuilding.mvaLabels = cms.untracked.PSet(initialStepTracks = cms.untracked.vstring(
'initialStep'))
67 process.tracksPreValidationTrackingOnly = cms.Task(
68 process.cutsRecoTracksInitialStep,
69 process.cutsRecoTracksPt09InitialStep,
70 process.cutsRecoTracksFromPVInitialStep,
71 process.cutsRecoTracksFromPVPt09InitialStep,
72 process.tracksValidationTruth,
73 process.trackingParticlesSignal,
74 process.trackingParticlesBHadron,
75 process.trackingParticleRecoTrackAsssociationPreSplitting,
76 process.VertexAssociatorByPositionAndTracksPreSplitting,
78 process.trackValidatorsTrackingOnly.remove(process.trackValidatorConversionTrackingOnly)
79 process.trackValidatorsTrackingOnly.remove(process.trackValidatorSeedingPreSplittingTrackingOnly)
80 process.trackValidatorsTrackingOnly.remove(process.trackValidatorBuildingPreSplitting)
83 process.globalPrevalidationTrackingOnly.remove(process.vertexValidationTrackingOnly)