ATLAS Offline Software
Loading...
Searching...
No Matches
node.h File Reference
#include <iostream>
#include <string>
#include <vector>
#include "TObject.h"
Include dependency graph for node.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  node

Functions

std::ostream & operator<< (std::ostream &s, const node &n)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const node & n )
inline

Definition at line 92 of file node.h.

92 {
93 s << n.depth() << n.name() << "::" << n.stype() << " : obj " << n.object() << " : size " << n.size() << "\tpath " << n.path();
94 if ( n.type()==node::HISTOGRAM ) return s;
95 else if ( n.size() ) {
96 if ( n.parent() ) s << "\t( parent " << n.parent()->name() << " )";
97 if ( n.rate().first!="" )s << "\t\t:::(max rate chain " << n.rate().first << " " << n.rate().second << " ):::";
98 for ( unsigned i=0 ; i<n.size() ; i++ ) {
99 // if ( n[i]->type()!=node::HISTOGRAM )
100 s << "\n" << i << " " << n.depth() << " " << *n[i];
101 }
102 }
103 return s;
104}
@ HISTOGRAM
Definition node.h:28