@@ -32,40 +32,76 @@ def trackletConfig(process):
3232
3333# configures KF simulation in emulation chain
3434def oldKFConfig (process ):
35+ #===== Use HYBRID TRACKING (Tracklet pattern reco + TMTT KF -- requires tracklet C++ too) =====
3536 process .ProducerKF .Hybrid = True
37+ # Emulate dead/inefficient modules using the StubKiller code, with stubs killed according to the scenarios of the Stress Test group.
38+ # (0=Don't kill any stubs; 1-5 = Scenarios described in StubKiller.cc)
3639 process .ProducerKF .DeadModuleOpts .KillScenario = 0
40+ # Modify TMTT tracking to try to recover tracking efficiency in presence of dead modules. (Does nothing if KillScenario = 0).
3741 process .ProducerKF .DeadModuleOpts .KillRecover = False
42+ # Min track Pt that Hough Transform must find. Also used by StubCuts.KillLowPtStubs and by EtaPhiSectors.UseStubPhi.
3843 process .ProducerKF .HTArraySpecRphi .HoughMinPt = 2.
44+ # Optionally skip track digitisation if done internally inside fitting code.
3945 process .ProducerKF .TrackDigi .KF_skipTrackDigi = True
46+ # Digitize stub coords? If not, use floating point coords.
4047 process .ProducerKF .StubDigitize .EnableDigitize = False
48+ # Use an FPGA-friendly approximation to determine track angle dphi from bend in GP?
4149 process .ProducerKF .GeometricProc .UseApproxB = True
50+ # Gradient term of linear equation for approximating B
4251 process .ProducerKF .GeometricProc .BApprox_gradient = 0.886454
52+ # Intercept term of linear equation for approximating B
4353 process .ProducerKF .GeometricProc .BApprox_intercept = 0.504148
54+ # Divisions of Tracker at GP.
4455 process .ProducerKF .PhiSectors .NumPhiSectors = 9
56+ # Divisions of Tracker at DTC
4557 process .ProducerKF .PhiSectors .NumPhiNonants = 9
58+ # Use phi of track at this radius for assignment of stubs to phi sectors & also for one of the axes of the r-phi HT. If ChosenRofPhi=0, then use track phi0. - Should be an integer multiple of the stub r digitisation granularity.
4659 process .ProducerKF .PhiSectors .ChosenRofPhi = 55.
60+ # Eta boundaries for 16 eta regions
4761 process .ProducerKF .EtaSectors .EtaRegions = [- 2.4 , - 2.08 , - 1.68 , - 1.26 , - 0.90 , - 0.62 , - 0.41 , - 0.20 , 0.0 , 0.20 , 0.41 , 0.62 , 0.90 , 1.26 , 1.68 , 2.08 , 2.4 ]
62+ # Use z of track at this radius for assignment of tracks to eta sectors & also for one of the axes of the r-z HT. Do not set to zero!
4863 process .ProducerKF .EtaSectors .ChosenRofZ = 50.0
64+ # Fit will reject fitted tracks unless it can assign at least this number of stubs to them.
4965 process .ProducerKF .TrackFitSettings .KalmanMinNumStubs = 4
66+ # Fit will attempt to add up to this nummber of stubs to each fitted tracks, but won't bother adding more.
5067 process .ProducerKF .TrackFitSettings .KalmanMaxNumStubs = 6
68+ # Allow the KF to skip this many layers in total per track.
5169 process .ProducerKF .TrackFitSettings .KalmanMaxSkipLayersHard = 1
70+ # For HT tracks with few stubs
5271 process .ProducerKF .TrackFitSettings .KalmanMaxSkipLayersEasy = 2
72+ # Max stubs an HT track can have to be "easy".
5373 process .ProducerKF .TrackFitSettings .KalmanMaxStubsEasy = 10
74+ # KF will consider at most this #stubs per layer to save time.
5475 process .ProducerKF .TrackFitSettings .KalmanMaxStubsPerLayer = 4
76+ # Multiple scattering term - inflate hit phi errors by this divided by Pt (0.00075 gives best helix resolution & 0.00450 gives best chi2 distribution).
5577 process .ProducerKF .TrackFitSettings .KalmanMultiScattTerm = 0.00075
78+ # Scale down chi2 in r-phi plane by this factor to improve electron performance (should be power of 2)
5679 process .ProducerKF .TrackFitSettings .KalmanChi2RphiScale = 8
80+ # Disable "maybe layer" to match with firmware
5781 process .ProducerKF .TrackFitSettings .KFUseMaybeLayers = True
82+ # Remove requirement of at least 2 PS layers per track.
5883 process .ProducerKF .TrackFitSettings .KalmanRemove2PScut = True
84+ #--- Cuts applied to KF states as a function of the last KF tracker layer they had a stub in.
85+ # (If "4" or "5" in name, cut only applies to 4 or 5 param helix fit).
5986 process .ProducerKF .TrackFitSettings .KFLayerVsPtToler = [999. , 999. , 0.1 , 0.1 , 0.05 , 0.05 , 0.05 ]
87+ # d0 cut only applied to 5 param helix fit.
6088 process .ProducerKF .TrackFitSettings .KFLayerVsD0Cut5 = [999. , 999. , 999. , 10. , 10. , 10. , 10. ]
6189 process .ProducerKF .TrackFitSettings .KFLayerVsZ0Cut5 = [999. , 999. , 25.5 , 25.5 , 25.5 , 25.5 , 25.5 ]
6290 process .ProducerKF .TrackFitSettings .KFLayerVsZ0Cut4 = [999. , 999. , 15. , 15. , 15. , 15. , 15. ]
91+ # Chi2 cuts should be retuned if KalmanMultiScattTerm value changed.
6392 process .ProducerKF .TrackFitSettings .KFLayerVsChiSq5 = [999. , 999. , 10. , 30. , 80. , 120. , 160. ]
6493 process .ProducerKF .TrackFitSettings .KFLayerVsChiSq4 = [999. , 999. , 10. , 30. , 80. , 120. , 160. ]
94+ # For 5-param helix fits, calculate also beam-constrained helix params after fit is complete, & use them for duplicate removal if DupTrkAlgFit=1.
6595 process .ProducerKF .TrackFitSettings .KalmanAddBeamConstr = False
96+ # Use approx calc to account for non-radial endcap 2S modules corresponding to current FW, with no special treatment for tilted modules.
6697 process .ProducerKF .TrackFitSettings .KalmanHOfw = False
98+ # Treat z uncertainty in tilted barrel modules correctly.
6799 process .ProducerKF .TrackFitSettings .KalmanHOtilted = True
100+ # Projection from (r,phi) to (z,phi) for endcap 2S modules. (0=disable correction, 1=correct with offset, 2=correct with non-diagonal stub covariance matrix). -- Option 1 is easier in FPGA, but only works if fit adds PS stubs before 2S ones.
68101 process .ProducerKF .TrackFitSettings .KalmanHOprojZcorr = 1
102+ # Alpha correction for non-radial 2S endcap strips. (0=disable correction, 1=correct with offset, 2=correct with non-diagonal stub covariance matrix). -- Option 1 is easier in FPGA, but only works if fit adds PS stubs before 2S ones.
69103 process .ProducerKF .TrackFitSettings .KalmanHOalpha = 0
104+ # Higher order circle explansion terms for low Pt.
70105 process .ProducerKF .TrackFitSettings .KalmanHOhelixExp = True
106+ # Larger number has more debug printout. "1" is useful for understanding why tracks are lost, best combined with TrackFitCheat=True.
71107 process .ProducerKF .TrackFitSettings .KalmanDebugLevel = 0
0 commit comments