CMS 3D CMS Logo

Functions
customizeHLTIter0ToMkFit Namespace Reference

Functions

def customizeHLTIter0ToMkFit (process)
 

Function Documentation

◆ customizeHLTIter0ToMkFit()

def customizeHLTIter0ToMkFit.customizeHLTIter0ToMkFit (   process)

Definition at line 13 of file customizeHLTIter0ToMkFit.py.

13 def customizeHLTIter0ToMkFit(process):
14  # mkFit needs all clusters, so switch off the on-demand mode
15  process.hltSiStripRawToClustersFacility.onDemand = False
16 
17  process.hltSiStripRecHits = SiStripRecHitConverter_cfi.siStripMatchedRecHits.clone(
18  ClusterProducer = "hltSiStripRawToClustersFacility",
19  StripCPE = "hltESPStripCPEfromTrackAngle:hltESPStripCPEfromTrackAngle",
20  doMatching = False,
21  )
22 
23  # Use fourth hit if one is available
24  process.hltIter0PFLowPixelSeedsFromPixelTracks.includeFourthHit = cms.bool(True)
25 
26  process.hltMkFitGeometryESProducer = mkFitGeometryESProducer_cfi.mkFitGeometryESProducer.clone()
27 
28  process.hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits = mkFitSiPixelHitConverter_cfi.mkFitSiPixelHitConverter.clone(
29  hits = "hltSiPixelRecHits",
30  ttrhBuilder = ":hltESPTTRHBWithTrackAngle",
31  )
32  process.hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits = mkFitSiStripHitConverter_cfi.mkFitSiStripHitConverter.clone(
33  rphiHits = "hltSiStripRecHits:rphiRecHit",
34  stereoHits = "hltSiStripRecHits:stereoRecHit",
35  ttrhBuilder = ":hltESPTTRHBWithTrackAngle",
36  minGoodStripCharge = dict(refToPSet_ = 'HLTSiStripClusterChargeCutLoose'),
37  )
38  process.hltIter0PFlowCkfTrackCandidatesMkFitEventOfHits = mkFitEventOfHitsProducer_cfi.mkFitEventOfHitsProducer.clone(
39  pixelHits = "hltIter0PFlowCkfTrackCandidatesMkFitSiPixelHits",
40  stripHits = "hltIter0PFlowCkfTrackCandidatesMkFitSiStripHits",
41  )
42  process.hltIter0PFlowCkfTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
43  seeds = "hltIter0PFLowPixelSeedsFromPixelTracks",
44  ttrhBuilder = ":hltESPTTRHBWithTrackAngle",
45  )
46  process.hltIter0PFlowTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
47  ComponentName = 'hltIter0PFlowTrackCandidatesMkFitConfig',
48  config = 'RecoTracker/MkFit/data/mkfit-phase1-initialStep.json',
49  )
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'),
57  )
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",
68  )
69 
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)
78 
79  return process
customizeHLTIter0ToMkFit.customizeHLTIter0ToMkFit
def customizeHLTIter0ToMkFit(process)
Definition: customizeHLTIter0ToMkFit.py:13