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,ffffff',
85 'TrackerTOBHalfBarrel,ffffff',
86 'TrackerTIDEndcap,ffffff',
87 'TrackerTECEndcap,ffffff'
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.mergeBinaryFiles = cms.vstring()
101 SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile =
'milleBinary_0.dat'
102 SiPixelAliMilleAlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
104 BrokenLinesTrajectoryFactory
113 SiPixelAliTrackerTrackHitFilter = HitFilter.TrackerTrackHitFilter.clone(
114 src =
'SiPixelAliTrackRefitter0',
116 useTrajectories=
True,
118 replaceWithInactiveHits =
True,
119 rejectBadStoNHits =
True,
120 commands = cms.vstring(
"keep PXB",
"keep PXE",
"keep TIB",
"keep TID",
"keep TOB",
"keep TEC"),
121 stripAllInvalidHits =
False,
122 StoNcommands = cms.vstring(
"ALL 12.0"),
123 rejectLowAngleHits =
True,
124 TrackAngleCut = 0.17,
125 usePixelQualityFlag =
True
130 SiPixelAliTrackFitter = fitWithMaterial.ctfWithMaterialTracks.clone(
131 src =
'SiPixelAliTrackerTrackHitFilter',
133 NavigationSchool =
''
146 SiPixelAliMillePedeFileConverter = cms.EDProducer(
"MillePedeFileConverter",
148 fileDir = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.fileDir.value()),
149 inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducer.algoConfig.binaryFile.value()),
151 fileBlobLabel = cms.string(
''),
156 seqALCARECOPromptCalibProdSiPixelAli = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAli*
159 SiPixelAliHighPuritySelector*
160 SiPixelAliTrackRefitter0*
161 SiPixelAliTrackerTrackHitFilter*
162 SiPixelAliTrackFitter*
163 SiPixelAliTrackSelector*
164 SiPixelAliTrackRefitter1*
165 SiPixelAliMilleAlignmentProducer*
166 SiPixelAliMillePedeFileConverter)
dont throw on unknown path names
dont throw on unknown path names