-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L1 tk dev 12 0 0 pre4 hph before rebase (not to be merged) #96
L1 tk dev 12 0 0 pre4 hph before rebase (not to be merged) #96
Conversation
I've verified L1TrackNtupleMaker_cfg.py runs and gives unchanged results. |
f388c9f
to
dca3e3c
Compare
@tschuh points out that for the new KF, the class TrackerTFP/interface/LayerEncoding.h determines the KF layer encoding, so you should check if calling this would significantly simplify the HitPatternHelper. |
I advise making clear in comments which part of HitPatternHelper are only needed to handle the case of the Old KF. (And also say somewhere in the code what is meant by Old KF). |
9ee1fa1
to
21a1c88
Compare
I am a bit hesitant at this one because:
|
b26fdf6
to
f78d843
Compare
f78d843
to
e45a509
Compare
e45a509
to
5063cd8
Compare
(z0_ - sm.z() + sm.r() * (cot_ + deltaTanL_ / 2)) / (sm.cosTilt() - sm.sinTilt() * (cot_ + deltaTanL_ / 2)); | ||
double d_m = | ||
(z0_ - sm.z() + sm.r() * (cot_ - deltaTanL_ / 2)) / (sm.cosTilt() - sm.sinTilt() * (cot_ - deltaTanL_ / 2)); | ||
// if (!(abs(d_p) < sm.numColumns() * sm.pitchCol() / 2. && abs(d_m) < sm.numColumns() * sm.pitchCol() / 2.)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please delete the out-commented lines of code (unless there is a particular reason they are kept?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
merged via #146 so closing this. |
The crash described in PR#94 is fixed with this new PR. I will create a separate PR to include changes made to ntuple maker that is requested by Chris.