feat: add in-browser histogram panel using jsroot (#840)#843
Conversation
|
hey @sponce @EdwardMoyse , this adds the histogram panel from #840. @cohm mentioned he wants to test this with students in Stockholm on Monday so it would be great if you could take a quick look before then. happy to make changes if anything needs fixing! |
324c861 to
ece3b86
Compare
|
Sorry for taking so long to review this ... but it seems like it is not clean and pulls commits in from other PRs e.g. #831 ? |
Signed-off-by: Jyotiraditya Patel <jyotiraditya.dev@gmail.com>
ece3b86 to
28264da
Compare
|
Thanks for the update @rx18-eng - I confess I'm still a bit confused about what is happening in your video (and unfortunately, as noted elsewhere I'm not really an expert in the masterclasses, but I will follow up). But how is the histogram being filled? You would not get a z peak from one event - are you feeding in a bunch of tracks from different events? |
|
@rx18-eng - just a quick ping about my question above... as I said, I'm a bit confused about what is going on in the demo. |
|
@EdwardMoyse I have loaded 175 events in 3 phases and the z peak is a result of that ! I f you say I can also share with you the sample code I used :) . Also great to see you after a long time :) |
This is the exact scenario I demonstarted in the video ! |
Summary
What changed since first push
students. added separate ATLAS_JPSI_HISTOGRAM and ATLAS_WIDE_HISTOGRAM configs for other exercises
want
their own config
3-hour masterclass sessions
Test
Simulated a realistic Z-path masterclass session in the browser console ->175 events in 3 phases:
Uses Breit-Wigner + Gaussian smearing for realistic Z line shape. Includes wrong combos, out-of-range values, and edge cases.
video link
Closes #840