1 import FWCore.ParameterSet.Config
as cms
5 MyBeamSpot= RecoVertex.BeamSpotProducer.BeamSpot_cfi.offlineBeamSpot.clone()
22 import L1Trigger.Skimmer.l1Filter_cfi
23 ALCAl1Filter = L1Trigger.Skimmer.l1Filter_cfi.l1Filter.clone(
37 FittingSmootherCustomised =TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
38 ComponentName =
'FittingSmootherCustomised',
44 TrackRefitterCTF1 =RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone(
46 src=
'ALCARECOTkAlMinBias',
47 TTRHBuilder =
'WithAngleAndTemplate',
48 TrajectoryInEvent =
True,
55 AlignmentHitFilterCTF=RecoTracker.FinalTrackSelectors.TrackerTrackHitFilter_cff.TrackerTrackHitFilter.clone(
57 src =
'TrackRefitterCTF1',
58 commands = cms.vstring(
"keep PXB",
"keep PXE",
"keep TIB",
"keep TID",
"keep TOB",
"keep TEC"),
60 replaceWithInactiveHits =
True,
61 stripAllInvalidHits =
False,
62 rejectBadStoNHits =
True,
63 StoNcommands = cms.vstring(
"ALL 18.0"),
64 useTrajectories=
True,
65 rejectLowAngleHits=
True,
67 usePixelQualityFlag=
True,
68 PxlCorrClusterChargeCut=10000.0
74 ctfProducerCustomisedCTF = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff.ctfWithMaterialTracks.clone(
75 src =
'AlignmentHitFilterCTF',
76 beamSpot=
'MyBeamSpot',
78 TTRHBuilder =
'WithAngleAndTemplate',
79 TrajectoryInEvent =
True
85 ALCARECOTkAlMinBiasSkimmed= Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
87 src=
'ctfProducerCustomisedCTF',
103 TrackRefitterCTF2 =RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone(
105 src=
'ALCARECOTkAlMinBiasSkimmed',
106 TTRHBuilder =
'WithAngleAndTemplate',
107 TrajectoryInEvent =
True,
108 beamSpot=
'MyBeamSpot',
116 import Alignment.TrackerAlignment.TkAlCaOverlapTagger_cff
117 OverlapAssoMapCTF=Alignment.TrackerAlignment.TkAlCaOverlapTagger_cff.OverlapTagger.clone(
119 src=
'TrackRefitterCTF2',
121 Clustersrc=
'ALCARECOTkAlMinBiasSkimmed'
125 import Alignment.CommonAlignmentMonitor.AlignmentStats_cff
126 NewStatsCTF=Alignment.CommonAlignmentMonitor.AlignmentStats_cff.AlignmentStats.clone(
128 src=
'TrackRefitterCTF2',
129 OverlapAssoMap=
'OverlapAssoMapCTF',
130 keepTrackStats =
False,
132 TrkStatsFileName=
'TracksStatisticsCTF.root',
133 HitStatsFileName=
'HitMapsCTF.root',
140 seqALCARECOTkAlMinBiasSkimmed = cms.Sequence(MyBeamSpot+TrackRefitterCTF1+AlignmentHitFilterCTF+ctfProducerCustomisedCTF+ALCARECOTkAlMinBiasSkimmed+TrackRefitterCTF2+OverlapAssoMapCTF)