CMS 3D CMS Logo

Functions
DDExpandedView.cc File Reference
#include "DetectorDescription/Core/interface/DDExpandedView.h"
#include <memory>
#include <ostream>
#include "DetectorDescription/Core/interface/DDComparator.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include "DetectorDescription/Core/interface/adjgraph.h"
#include "DetectorDescription/Core/interface/graphwalker.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Math/GenVector/Cartesian3D.h"
#include "Math/GenVector/DisplacementVector3D.h"
#include "Math/GenVector/Rotation3D.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 236 of file DDExpandedView.cc.

References i.

237 {
238  edm::LogInfo("DDExpandedView") << "--GeoHistory-Dump--[" << std::endl;
239  int i=0;
240  for( const auto& it : history ) {
241  edm::LogInfo("DDExpandedView") << " " << i << it.logicalPart() << std::endl;
242  ++i;
243  }
244  edm::LogInfo("DDExpandedView") << "]---------" << std::endl;
245 }
int i
Definition: DBlmapReader.cc:9
std::string printNavType ( int const *  n,
size_t  sz 
)

Definition at line 501 of file DDExpandedView.cc.

Referenced by operator<<().

501  {
502  std::ostringstream oss;
503  oss << '(' ;
504  for (int const * it=n; it != n+sz; ++it) {
505  oss << *it << ',';
506  }
507  oss << ')';
508  return oss.str();
509 }