CMS 3D CMS Logo

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

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

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

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

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