QwAnalysis
QwTracking Namespace Reference

Contains tracking-related objects. More...

Data Structures

class  nodenode
 A nodenode is used as a pointer which links treenodes to their siblings. More...
 
class  shortnode
 Similar to a nodenode. More...
 
class  shorttree
 Similar to a treenode. More...
 
class  treenode
 A treenode contains the bits that make up a tree pattern. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const shortnode &sn)
 
std::ostream & operator<< (std::ostream &stream, const shorttree &st)
 
std::ostream & operator<< (std::ostream &stream, const treenode &tn)
 

Detailed Description

Contains tracking-related objects.

The namespace QwTracking contains the classes related to the pattern recognition algorithm and the tree search. This includes the objects treenode, nodenode, shorttree, shortnode, and treeregion.

Function Documentation

std::ostream& QwTracking::operator<< ( std::ostream &  stream,
const shortnode &  sn 
)

Stream some info about the short node

Parameters
streamStream as lhs of the operator
snShort node as rhs of the operator
Returns
Stream as result of the operator

Definition at line 93 of file shortnode.cc.

References QwTracking::shortnode::GetTree().

94 {
95  stream << *(sn.GetTree());
96  return stream;
97 }

+ Here is the call graph for this function:

std::ostream& QwTracking::operator<< ( std::ostream &  stream,
const shorttree &  st 
)

Stream some info about the short tree

Parameters
streamStream as lhs of the operator
stShort tree as rhs of the operator
Returns
Stream as result of the operator

Definition at line 93 of file shorttree.cc.

References QwTracking::shorttree::fBit, QwTracking::shorttree::fMinLevel, QwTracking::shorttree::fSize, and QwTracking::shorttree::fWidth.

94 {
95  stream << "(" << st.fMinLevel << "," << "*" << ") ";
96  for (unsigned int i = 0; i < st.fSize; i++)
97  stream << st.fBit[i] << ",";
98  stream << " width = " << st.fWidth;
99  return stream;
100 }
std::ostream& QwTracking::operator<< ( std::ostream &  stream,
const treenode &  tn 
)

Stream summary info about the tree node

Parameters
streamStream as lhs of the operator
tnTree node as rhs of the operator
Returns
Stream as result of the operator

Definition at line 135 of file treenode.cc.

References QwTracking::treenode::fBit, QwTracking::treenode::fMaxLevel, QwTracking::treenode::fMinLevel, QwTracking::treenode::fRef, QwTracking::treenode::fSize, and QwTracking::treenode::fWidth.

136 {
137  stream << "(" << tn.fMinLevel << "," << tn.fMaxLevel << ") ";
138  for (unsigned int i = 0; i < tn.fSize; i++)
139  stream << tn.fBit[i] << ",";
140  stream << " width = " << tn.fWidth << ",";
141  stream << " ref = " << tn.fRef;
142  return stream;
143 }