1 import FWCore.ParameterSet.Config
as cms
7 ALCARECOTkAlMinBiasFilterForSiPixelAli = copy.deepcopy(hltHighLevel)
8 ALCARECOTkAlMinBiasFilterForSiPixelAli.HLTPaths = [
'pathALCARECOTkAlMinBias']
9 ALCARECOTkAlMinBiasFilterForSiPixelAli.throw =
True
10 ALCARECOTkAlMinBiasFilterForSiPixelAli.TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"RECO")
21 SiPixelAliHighPuritySelector = AlignmentTrackSelector.clone(
22 applyBasicCuts =
True,
24 src =
'ALCARECOTkAlMinBias',
25 trackQualities = [
"highPurity"],
33 SiPixelAliTrackSelector = AlignmentTrackSelector.clone(
34 src =
'SiPixelAliTrackFitter',
35 applyBasicCuts =
True,
43 applyMultiplicityFilter =
False,
45 applyNHighestPt =
False,
48 applyIsolationCut =
False,
49 minHitIsolation = 0.8,
50 applyChargeCheck =
False,
51 minHitChargeStrip = 30.,
54 SiPixelAliTrackSelector.minHitsPerSubDet.inPIXEL = 2
65 SiPixelAliTrackRefitter0 = TrackRefitter.clone(
66 src =
'SiPixelAliHighPuritySelector',
67 NavigationSchool =
'',
70 SiPixelAliTrackRefitter1 = SiPixelAliTrackRefitter0.clone(
71 src =
'SiPixelAliTrackSelector'
76 from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff
import AlignmentProducer
77 SiPixelAliMilleAlignmentProducer = copy.deepcopy(AlignmentProducer)
78 SiPixelAliMilleAlignmentProducer.ParameterBuilder.Selector = cms.PSet(
79 alignParams = cms.vstring(
80 "PixelHalfBarrels,111111",
81 "PXECHalfCylinders,111111",
85 SiPixelAliMilleAlignmentProducer.doMisalignmentScenario =
False
88 SiPixelAliMilleAlignmentProducer.checkDbAlignmentValidity =
False
89 SiPixelAliMilleAlignmentProducer.applyDbAlignment =
True
90 SiPixelAliMilleAlignmentProducer.tjTkAssociationMapTag =
'SiPixelAliTrackRefitter1'
92 SiPixelAliMilleAlignmentProducer.algoConfig = MillePedeAlignmentAlgorithm
93 SiPixelAliMilleAlignmentProducer.algoConfig.mode =
'mille'
94 SiPixelAliMilleAlignmentProducer.algoConfig.runAtPCL =
True
95 SiPixelAliMilleAlignmentProducer.algoConfig.mergeBinaryFiles = cms.vstring()
96 SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile =
'milleBinary_0.dat'
97 SiPixelAliMilleAlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
99 BrokenLinesTrajectoryFactory
108 SiPixelAliTrackerTrackHitFilter = HitFilter.TrackerTrackHitFilter.clone(
109 src =
'SiPixelAliTrackRefitter0',
111 useTrajectories=
True,
113 replaceWithInactiveHits =
True,
114 rejectBadStoNHits =
True,
115 commands = cms.vstring(
"keep PXB",
"keep PXE",
"keep TIB",
"keep TID",
"keep TOB",
"keep TEC"),
116 stripAllInvalidHits =
False,
117 StoNcommands = cms.vstring(
"ALL 12.0"),
118 rejectLowAngleHits =
True,
119 TrackAngleCut = 0.17,
120 usePixelQualityFlag =
True
125 SiPixelAliTrackFitter = fitWithMaterial.ctfWithMaterialTracks.clone(
126 src =
'SiPixelAliTrackerTrackHitFilter',
128 NavigationSchool =
''
141 SiPixelAliMillePedeFileConverter = cms.EDProducer(
"MillePedeFileConverter",
143 fileDir = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.fileDir.value()),
144 inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile.value()),
146 fileBlobLabel = cms.string(
''),
151 seqALCARECOPromptCalibProdSiPixelAli = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAli*
154 SiPixelAliHighPuritySelector*
155 SiPixelAliTrackRefitter0*
156 SiPixelAliTrackerTrackHitFilter*
157 SiPixelAliTrackFitter*
158 SiPixelAliTrackSelector*
159 SiPixelAliTrackRefitter1*
160 SiPixelAliMilleAlignmentProducer*
161 SiPixelAliMillePedeFileConverter)