ATLAS Offline Software
Classes | Functions
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 89 of file node.h.

89  {
90  s << n.depth() << n.name() << "::" << n.stype() << " : obj " << n.object() << " : size " << n.size() << "\tpath " << n.path();
91  if ( n.type()==node::HISTOGRAM ) return s;
92  else if ( n.size() ) {
93  if ( n.parent() ) s << "\t( parent " << n.parent()->name() << " )";
94  if ( n.rate().first!="" )s << "\t\t:::(max rate chain " << n.rate().first << " " << n.rate().second << " ):::";
95  for ( unsigned i=0 ; i<n.size() ; i++ ) {
96  // if ( n[i]->type()!=node::HISTOGRAM )
97  s << "\n" << i << " " << n.depth() << " " << *n[i];
98  }
99  }
100  return s;
101 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
node::HISTOGRAM
@ HISTOGRAM
Definition: node.h:25