-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Update of mkFit for 12_1_0_pre4 #35492
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
Changes from 2 commits
2bd2518
349e25f
423b028
494a85d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,35 +6,107 @@ | |||||
| #include "RecoTracker/MkFit/interface/MkFitGeometry.h" | ||||||
|
|
||||||
| // mkFit includes | ||||||
| #include "Track.h" | ||||||
| #include "TrackerInfo.h" | ||||||
| #include "mkFit/HitStructures.h" | ||||||
| #include "mkFit/IterationConfig.h" | ||||||
|
|
||||||
| namespace { | ||||||
| using namespace mkfit; | ||||||
|
|
||||||
| void partitionSeeds0(const TrackerInfo &trk_info, | ||||||
| const TrackVec &in_seeds, | ||||||
| const EventOfHits &eoh, | ||||||
| IterationSeedPartition &part) { | ||||||
| const int size = in_seeds.size(); | ||||||
|
|
||||||
| for (int i = 0; i < size; ++i) { | ||||||
|
||||||
| for (int i = 0; i < size; ++i) { | |
| for (size_t i = 0; i < size; ++i) { |
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, thanks.
Outdated
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.
| float eta = eoh[hot.layer].GetHit(hot.index).eta(); | |
| const float eta = eoh[hot.layer].GetHit(hot.index).eta(); |
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, thanks.
Outdated
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.
| float maxR = S.maxReachRadius(); | |
| const float maxR = S.maxReachRadius(); |
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, thanks.
Outdated
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.
perhaps these magic numbers need to be put into a constexpr or clarified via a comment?
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: a constexpr is now used and a comment has been added to explain the point of this line. Thanks!
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.
perhaps?
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, thanks.