Skip to content

Bug/Feature: Condense duplicated particle contributions in calorimeter #1501

@murnanedaniel

Description

@murnanedaniel

I have a minimalKineticEnergy cut in a truth handler, which disregards particle truth according to some rules. However, the contributions list in the calorimeters still has separate entries for each energy deposit, even when they are from the same particle. Is there any configuration where the contributions can be "collapsed", and duplicate particle contributions aggregated (e.g. energy summed, time averaged or weight-averaged)? The root files are huge when every separate contribution is preserved (20GB per 100 events in my case, and I can see that if I process afterwards to remove duplicates, this reduces by ~70-80%).

For more context:

I'm not sure if the duplicate hits in the calorimeter are intended or not. But either way, it would be great to be able to switch a flag to condense them down.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions