-
Notifications
You must be signed in to change notification settings - Fork 21
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
Update hcal prototype in reduced LDMX #1515
base: trunk
Are you sure you want to change the base?
Conversation
so when we try to run this inside ldmx-sw we get
I looked for hours now which of these could be unknown, but I didnt find it :/ |
What kind of test is running that gives: "Evaluator : unknown variable"? |
|
@cmantill can you confirm that you can reproduce the error? |
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.
OK, so I found two things:
- the config fails bc of the scoring planes, probably there is some overlap there --> if I switch if off, it works, see 280d315
- To check the overlap I tried to validated the detector, well, see The
validate_detector
is broken #1533
I think after the CI finishes I'm ready to sign this
So you are OK with not having SPs for now? |
Yes, unless you see where the problem is already, then let's fix it; otherwise having the SP is less crucial (right @SanjitMasanam , do you use the SP for anything at this point?) |
Correct, I don't use the SP for my studies so excluding them will be fine! |
OK it technically works, but we lost a lot of ECAL which makes no sense since only the HCAL was modified, I'm worried it might be because of the overlay CI results are in https://github.com/LDMX-Software/ldmx-sw/actions/runs/12956457526?pr=1515 |
With the new gold I dont really understand why these fluctuate back and forth, but the blue in this PR looks reasonable... We need to look into this in details, but I'm ok to merge this as is for now |
b637c79
to
6c7f08c
Compare
6c7f08c
to
8d48b72
Compare
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.
Actually (after Sanjit pointed out), the logs do say a bad config
[ ElectronCounter ] 762 info: Found 1 electrons (tracks) using input collection TriggerPadTracksY_
[ trigger ] 762 info: Got trigger energy cut 1500 for 1 electrons counted in the event.
[ trigger ] 762 info: Got trigger energy sum 5.31643; and decision is pass = true
[ TrigScintDigiPad1 ] 762 debug: Looping over hits in trigScintDigisPad1
[ TrigScintDigiPad2 ] 762 debug: Looping over hits in trigScintDigisPad2
[ TrigScintDigiPad3 ] 762 debug: Looping over hits in trigScintDigisPad3
[ fire ] 763 fatal: [BadConf] : Relative cell coordinates (-85.10, -30.82) mm derived from world coordinates (-30.82, 85.10) mm with layer = 0 and module = 0 are outside module hexagon
at /home/runner/work/ldmx-sw/ldmx-sw/DetDescr/src/DetDescr/EcalGeometry.cxx:174 in getID
we really need to fix that the CI fails if fire
returns fatal
, @tomeichlersmith
OK so we established that w/o this change the ecal part looks fine and run, with this change the ecal geometry is messed up... I do not understand how that's possible when we only add HCAL here... |
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
This resolves #1512
Check List
I successfully compiled ldmx-sw with my developments
I ran my developments and the following shows that they are successful:
I used
geant4
GDML reader (https://gitlab.cern.ch/geant4/geant4/tree/f18089fbc5147e33302b542e1135ebda79fcf18b/examples/extended/persistency/gdml/G01) in the updatedldmx-reduced-v2
directory.It compiled without problems (i.e. all variables/constants/volumes) are defined.
I visualized the changes
I do not have a nice
*.mac
file so that I can visualize the volumes. If anyone has that and could share it, that would be awesome.