CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/DetectorDescription/Core/src/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 276 of file DDExpandedView.cc.

References i.

{
   DDGeoHistory::const_iterator it = h.begin();
   edm::LogInfo("DDExpandedView")  << "--GeoHistory-Dump--[" << std::endl;
   int i=0;
   for (; it != h.end(); ++it) {
     edm::LogInfo("DDExpandedView")  << " " << i << it->logicalPart() << std::endl;
     /*
          << "     "  << it->logicalPart().material() << std::endl
          << "     "  << it->logicalPart().solid() << std::endl;
     */
     ++i;         
   }
   edm::LogInfo("DDExpandedView")  << "]---------" << std::endl;
}
std::ostream& printNavType ( std::ostream &  os,
int const *  n,
size_t  sz 
)

Definition at line 572 of file DDExpandedView.cc.

Referenced by operator<<().

                                                                    {
  os << '(' ;
  for (int const * it=n; it != n+sz; ++it) {
    os << *it << ',';
  }
  os << ')';
  return os;
}