ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
DepthComparison Class Reference
Collaboration diagram for DepthComparison:

Public Member Functions

 DepthComparison (const Tree &t)
 
bool operator() (const std::size_t &lhs, const std::size_t rhs)
 

Private Attributes

Tree m_tree
 

Detailed Description

Definition at line 14 of file FastReducer.cxx.

Constructor & Destructor Documentation

◆ DepthComparison()

DepthComparison::DepthComparison ( const Tree t)
inline

Definition at line 16 of file FastReducer.cxx.

16 : m_tree(t){}

Member Function Documentation

◆ operator()()

bool DepthComparison::operator() ( const std::size_t &  lhs,
const std::size_t  rhs 
)
inline

Definition at line 17 of file FastReducer.cxx.

17  {
18  return m_tree.depth(rhs) > m_tree.depth(lhs);
19  }

Member Data Documentation

◆ m_tree

Tree DepthComparison::m_tree
private

Definition at line 21 of file FastReducer.cxx.


The documentation for this class was generated from the following file:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Tree::depth
std::size_t depth(std::size_t) const
Definition: Tree.cxx:75
DepthComparison::m_tree
Tree m_tree
Definition: FastReducer.cxx:21