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

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

28 {
29  os << n.logicalPart().name()
30  << '[' << n.copyno() << ']';
31  return os;
32 }
const N & name() const
Definition: DDBase.h:78
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 34 of file DDExpandedNode.cc.

35 {
36  for( const auto& it : h ) {
37  os << '/' << it;
38  }
39  return os;
40 }
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4