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 &history)
 
std::ostream & printNavType (std::ostream &os, int const *n, size_t sz)
 

Function Documentation

void dump ( const DDGeoHistory history)

Definition at line 222 of file DDExpandedView.cc.

References i.

223 {
224  edm::LogInfo("DDExpandedView") << "--GeoHistory-Dump--[" << std::endl;
225  int i=0;
226  for( const auto& it : history ) {
227  edm::LogInfo("DDExpandedView") << " " << i << it.logicalPart() << std::endl;
228  ++i;
229  }
230  edm::LogInfo("DDExpandedView") << "]---------" << std::endl;
231 }
int i
Definition: DBlmapReader.cc:9
std::ostream& printNavType ( std::ostream &  os,
int const *  n,
size_t  sz 
)

Definition at line 487 of file DDExpandedView.cc.

Referenced by operator<<().

487  {
488  os << '(' ;
489  for (int const * it=n; it != n+sz; ++it) {
490  os << *it << ',';
491  }
492  os << ')';
493  return os;
494 }