-
Notifications
You must be signed in to change notification settings - Fork 181
Add Tracker Phase 2 MC Validation Workspace #1351
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: master
Are you sure you want to change the base?
Conversation
|
Changes: |
|
Possibly important to note: "Add workspace" may be slightly misleading. The workspace existed but was unused. I have corrected the folder names and added layouts & quick collection to the already existing workspace. |
|
This looks very nice, but I do have one significant comment. |
I agree there's a lot going on in QC but at the moment we don't have histograms being made that can summarise it better. The QC only has basic Delta X & Y for each barrel layer/ IT endcap ring and nothing for TEDDs (they are on the layout page). If something affects only one layer or only one of clusters/RecHit/TrackingRecHit, QC has the bare minimum information available to detect it... With the ability to overlay the previous release's plots that Alessandro mentioned and the "play" button on the UI that cycles through the layouts in full screen, I think the validation process would only take 5-10 minutes each time. No zooming or scrolling needed. Perhaps when we make the TEDD summary plots discussed in the mattermost channel we could also do barrel summary, EPix summary, etc. and make those the QC display. If those summaries become To Dos for months, this current QC will still work. |
The P1 MC validation QuickCollection plots (e.g. https://tinyurl.com/25ttq6ck ) do not have separate histograms for each layer. They just have separate histograms for different large scale structures of the tracker, such as pixel barrel, strip barrel, pixel endcap etc. I assume the logic is that (1) It's quite hard to imagine a bug in the MC that would cause just one individual layer to go wrong; (2) If one layer does go wrong, it will be sufficient to give a visible discrepancy in the plot of these larger scale structures. |
| 'description': "Ring 10 Delta Y Strip"}] | ||
| ) | ||
|
|
||
| phase2tkmclayout(dqmitems, "TEDD1-/Ring11/514 - OT TrackingRecHit Endcap MINUS TEDD1 Ring11 Strip Delta X and Y", |
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.
Is this new code really adding about 2000 lines of python to the repo, with one line for every single histogram we need to add? Is there no clever way to have loops or add folders of histograms?
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 have created the equivalent code using loops. It is much shorter although a bit harder to add to (you can still do it the traditional way, as shown by the L1Track layouts).
Let me know what you think.
| # ----- END LOOP ------ | ||
| # L1 TRACK | ||
| phase2tkmclayout(dqmitems, "600 - OT L1Track Eta Efficiency and Resolution", | ||
| [{'path':"TrackerPhase2OTL1TrackV/Nominal_L1TF/FinalEfficiency/EtaEfficiency", |
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.
Could this be shortened by defining a string equal to "TrackerPhase2OTL1TrackV/Nominal_L1TF/FinalEfficiency"?
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 have added a loop for the L1T histograms as well
Adds workspace under Monte Carlo for Phase-2 MC Validation.
File Changes:
dqmgui/workspaces-relval.py - Added MC Tk Phase-2 workspace at slot 31 to be under exisitng Tk MC workspace. Incremented other workspace slot numbers to accommodate.
dqmgui/layouts/p2tkmc_relval-layouts.py - Created Layouts for MC Tk Phase-2.
dqmgui/server-conf-relval.py - Added p2tkmc_relval-layouts.py to LAYOUTS.
Layouts are numbered:
New workspace in GUI:

Quick Collection:

Included folders (NOTE: this is from a ROOT file generated using phase-2 code that is not in an official CMSSW release yet):
