CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
DDExpandedNode.h File Reference
#include "DetectorDescription/Core/interface/DDTransform.h"
#include "DetectorDescription/Base/interface/DDTranslation.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include <vector>
#include <iosfwd>

Go to the source code of this file.

Classes

class  DDExpandedNode
 represents one node in the DDExpandedView More...
 
struct  DDExpandedNodeLess
 function object to compare to ExpandedNodes More...
 

Typedefs

typedef std::vector
< DDExpandedNode
DDGeoHistory
 Geometrical 'path' of the current node up to the root-node. More...
 

Functions

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

Typedef Documentation

typedef std::vector<DDExpandedNode> DDGeoHistory

Geometrical 'path' of the current node up to the root-node.

Definition at line 104 of file DDExpandedNode.h.

Function Documentation

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

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 }
std::ostream& operator<< ( std::ostream &  ,
const DDGeoHistory  
)

Definition at line 34 of file DDExpandedNode.cc.

35 {
36  for( const auto& it : h ) {
37  os << '/' << it;
38  }
39  return os;
40 }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.