Removing default/invalid (-999 ns) HCAL rechit timings from HCAL PF cluster time calculation#50910
Removing default/invalid (-999 ns) HCAL rechit timings from HCAL PF cluster time calculation#50910gk199 wants to merge 3 commits into
Conversation
|
cms-bot internal usage |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50910/49272 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-50910/49273 |
|
A new Pull Request was created by @gk199 for master. It involves the following packages:
@Moanwar, @cmsbuild, @jfernan2, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
type pf |
|
@cmsbuild please test |
|
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
|
Thanks @gk199 for the PR. I was wondering whether you could provide validation plots using physics samples with reasonably good statistics, rather than only particle-gun samples. Also, wouldn’t this need to be backported for data taking? |
PR description:
All HCAL PF rechits are currently considered in the computation of the HCAL PF cluster time, even when those rechits have an "invalid" time (from the MAHI fit) of -999 reported. The PF cluster time is computed as an energy weighted time average of all associated rechits, and ends up reporting non-physical values such as -300ns due to averaging in the default -999ns hit times. This PR excludes those rechits with reported times of -999, such that the cluster time is only computed with valid rechit times. If no rechits associated to the cluster have a valid time, then the cluster time is also reported as -999ns.
This removes the long tail of cluster times between -999ns and about -20ns. This doesn't change anything about the PF algorithm, just reports the HCAL PF cluster time as a more meaningful quantity instead of a smeared / contaminated average value.
PR validation:
runTheMatrix.py -l limited -i all --ibeos(some failed to execute due to missing "lumi_ranges.txt")If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Not a backport.
cc: @ahinzmann