-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add prototype HcalNanoAOD #41607
Add prototype HcalNanoAOD #41607
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41607/35499
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41607/35508
|
A new Pull Request was created by @DryRun (David Yu) for master. It involves the following packages:
The following packages do not have a category, yet: DPGAnalysis/HcalNanoAOD @civanch, @bbilin, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob, @kskovpen, @sunilUIET can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@DryRun Is this PR ready to review? |
Hi @srimanob , yes, the PR is ready for review. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b6d266/32731/summary.html Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b6d266/33309/summary.html Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
+Upgrade For upgrade side on configuration, new workflows run fine. |
The outputs from the matrix tests 1060.1 and 1060.2 look good. |
Kindly ping @cms-sw/pdmv-l2 @cms-sw/xpog-l2 @cms-sw/simulation-l2 |
+pdmv |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR is a continuation of #40489, which was mistakenly closed after a rebase.
This PR implements a NanoAOD format for HCAL digis and RecHits. This data format is intended to replace the old HcalTupleMaker used by most HCAL workflows.
Example:
RecHits are implemented following @kdlong's PFNano branch, https://github.com/kdlong/cmssw/tree/pfNano_HCALOnly_12_6_0_pre4. The specific modules, however, are defined in
DPGAnalysis/HcalNanoAOD
(e.g.HBHERecHitFlatTableProducer
), rather thanDPGAnalysis/CaloNanoAOD
(e.g.SimpleCaloRecHitFlatTableProducer
). Hence, this package is independent ofDPGAnalysis/CaloNanoAOD
.Digis are handled by dedicated modules in
DPGAnalysis/HcalNanoAOD
that output dense arrays, sorted by DetId. A list of the DetIds (i.e. the column labels) is placed inRun
. For the moment, DetIds are also saved inEvent
, for development purposes although we might decide to keep them for ease of analysis.Metadata from the uHTRs (calib event type) and the uMNio (the labeling of calibration events (pedestal/LED/laser) and which type of laser event), are also handled by dedicated modules.
Two customization functions are provided for special datasets:
hcalNano_cff.customiseHcalCalib
: for calibration sequence events in the TestEnablesEcalHcal dataset (i.e. events in the abort gap of type pedestal, LED, or laser). Specifies the correct label for the raw data; adds uMNio metadata; adds an important HLT filter to all Paths and Endpaths, which selects events triggered by HLT_HcalCalibration. This filter essential to avoid a crash, because ECAL-triggered events are missing the HCAL raw data collection (aside: HCAL needs to revisit the definition of this dataset; the trigger is based on a majority-wins vote of calibration flags from the HCAL uHTRs. A single uHTR flagging the event as calibration should be enough to consider the event calibration and not real physics!).hcalNano_cff.customiseHcalLocal
: for HCAL local runs. Loads the raw data usingHcalTBSource
; adjusts the number of time slices per digi; adds uMNio metadata.TBD: trigger primitives.
PR validation:
Produces useful HCAL NanoAOD ntuples. Data validated event-by-event against HcalTupleMaker. Calibration and local run customization functions work on recent MWGR 2023 data.
Other
The contents of this PR are ready for use by HCAL DPG right away. An eventual merge should take into account @kdlong's PFNanoAOD branch, but this package is independent of
DPGAnalysis/CaloNanoAOD
.@vlimant @swertz this should be assigned to XPOG again.
@mariadalfonso @wang-hui @jhakala