-
Notifications
You must be signed in to change notification settings - Fork 2
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
Kalman simplest b field #195
Conversation
src/TMS_Bar.cpp
Outdated
@@ -76,11 +79,11 @@ bool TMS_Bar::FindModules(double xval, double yval, double zval) { | |||
// Do a sanity check (CHEATING!) | |||
// Know the bars are 1cm in z and 3.542cm in x | |||
if (zw != 10 || (xw != 35.42 && yw != 35.42)) { | |||
std::cerr << "width of " << NodeName << " not as expected!" << std::endl; | |||
std::cerr << "width of " << NodeName << " not as expected! (1cm deep, 1 3.542cm wide)" << std::endl; | |||
std::cerr << "xwidth: " << xw << std::endl; | |||
std::cerr << "ywidth: " << yw << std::endl; | |||
std::cerr << "zwidth: " << zw << std::endl; |
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.
This code (everything under the sanity check) was explicitly removed from a previous version. It breaks with any changes to the geometry. See some of the newer code here. I'm confused how this PR is adding this back in, and why it isn't labeled as an addition
@xiaoyan1997, I think you'd need to merge the conflicts before we can properly review. I definitely don't want to reintroduce the old sanity check which we removed. That will cause crashes |
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.
Thanks, this is perfect
No description provided.