Skip to content

Allow selection specific histogram setting #17

@dteague

Description

@dteague

Problem

The selection variable is set in the Init() function as well as the histograms. If one wants selection specific histograms, since the hists1D variable (initialized per analysis) is used to set up the histograms used, it would be nice to allow to have selection specific setting of hists1D vector without having to recompile the code every time

Possible Solution

This would require probably splitting up the init and the initializehistograms section of the code and have the user call SelectionBase::Init(), set their hists1D, and then run the initializehistograms function.

pretty low priority, especially since don't really need this for running over grid, but might be nice, especially since it should be a relatively easy fix. Might create a PR soon for a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions