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 276 of file DDExpandedView.cc.

References i.

277 {
278  DDGeoHistory::const_iterator it = h.begin();
279  edm::LogInfo("DDExpandedView") << "--GeoHistory-Dump--[" << std::endl;
280  int i=0;
281  for (; it != h.end(); ++it) {
282  edm::LogInfo("DDExpandedView") << " " << i << it->logicalPart() << std::endl;
283  /*
284  << " " << it->logicalPart().material() << std::endl
285  << " " << it->logicalPart().solid() << std::endl;
286  */
287  ++i;
288  }
289  edm::LogInfo("DDExpandedView") << "]---------" << std::endl;
290 }
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 572 of file DDExpandedView.cc.

Referenced by operator<<().

572  {
573  os << '(' ;
574  for (int const * it=n; it != n+sz; ++it) {
575  os << *it << ',';
576  }
577  os << ')';
578  return os;
579 }