#include <AuxSelection.h>
Public Member Functions | |
AuxSelection () | |
Default constructor. | |
virtual void | selectAux (const std::set< std::string > &attributes) |
Select which variables should be written out. | |
virtual const SG::auxid_set_t & | getSelectedAuxIDs (const SG::auxid_set_t &fullset) const |
Return which variables were selected to be written out. | |
Protected Attributes | |
std::set< std::string > | m_names |
Properties following the variable selection convention. | |
SG::auxid_set_t | m_auxids |
Auxiliary IDs of the variables that were selected from the last list. |
Class helping in dealing with dynamic branch selection
This class is used by the code internally to select which of the dynamic branches should be written out into an output file.
const SG::auxid_set_t & xAOD::AuxSelection::getSelectedAuxIDs | ( | const SG::auxid_set_t & | fullset | ) | const [virtual] |
Return which variables were selected to be written out.
This function takes care of interpreting the options passed to ItemList in Athena, and TEvent in ROOT. It filters the list of variables passed to it, and returns the IDs of just the variables that should be written out.
fullset | The variables to be filtered based on the rules received |
void xAOD::AuxSelection::selectAux | ( | const std::set< std::string > & | attributes | ) | [virtual] |
Select which variables should be written out.
Sets which variables should be selected from a store object. The formalism is the following:
attributes | The attributes from ItemList or TEvent |