cms-L1TK / cmssw

Fork of CMSSW where improvements to L1 tracking code are developed.
http://cms-sw.github.io/
Apache License 2.0
4 stars 5 forks source link

Fixed L1TrackNtupleMaker crash #223

Closed tomalin closed 1 year ago

tomalin commented 1 year ago

PR description:

PR description:

Fixes L1TrackNtupleMaker crash that as reported in https://github.com/cms-L1TK/cmssw/issues/218 occurs when running L1TrackNtupleMaker_cfg.py in HYBRID_NEWKF mode.

Fix consists of adding 30cm abs(z0) cut to L1TrackNTupleMaker to kill crazy tracks from KF. And setting cfg param HitPatternHelperSetup.useNewKF = True when using the New KF.

Jingyan95 commented 1 year ago

Thanks for fixing this. Looks good to me !