Public Member Functions | |
Node (DetGeomDesc *desc, int indent, bool isLast, bool useTreeOutput=true) | |
void | print (void) |
Public Attributes | |
DetGeomDesc * | desc |
int | indent |
bool | isLast |
bool | useTreeOutput |
Geometry Hierarchy node Used for DFS traversal, keeps tree printing data
Definition at line 86 of file GeometryTree.cc.
|
inline |
Definition at line 88 of file GeometryTree.cc.
|
inline |
Prints a line of tree output Prints a line formated accordingly to indent
, isLast
and useTreeOutput
. Do remember to set useTreeOutput he same in all nodes, unpredictable output otherwise.
Definition at line 108 of file GeometryTree.cc.
References gather_cfg::cout, i, dataformats::indent(), and makeMuonMisalignmentScenario::rot.
Referenced by GeometryTree::analyze().
DetGeomDesc* GeometryTree::Node::desc |
int GeometryTree::Node::indent |
Indent, 0 for the top node, +1 for every next level
Definition at line 97 of file GeometryTree.cc.
Referenced by GeometryTree::analyze().
bool GeometryTree::Node::isLast |
True for every first child put on the stack, false otherwise
Definition at line 99 of file GeometryTree.cc.
bool GeometryTree::Node::useTreeOutput |
Tree output if true, simple indentation otherwise
Definition at line 101 of file GeometryTree.cc.