1 import FWCore.ParameterSet.Config
as cms
3 import RecoTracker.MkFit.mkFitGeometryESProducer_cfi
as mkFitGeometryESProducer_cfi
4 import RecoTracker.MkFit.mkFitSiPixelHitConverter_cfi
as mkFitSiPixelHitConverter_cfi
5 import RecoTracker.MkFit.mkFitSiStripHitConverter_cfi
as mkFitSiStripHitConverter_cfi
6 import RecoTracker.MkFit.mkFitEventOfHitsProducer_cfi
as mkFitEventOfHitsProducer_cfi
7 import RecoTracker.MkFit.mkFitSeedConverter_cfi
as mkFitSeedConverter_cfi
8 import RecoTracker.MkFit.mkFitIterationConfigESProducer_cfi
as mkFitIterationConfigESProducer_cfi
9 import RecoTracker.MkFit.mkFitProducer_cfi
as mkFitProducer_cfi
10 import RecoTracker.MkFit.mkFitOutputConverter_cfi
as mkFitOutputConverter_cfi
15 process.hltSiStripRawToClustersFacility.onDemand =
False
17 process.hltSiStripRecHits = SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone(
18 ClusterProducer =
"hltSiStripRawToClustersFacility",
19 StripCPE =
"hltESPStripCPEfromTrackAngle:hltESPStripCPEfromTrackAngle",
24 process.hltIter0PFLowPixelSeedsFromPixelTracks.includeFourthHit = cms.bool(
True)
26 process.hltMkFitGeometryESProducer = mkFitGeometryESProducer_cfi.mkFitGeometryESProducer.clone()
28 process.hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits = mkFitSiPixelHitConverter_cfi.mkFitSiPixelHitConverter.clone(
29 hits =
"hltSiPixelRecHits",
30 ttrhBuilder =
":hltESPTTRHBWithTrackAngle",
32 process.hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits = mkFitSiStripHitConverter_cfi.mkFitSiStripHitConverter.clone(
33 rphiHits =
"hltSiStripRecHits:rphiRecHit",
34 stereoHits =
"hltSiStripRecHits:stereoRecHit",
35 ttrhBuilder =
":hltESPTTRHBWithTrackAngle",
36 minGoodStripCharge = dict(refToPSet_ =
'HLTSiStripClusterChargeCutLoose'),
38 process.hltIter0PFlowCkfTrackCandidatesMkFitEventOfHits = mkFitEventOfHitsProducer_cfi.mkFitEventOfHitsProducer.clone(
39 pixelHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits",
40 stripHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits",
42 process.hltIter0PFlowCkfTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
43 seeds =
"hltIter0PFLowPixelSeedsFromPixelTracks",
44 ttrhBuilder =
":hltESPTTRHBWithTrackAngle",
46 process.hltIter0PFlowTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
47 ComponentName =
'hltIter0PFlowTrackCandidatesMkFitConfig',
48 config =
'RecoTracker/MkFit/data/mkfit-phase1-initialStep.json',
50 process.hltIter0PFlowCkfTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
51 pixelHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits",
52 stripHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits",
53 eventOfHits =
"hltIter0PFlowCkfTrackCandidatesMkFitEventOfHits",
54 seeds =
"hltIter0PFlowCkfTrackCandidatesMkFitSeeds",
55 config = (
'',
'hltIter0PFlowTrackCandidatesMkFitConfig'),
56 minGoodStripCharge = dict(refToPSet_ =
'HLTSiStripClusterChargeCutLoose'),
58 process.hltIter0PFlowCkfTrackCandidates = mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
59 seeds =
"hltIter0PFLowPixelSeedsFromPixelTracks",
60 mkFitEventOfHits =
"hltIter0PFlowCkfTrackCandidatesMkFitEventOfHits",
61 mkFitPixelHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits",
62 mkFitStripHits =
"hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits",
63 mkFitSeeds =
"hltIter0PFlowCkfTrackCandidatesMkFitSeeds",
64 tracks =
"hltIter0PFlowCkfTrackCandidatesMkFit",
65 ttrhBuilder =
":hltESPTTRHBWithTrackAngle",
66 propagatorAlong =
":PropagatorWithMaterialParabolicMf",
67 propagatorOpposite =
":PropagatorWithMaterialParabolicMfOpposite",
70 process.HLTDoLocalStripSequence += process.hltSiStripRecHits
71 process.HLTIterativeTrackingIteration0.replace(process.hltIter0PFlowCkfTrackCandidates,
72 process.hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits +
73 process.hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits +
74 process.hltIter0PFlowCkfTrackCandidatesMkFitEventOfHits +
75 process.hltIter0PFlowCkfTrackCandidatesMkFitSeeds +
76 process.hltIter0PFlowCkfTrackCandidatesMkFit +
77 process.hltIter0PFlowCkfTrackCandidates)