-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 tracking update #47067
base: master
Are you sure you want to change the base?
L1 tracking update #47067
Changes from 3 commits
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 | ||||
---|---|---|---|---|---|---|
|
@@ -72,6 +72,35 @@ namespace tmtt { | |||||
: L1track3D( | ||||||
settings, stubs, cellLocationHT, helixRphi, helixRz, 0.0, iPhiSec, iEtaReg, optoLinkID, mergedHTcell) {} | ||||||
|
||||||
// KF emulator: constructor | ||||||
L1track3D(Settings* settings, | ||||||
std::vector<Stub*> stubs, | ||||||
double qOverPt, | ||||||
double phi0, | ||||||
double z0, | ||||||
double tanLambda, | ||||||
double helixD0, | ||||||
int iPhiSec, | ||||||
int iEtaReg) | ||||||
: settings_(settings), | ||||||
stubs_(stubs), | ||||||
stubsConst_(std::vector<const Stub*>()), | ||||||
bestStubs_(std::unordered_set<const Stub*>()), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These have the same effect as default constructor, and are thus not needed.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
nLayers_(0), | ||||||
cellLocationHT_(0, 0), | ||||||
helixRphi_(qOverPt, phi0), | ||||||
helixRz_(z0, tanLambda), | ||||||
helixD0_(helixD0), | ||||||
iPhiSec_(iPhiSec), | ||||||
iEtaReg_(iEtaReg), | ||||||
optoLinkID_(0), | ||||||
mergedHTcell_(false), | ||||||
seedLayerType_(TrackletSeedType()), | ||||||
seedPS_(0), | ||||||
matchedTP_(nullptr), | ||||||
matchedStubs_(std::vector<const Stub*>()), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
nMatchedLayers_(0) {} | ||||||
|
||||||
~L1track3D() override = default; | ||||||
|
||||||
//--- Set/get optional info for tracklet tracks. | ||||||
|
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.
to avoid a copy.
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