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

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

32 {
33  os << n.logicalPart().name()
34  << '[' << n.copyno() << ']';
35  //<< ',' << n.siblingno() << ']';
36  return os;
37 }
std::ostream& operator<< ( std::ostream &  ,
const DDGeoHistory  
)

Definition at line 40 of file DDExpandedNode.cc.

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