ATLAS Offline Software
Public Member Functions | List of all members
CBNode::nodeOrder Class Reference

#include <CBNode.h>

Collaboration diagram for CBNode::nodeOrder:

Public Member Functions

bool operator() (const CBNode &n1, const CBNode &n2) const
 
bool operator() (const CBNode *n1, const CBNode *n2) const
 

Detailed Description

Definition at line 35 of file CBNode.h.

Member Function Documentation

◆ operator()() [1/2]

bool CBNode::nodeOrder::operator() ( const CBNode n1,
const CBNode n2 
) const
inline

Definition at line 37 of file CBNode.h.

37  {
38  if ( n1.level() != n2.level() ) {
39  return ( n1.level() < n2.level() );
40  } else {
41  return ( n1.serial() < n2.serial() );
42  }
43  }

◆ operator()() [2/2]

bool CBNode::nodeOrder::operator() ( const CBNode n1,
const CBNode n2 
) const
inline

Definition at line 45 of file CBNode.h.

45  {
46  if ( n1->level() != n2->level() ) {
47  return ( n1->level() < n2->level() );
48  } else {
49  return ( n1->serial() < n2->serial() );
50  }
51  }

The documentation for this class was generated from the following file:
CBNode::level
int level() const
Definition: CBNode.h:75
Rtt_histogram.n1
n1
Definition: Rtt_histogram.py:21
CBNode::serial
unsigned int serial() const
Definition: CBNode.h:90