-
Notifications
You must be signed in to change notification settings - Fork 19
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
Consolidate tools handling noise #98
Consolidate tools handling noise #98
Conversation
… specific segmentation class, improve naming of some methods
…stNoiseTool and set it to false by default to avoid having to specify the list of offsets in python
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.
Looks good to me!
The tests fail because they need this: key4hep/k4FWCore#214 |
@@ -44,7 +44,7 @@ StatusCode TopoCaloNoisyCells::initialize() { | |||
double readNoisyCells; | |||
double readNoisyCellsOffset; | |||
tree->SetBranchAddress("cellId", &readCellId); | |||
tree->SetBranchAddress("noiseLevel", &readNoisyCells); | |||
tree->SetBranchAddress("noiseLevel", &readNoisyCells); // would be better to call branch noiseRMS rather than noiseLevel |
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.
What is blocking to do it?
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 am not sure, this would mean that the noise map files have to be regenerated changing name to the rms branch. I would be ok with that but don’t want to disrupt the user who have already noise files at hand. What do you and @BrieucF prefer?
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.
Yes, we can handle this in another PR
Consolidate code of tools handling noise, improve readability, remove duplications, add tool to add noise to cells for fcc-ee.
Needs key4hep/k4FWCore#214