ATLAS Offline Software
Static Public Member Functions | List of all members
PyDumper::Utils Class Reference

#include <PyDumperDict.h>

Collaboration diagram for PyDumper::Utils:

Static Public Member Functions

static std::vector< unsigned int > getAuxIDVector (const SG::AuxVectorData &e)
 
static std::vector< unsigned int > getAuxIDVector (const SG::AuxElement &e)
 

Detailed Description

Definition at line 63 of file PyDumperDict.h.

Member Function Documentation

◆ getAuxIDVector() [1/2]

static std::vector<unsigned int> PyDumper::Utils::getAuxIDVector ( const SG::AuxElement e)
inlinestatic

Definition at line 75 of file PyDumperDict.h.

76  {
77  const SG::auxid_set_t& ids = e.getAuxIDs();
78  std::vector<unsigned int> v (ids.begin(), ids.end());
79  std::sort (v.begin(), v.end());
80  return v;
81  }

◆ getAuxIDVector() [2/2]

static std::vector<unsigned int> PyDumper::Utils::getAuxIDVector ( const SG::AuxVectorData e)
inlinestatic

Definition at line 67 of file PyDumperDict.h.

68  {
69  const SG::auxid_set_t& ids = e.getAuxIDs();
70  std::vector<unsigned int> v (ids.begin(), ids.end());
71  std::sort (v.begin(), v.end());
72  return v;
73  }

The documentation for this class was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
python.subdetectors.mmg.ids
ids
Definition: mmg.py:8
python.PyAthena.v
v
Definition: PyAthena.py:154
std::sort
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
Definition: DVL_algorithms.h:623
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47