this class manages all the selection data for a single correction or selection tool. More...
#include <SelectionData.h>
Classes | |
| struct | CutInfo |
| the information for each cut | |
| struct | SelectionInfo |
| the information for the different selection steps | |
Public Member Functions | |
| void | testInvariant () const |
| test the invariant of this object | |
| SelectionData () | |
| standard constructor | |
| void | registerCut (SelectionStep step, const std::string &name, SelectionCut &cut) |
| add a cut with the given name and selection step | |
| std::size_t | size () const |
| the number of cuts configured | |
| StatusCode | initialize (const InternalConfiguration &configuration, const std::string &workingPoint) |
| initialize this object | |
| bool | isInitialized () const |
| whether initialize() has been called successfully | |
| StatusCode | prepare (SG::AuxElement *particle) |
| prepare for the given particle | |
| bool | needSelectionTool () |
| whether we can get information by running the associated selection tool | |
| SelectionChoice | getCut (std::size_t cut) |
| get the given variable to the given choice | |
| void | setCut (std::size_t cut, SelectionChoice choice) |
| set the given variable to the given choice | |
| void | apply () |
| set the decorations on the associated particle | |
this class manages all the selection data for a single correction or selection tool.
| ana::SelectionData::SelectionData | ( | ) |
standard constructor
| void ana::SelectionData::apply | ( | ) |
set the decorations on the associated particle
| SelectionChoice ana::SelectionData::getCut | ( | std::size_t | cut | ) |
get the given variable to the given choice
| StatusCode ana::SelectionData::initialize | ( | const InternalConfiguration & | configuration, | |
| const std::string & | workingPoint | |||
| ) |
initialize this object
| bool ana::SelectionData::isInitialized | ( | ) | const |
whether initialize() has been called successfully
| bool ana::SelectionData::needSelectionTool | ( | ) |
whether we can get information by running the associated selection tool
this is mostly meant to optimize away selection tools on objects that have already been rejected
| StatusCode ana::SelectionData::prepare | ( | SG::AuxElement * | particle | ) |
| void ana::SelectionData::registerCut | ( | SelectionStep | step, | |
| const std::string & | name, | |||
| SelectionCut & | cut | |||
| ) |
add a cut with the given name and selection step
| void ana::SelectionData::setCut | ( | std::size_t | cut, | |
| SelectionChoice | choice | |||
| ) |
set the given variable to the given choice
| std::size_t ana::SelectionData::size | ( | ) | const |
the number of cuts configured
| void ana::SelectionData::testInvariant | ( | ) | const |
test the invariant of this object
1.6.1