-
Notifications
You must be signed in to change notification settings - Fork 31
PR for ALLEGRO digitization updates #173
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
base: main
Are you sure you want to change the base?
Conversation
RecFCCeeCalorimeter/src/components/CreateFCCeeCaloSignalShapes.h
Outdated
Show resolved
Hide resolved
RecFCCeeCalorimeter/src/components/CreateFCCeeCaloSignalShapes.cpp
Outdated
Show resolved
Hide resolved
RecFCCeeCalorimeter/src/components/CreateFCCeeCaloSignalShapes.cpp
Outdated
Show resolved
Hide resolved
|
Hello @SSinngh99 did you have time to look at the comments from my review? Also, would you please update the branch? |
| @@ -0,0 +1,155 @@ | |||
| /* | |||
| * Copyright (c) 2014-2024 Key4hep-Project. | |||
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.
| * Copyright (c) 2014-2024 Key4hep-Project. | |
| * Copyright (c) 2014-2025 Key4hep-Project. |
| @@ -0,0 +1,276 @@ | |||
| /* | |||
| * Copyright (c) 2014-2024 Key4hep-Project. | |||
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.
| * Copyright (c) 2014-2024 Key4hep-Project. | |
| * Copyright (c) 2014-2025 Key4hep-Project. |
|
|
||
| for (unsigned int i = 0; i < WhitenedPulse.size(); i++) { | ||
| WhitenedDigit.addToAmplitude(WhitenedPulse[i]); | ||
| // std::cout << "WhitenedPulse[" << i << "] = " << WhitenedPulse[i] << 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.
remove, or use debug() << ...
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.
| // std::cout << "Digits w/ noise, no mu subtraction[" << i << "] = " << Digits[i] << std::endl; | ||
| // std::cout << "Pulse after Mu subtraction[" << i << "] = " << Pulse[i] << 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.
remove, or use debug() << ..
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.
|
Hi @SSinngh99 |
Update copyright Co-authored-by: Giovanni Marchiori <[email protected]>
Fix indentation Co-authored-by: Giovanni Marchiori <[email protected]>
Fix indentation Co-authored-by: Giovanni Marchiori <[email protected]>
Remove debugging comments Co-authored-by: Giovanni Marchiori <[email protected]>
|
Hi @giovannimarchiori, |
|
Hi Sahibjeet, thanks for this PR. Could you please add a Doxygen like comment to the four new transformers introduced here? Something like this https://github.com/key4hep/k4RecTracker/blob/master/DCHdigi/include/DCHdigi_v02.h#L1-L55 |
|
Dear @BrieucF, I just pushed the doxygen like documentation for the transformers and all the relevant functions. Best Regards, |
|
Dear @BrieucF, I just pushed a few minor changes that fix the compilation warning. That seems to be why the build was failing. Best Regards, |
|
Hi Sahibjeet, the new test is failing: https://github.com/HEP-FCC/k4RecCalorimeter/actions/runs/19864787090/job/56968490717?pr=173#step:4:665 From a quick look, the problem is likely that the name of the input file is wrong in RecFCCeeCalorimeter/tests/options/runDigitizationAndMatchedFilter.py, it should be |
|
Hi @BrieucF, I tried using I am not sure if I need to make the file myself or not.... As for the NoiseInfoTest_New_Modded4InvCorr, that is a file which is produced as part of the AddNoise algorithm so we are okay on that front. Best Regards, |
BEGINRELEASENOTES
ENDRELEASENOTES