-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implementation of crosstalk for ALLEGRO ECAL Barrel #82
Conversation
@@ -84,13 +90,41 @@ StatusCode CreateCaloCells::execute() { | |||
m_cellsMap.clear(); | |||
} | |||
|
|||
m_HitCellsMap.clear(); |
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.
Can you make m_HitCellsMap
just a local variable? This way you will not have to clear it in every event.
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 changed the name of the variable to "HitCellsMap" and made it local
Hi @zwu0922, can you update your branch to the latest upstream? |
Done. No conflict needs to be resolved |
Looks like the test does not include some recent development in k4FWCore? |
Hi @zwu0922 that is not the case, I'm able to compile your PR locally. The issue seems to be coming from the
|
are you using ALLEGRO v03 (11 layers in ECAL barrel) or v01,v02 (12 layers)? |
I used ALLEGRO v02 (12 layers) to test my code during the development. |
The test which fails is:
With
|
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.
Can you register this test in RecFCCeeCalorimeter/CMakeLists.txt
?
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 added the test at the end of CMakeLists.txt
|
Thanks, I see. The crosstalk computation does not depend on the number of layers. But of course, I will update the input to the test to match the ALLEGRO v03 design afterwards. |
Hi @zwu0922, can you adjust the input to the Also, your test
|
For ALLEGRO v03, the files needed for reconstruction can be found here Let me know where are the files you need, I will upload them there. And as you pointed out in a previous discussion, for the tests, you should be able to directly access these files with something like |
Hi @zwu0922 shall we finalize this? |
Sorry for the huge delay. I had a problem running the new ddsim for ALLEGRO v03 (Switching off the HCAL simulation always leads to a crash). That is why I didn't manage to adapt my development to ALLEGRO v03. I will contact Tong and others to sort it out as soon as possible and finalise the implementation of cross-talk emulation. |
Ok thanks, let me know when I can copy your files |
Thanks for the notice. I have adapted the test macro to ALLEGRO v03 |
I replaced the test macro for the cross-talk calculation by a modification of the digitisation script for ALLEGRO v03. There is no dependence on |
Thanks. Now I point all input root files in the test macro to the central directory for ALLEGRO v03. |
The following PR of k4FWCore has to be processed before this update:
key4hep/k4FWCore#193
New features:
The output file "output_test_EcalBarrel_crosstalk.root" contains the topo-clusters with crosstalk effect for 5 events.