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")
22 SiPixelAliHighPuritySelector = AlignmentTrackSelector.clone(
23 applyBasicCuts =
True,
25 src =
'ALCARECOTkAlMinBias',
26 trackQualities = [
"highPurity"],
35 SiPixelAliTrackSelector = AlignmentTrackSelector.clone(
36 src =
'SiPixelAliTrackFitter',
37 applyBasicCuts =
True,
46 applyMultiplicityFilter =
False,
48 applyNHighestPt =
False,
51 applyIsolationCut =
False,
52 minHitIsolation = 0.8,
53 applyChargeCheck =
False,
54 minHitChargeStrip = 30.,
57 SiPixelAliTrackSelector.minHitsPerSubDet.inPIXEL = 2
68 SiPixelAliTrackRefitter0 = TrackRefitter.clone(
69 src =
'SiPixelAliHighPuritySelector',
70 NavigationSchool =
'',
73 SiPixelAliTrackRefitter1 = SiPixelAliTrackRefitter0.clone(
74 src =
'SiPixelAliTrackSelector'
79 from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff
import AlignmentProducer
80 SiPixelAliMilleAlignmentProducer = copy.deepcopy(AlignmentProducer)
81 SiPixelAliMilleAlignmentProducer.ParameterBuilder.Selector = cms.PSet(
82 alignParams = cms.vstring(
83 "PixelHalfBarrels,111111",
84 "PXECHalfCylinders,111111",
88 SiPixelAliMilleAlignmentProducer.doMisalignmentScenario =
False
91 SiPixelAliMilleAlignmentProducer.checkDbAlignmentValidity =
False
92 SiPixelAliMilleAlignmentProducer.applyDbAlignment =
True
93 SiPixelAliMilleAlignmentProducer.tjTkAssociationMapTag =
'SiPixelAliTrackRefitter1'
95 SiPixelAliMilleAlignmentProducer.algoConfig = MillePedeAlignmentAlgorithm
96 SiPixelAliMilleAlignmentProducer.algoConfig.mode =
'mille'
97 SiPixelAliMilleAlignmentProducer.algoConfig.runAtPCL =
True
98 SiPixelAliMilleAlignmentProducer.algoConfig.mergeBinaryFiles = cms.vstring()
99 SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile =
'milleBinary_0.dat'
100 SiPixelAliMilleAlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
101 BrokenLinesBzeroTrajectoryFactory
103 SiPixelAliMilleAlignmentProducer.algoConfig.TrajectoryFactory.MomentumEstimate = 5
110 SiPixelAliTrackerTrackHitFilter = HitFilter.TrackerTrackHitFilter.clone(
111 src =
'SiPixelAliTrackRefitter0',
113 useTrajectories=
True,
115 replaceWithInactiveHits =
True,
116 rejectBadStoNHits =
True,
117 commands = cms.vstring(
"keep PXB",
"keep PXE",
"keep TIB",
"keep TID",
"keep TOB",
"keep TEC"),
118 stripAllInvalidHits =
False,
119 StoNcommands = cms.vstring(
"ALL 12.0"),
120 rejectLowAngleHits =
True,
121 TrackAngleCut = 0.17,
122 usePixelQualityFlag =
True
127 SiPixelAliTrackFitter = fitWithMaterial.ctfWithMaterialTracks.clone(
128 src =
'SiPixelAliTrackerTrackHitFilter',
130 NavigationSchool =
''
143 SiPixelAliMillePedeFileConverter = cms.EDProducer(
"MillePedeFileConverter",
145 fileDir = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.fileDir.value()),
146 inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile.value()),
148 fileBlobLabel = cms.string(
''),
153 seqALCARECOPromptCalibProdSiPixelAli = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAli*
156 SiPixelAliHighPuritySelector*
157 SiPixelAliTrackRefitter0*
158 SiPixelAliTrackerTrackHitFilter*
159 SiPixelAliTrackFitter*
160 SiPixelAliTrackSelector*
161 SiPixelAliTrackRefitter1*
162 SiPixelAliMilleAlignmentProducer*
163 SiPixelAliMillePedeFileConverter)