CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DDExpandedNode.cc File Reference
#include "DetectorDescription/Core/interface/DDExpandedNode.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const DDExpandedNode &n)
 
std::ostream & operator<< (std::ostream &os, const DDGeoHistory &h)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DDExpandedNode n 
)

Definition at line 31 of file DDExpandedNode.cc.

References DDExpandedNode::copyno(), DDExpandedNode::logicalPart(), and DDBase< N, C >::name().

32 {
33  os << n.logicalPart().name()
34  << '[' << n.copyno() << ']';
35  //<< ',' << n.siblingno() << ']';
36  return os;
37 }
const N & name() const
Definition: DDBase.h:82
int copyno() const
copy number of this node
const DDLogicalPart & logicalPart() const
the LogicalPart describing this node
std::ostream& operator<< ( std::ostream &  os,
const DDGeoHistory h 
)

Definition at line 40 of file DDExpandedNode.cc.

41 {
42  DDGeoHistory::const_iterator it = h.begin();
43  for (; it != h.end(); ++it) {
44  os << '/' << *it;
45  }
46  return os;
47 }
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4