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"],
34 SiPixelAliTrackSelector = AlignmentTrackSelector.clone(
35 src =
'SiPixelAliTrackFitter',
36 applyBasicCuts =
True,
44 applyMultiplicityFilter =
False,
46 applyNHighestPt =
False,
49 applyIsolationCut =
False,
50 minHitIsolation = 0.8,
51 applyChargeCheck =
False,
52 minHitChargeStrip = 30.,
55 SiPixelAliTrackSelector.minHitsPerSubDet.inPIXEL = 2
66 SiPixelAliTrackRefitter0 = TrackRefitter.clone(
67 src =
'SiPixelAliHighPuritySelector',
68 NavigationSchool =
'',
71 SiPixelAliTrackRefitter1 = SiPixelAliTrackRefitter0.clone(
72 src =
'SiPixelAliTrackSelector'
77 from Alignment.CommonAlignmentProducer.TrackerAlignmentProducerForPCL_cff
import AlignmentProducer
78 SiPixelAliMilleAlignmentProducer = copy.deepcopy(AlignmentProducer)
79 SiPixelAliMilleAlignmentProducer.ParameterBuilder.Selector = cms.PSet(
80 alignParams = cms.vstring(
81 'TrackerTPBHalfBarrel,111111',
82 'TrackerTPEHalfCylinder,111111',
84 'TrackerTIBHalfBarrel,000000',
85 'TrackerTOBHalfBarrel,000000',
86 'TrackerTIDEndcap,000000',
87 'TrackerTECEndcap,000000'
91 SiPixelAliMilleAlignmentProducer.doMisalignmentScenario =
False
94 SiPixelAliMilleAlignmentProducer.checkDbAlignmentValidity =
False
95 SiPixelAliMilleAlignmentProducer.applyDbAlignment =
True
96 SiPixelAliMilleAlignmentProducer.tjTkAssociationMapTag =
'SiPixelAliTrackRefitter1'
98 SiPixelAliMilleAlignmentProducer.algoConfig = MillePedeAlignmentAlgorithm
99 SiPixelAliMilleAlignmentProducer.algoConfig.mode =
'mille'
100 SiPixelAliMilleAlignmentProducer.algoConfig.runAtPCL =
True
101 SiPixelAliMilleAlignmentProducer.algoConfig.mergeBinaryFiles = cms.vstring()
102 SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile =
'milleBinary_0.dat'
103 SiPixelAliMilleAlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
105 BrokenLinesTrajectoryFactory
114 SiPixelAliTrackerTrackHitFilter = HitFilter.TrackerTrackHitFilter.clone(
115 src =
'SiPixelAliTrackRefitter0',
117 useTrajectories=
True,
119 replaceWithInactiveHits =
True,
120 rejectBadStoNHits =
True,
121 commands = cms.vstring(
"keep PXB",
"keep PXE",
"keep TIB",
"keep TID",
"keep TOB",
"keep TEC"),
122 stripAllInvalidHits =
False,
123 StoNcommands = cms.vstring(
"ALL 12.0"),
124 rejectLowAngleHits =
True,
125 TrackAngleCut = 0.17,
126 usePixelQualityFlag =
True
131 SiPixelAliTrackFitter = fitWithMaterial.ctfWithMaterialTracks.clone(
132 src =
'SiPixelAliTrackerTrackHitFilter',
134 NavigationSchool =
''
147 SiPixelAliMillePedeFileConverter = cms.EDProducer(
"MillePedeFileConverter",
149 fileDir = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.fileDir.value()),
150 inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile.value()),
152 fileBlobLabel = cms.string(
''),
157 seqALCARECOPromptCalibProdSiPixelAli = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAli*
160 SiPixelAliHighPuritySelector*
161 SiPixelAliTrackRefitter0*
162 SiPixelAliTrackerTrackHitFilter*
163 SiPixelAliTrackFitter*
164 SiPixelAliTrackSelector*
165 SiPixelAliTrackRefitter1*
166 SiPixelAliMilleAlignmentProducer*
167 SiPixelAliMillePedeFileConverter)
dont throw on unknown path names
dont throw on unknown path names