-
Notifications
You must be signed in to change notification settings - Fork 26
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
Don't use radiusOfInnermostHit
from EDM4hep tracks
#202
Conversation
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.
Only a few spurious stream operations that can be removed.
std::stringstream error; | ||
error << "Wrong data in tracks collection, expected 1, 2.1, 3, 4.1, 5.1, 6.1 got " << tracks[0].getType() | ||
<< ", " << tracks[0].getChi2() << ", " << tracks[0].getNdf() << ", " | ||
<< tracks[0].getRadiusOfInnermostHit() << ""; | ||
<< ", " << tracks[0].getChi2() << ", " << tracks[0].getNdf() << ""; |
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.
<< ", " << tracks[0].getChi2() << ", " << tracks[0].getNdf() << ""; | |
<< ", " << tracks[0].getChi2() << ", " << tracks[0].getNdf(); |
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.
I noticed and then forgot because I wanted to look at the whole repo... There were a few more occurrences but they should all be gone now.
std::stringstream error; | ||
error << "Wrong data in tracks collection, expected 1, 2.1, 3, 4.1, 5.1, 6.1 got " << tracks[0].getType() << ", " | ||
<< tracks[0].getChi2() << ", " << tracks[0].getNdf() << ", " << tracks[0].getRadiusOfInnermostHit() << ""; | ||
<< tracks[0].getChi2() << ", " << tracks[0].getNdf() << ""; |
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.
<< tracks[0].getChi2() << ", " << tracks[0].getNdf() << ""; | |
<< tracks[0].getChi2() << ", " << tracks[0].getNdf(); |
std::stringstream error; | ||
error << "Wrong data in tracks collection, expected 1, 2.1, 3, 4.1, 5.1, 6.1 got " << tracks.at(0).getType() | ||
<< ", " << tracks.at(0).getChi2() << ", " << tracks.at(0).getNdf() << ", " | ||
<< tracks.at(0).getRadiusOfInnermostHit() << ""; | ||
<< ", " << tracks.at(0).getChi2() << ", " << tracks.at(0).getNdf() << ""; |
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.
<< ", " << tracks.at(0).getChi2() << ", " << tracks.at(0).getNdf() << ""; | |
<< ", " << tracks.at(0).getChi2() << ", " << tracks.at(0).getNdf(); |
see key4hep/EDM4hep#326. Can be merged at any time, doesn't need key4hep/EDM4hep#326 first.
BEGINRELEASENOTES
radiusOfInnermostHit
from EDM4hep tracksENDRELEASENOTES