|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGHLTJETHYPO_TREE_H
6 #define TRIGHLTJETHYPO_TREE_H
20 Tree(
const std::vector<std::size_t>&);
22 std::size_t
parent(std::size_t)
const;
23 std::vector<std::size_t>
siblings(std::size_t)
const;
24 std::size_t
size()
const;
25 const std::vector<std::size_t>&
leaves()
const;
33 std::vector<std::size_t>::const_iterator
cbegin()
const {
38 std::vector<std::size_t>::const_iterator
cend()
const {
44 std::size_t
depth(std::size_t)
const;
std::vector< std::size_t >::const_iterator cend() const
std::vector< std::size_t > siblings(std::size_t) const
std::vector< std::vector< std::size_t > > m_children
std::vector< std::size_t > m_parents
std::size_t depth(std::size_t) const
std::ostream & operator<<(std::ostream &, const Tree &)
bool is_leaf(size_t) const
std::size_t parent(std::size_t) const
std::vector< std::size_t > m_leaves
const std::vector< std::size_t > & firstGeneration() const
Tree(const std::vector< std::size_t > &)
std::vector< std::size_t >::const_iterator cbegin() const
std::vector< std::size_t > m_firstGeneration
const std::vector< std::size_t > & leaves() const