Skip to content

Add processed events histogram #313

@AndrewEdmonds11

Description

@AndrewEdmonds11

Some analyzers need to know the number of processed events in order to calculate efficiencies. One can get this with ntuple->GetEntries() but they may have flags like hasTracks or hasCRV set to true. These flags add conditions that an event must pass before it is written to the EventNtuple and so may not be what the analyzer needs to calculate the efficiency.

In order to mitigate thise, we can add a one-bin histogram counting the total number of events that EventNtupleMaker has seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    art / OfflineThis requires some touching of art / OfflineenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions