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.
Problem
The selection variable is set in the
Init()function as well as the histograms. If one wants selection specific histograms, since thehists1Dvariable (initialized per analysis) is used to set up the histograms used, it would be nice to allow to have selection specific setting ofhists1Dvector without having to recompile the code every timePossible Solution
This would require probably splitting up the init and the initializehistograms section of the code and have the user call
SelectionBase::Init(), set theirhists1D, and then run theinitializehistogramsfunction.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.