Add OriginalAodCounts
There are quite a few rather cryptic copypasta recipes to calculate the number of original AOD events, all spread across various frameworks. It would make more sense to have this centralized in some way, since in general what analysts want is just something that gives the sum of events and event weights.
For reference:
- link to similar code in
AnalysisTop
- link to similar code in
xAH
- link to similar code in
CxAOD
- link to similar code in
XAMPP
- link to similar code in
AsgAnalysisAlgorithms
I'm sure it's similar for MxAOD
, PxAOD
, SUSYTools
, or any of the other frameworks in wide use. What none of these implementations provide is a framework-independent way to access the CutBookkeepers metadata.
Edited by Dan Guest