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 "DataFormats/Math/interface/Graph.h"
#include "DataFormats/Math/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

◆ dump()

void dump ( const DDGeoHistory history)

Definition at line 198 of file DDExpandedView.cc.

References mps_fire::i, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.

198  {
199  edm::LogInfo("DDExpandedView") << "--GeoHistory-Dump--[" << std::endl;
200  int i = 0;
201  for (const auto& it : history) {
202  edm::LogInfo("DDExpandedView") << " " << i << it.logicalPart() << std::endl;
203  ++i;
204  }
205  edm::LogInfo("DDExpandedView") << "]---------" << std::endl;
206 }
Log< level::Info, false > LogInfo

◆ printNavType()

std::string printNavType ( int const *  n,
size_t  sz 
)

Definition at line 436 of file DDExpandedView.cc.

References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and dqmiodumpmetadata::n.

Referenced by operator<<().

436  {
437  std::ostringstream oss;
438  oss << '(';
439  for (int const* it = n; it != n + sz; ++it) {
440  oss << *it << ',';
441  }
442  oss << ')';
443  return oss.str();
444 }