CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
GeometryInfoDump.cc File Reference
#include "DetectorDescription/Core/interface/DDPartSelection.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "DetectorDescription/OfflineDBLoader/interface/GeometryInfoDump.h"
#include "DetectorDescription/Core/interface/DDRotationMatrix.h"
#include "DetectorDescription/Core/interface/DDTranslation.h"
#include "DetectorDescription/Core/interface/DDCompactView.h"
#include "DetectorDescription/Core/interface/DDExpandedNode.h"
#include "DetectorDescription/Core/interface/DDExpandedView.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <cassert>
#include <fstream>
#include <map>
#include <set>
#include <vector>

Go to the source code of this file.

Typedefs

using adjl_iterator = Graph::const_adj_iterator
 
using Graph = DDCompactView::Graph
 

Functions

template<class valType >
static constexpr valType roundNeg0 (valType value)
 

Typedef Documentation

Definition at line 19 of file GeometryInfoDump.cc.

Definition at line 18 of file GeometryInfoDump.cc.

Function Documentation

template<class valType >
static constexpr valType roundNeg0 ( valType  value)
static

Definition at line 24 of file GeometryInfoDump.cc.

References alignCSCRings::e.

Referenced by GeometryInfoDump::dumpInfo().

24  {
25  if (value < 0. && value > -5.0e-5)
26  return (0.0);
27  else
28  return (value);
29 }