CMS 3D CMS Logo

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 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  return os;
37 }
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 39 of file DDExpandedNode.cc.

40 {
41  for( const auto& it : h ) {
42  os << '/' << it;
43  }
44  return os;
45 }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.