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::string printNavType (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::string printNavType ( int const *  n,
size_t  sz 
)

Definition at line 487 of file DDExpandedView.cc.

Referenced by operator<<().

487  {
488  std::ostringstream oss;
489  oss << '(' ;
490  for (int const * it=n; it != n+sz; ++it) {
491  oss << *it << ',';
492  }
493  oss << ')';
494  return oss.str();
495 }