xAOD::AuxSelection Class Reference

#include <AuxSelection.h>

List of all members.

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_tgetSelectedAuxIDs (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.

Detailed Description

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.

Author:
Marcin Nowak <Marcin.Nowak@cern.ch>
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
583607
Date
2014-02-17 12:02:08 +0100 (Mon, 17 Feb 2014)

Member Function Documentation

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.

Parameters:
fullset The variables to be filtered based on the rules received
Returns:
The list of variables to be written out
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:

  • An empty set, or a set containing "*" will select all the dynamic attributes passed to the object.
  • A single "-" attribute will not select any of the dynamic attributes.
  • A set of variables (without "-" as the first character of the variable names) will select just the variables listed.
  • A set of variable names, each prefixed by "-", will select all variables but the ones listed.
Parameters:
attributes The attributes from ItemList or TEvent

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1