CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DDExpandedView.cc File Reference
#include "DetectorDescription/Core/interface/DDExpandedView.h"
#include "DetectorDescription/Core/interface/DDComparator.h"

Go to the source code of this file.

Functions

void dump (const DDGeoHistory &h)
 
std::ostream & printNavType (std::ostream &os, int const *n, size_t sz)
 

Function Documentation

void dump ( const DDGeoHistory h)

Definition at line 234 of file DDExpandedView.cc.

References i.

235 {
236  DDGeoHistory::const_iterator it = h.begin();
237  edm::LogInfo("DDExpandedView") << "--GeoHistory-Dump--[" << std::endl;
238  int i=0;
239  for (; it != h.end(); ++it) {
240  edm::LogInfo("DDExpandedView") << " " << i << it->logicalPart() << std::endl;
241  ++i;
242  }
243  edm::LogInfo("DDExpandedView") << "]---------" << std::endl;
244 }
int i
Definition: DBlmapReader.cc:9
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
std::ostream& printNavType ( std::ostream &  os,
int const *  n,
size_t  sz 
)

Definition at line 516 of file DDExpandedView.cc.

Referenced by operator<<().

516  {
517  os << '(' ;
518  for (int const * it=n; it != n+sz; ++it) {
519  os << *it << ',';
520  }
521  os << ')';
522  return os;
523 }