-
Notifications
You must be signed in to change notification settings - Fork 1
Adding realism to Hcal digitization and Hcal geometry #5
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.
Great work! More detailed discussion on parent PR.
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.
Review Round 2 🎉
Again, great work. I have two large(ish)-scale comments.
- Not sure what is "right", but it seems like the single-ended readout mode should still account for attenuation and time shift as the pulse travels down the bar to the chip.
- Don't mix ID types! All of the IDs that you use at your DIGI level (including single-ended readout!) should be digi IDs. Even if you decide to not account for attenuation and not define the end at which the single-ended bars are read-out. The types shouldn't mix.
Ok, I'm reporting back here about the testing. I really want to get this working becuase these tests look really useful. After a clean build of ldmx-sw/iss941 + Hcal/iss1, I also uncommented the following line so that the geometry test would run. Hcal/test/HcalGeometryTest.cxx Line 111 in 5a7474b
I have not been able to mimic the issue that you posted?Maybe there are two errors on top of each other...
And
Ok... so let's try to do the tests individually.
And
But running them together...
So I have confirmed what you've already told me 🎉 More InvestigationI've found using the
Ok ... so we are successfully testing a lot of the positions. I put in a print statement at the end of |
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 can't find a way to allow both of your tests to run with the ntuplizing uncommented without modifying Framework. I think for now, we should leave the ntuplizing commented-out and then we can uncomment it in the future when a patch to Framework is merged in.
The NtupleManager is a global singleton which is only destroyed when the DLL is unloaded. This means both of the HCal tests see the same NtupleManager object.
include/Hcal/HcalRecProducer.h
Outdated
/** | ||
* Grabs configure parameters from the python config file. | ||
*/ | ||
virtual void configure(framework::config::Parameters&); |
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.
See above comment on virtual methods.
Related to Hcal digitization PR in ldmx-sw