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 32 of file DDExpandedNode.cc.

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

33 {
34  os << n.logicalPart().name()
35  << '[' << n.copyno() << ']';
36  //<< ',' << n.siblingno() << ']';
37  return os;
38 }
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 41 of file DDExpandedNode.cc.

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