CMS 3D CMS Logo

Namespaces | Functions | Variables
DDCoreToDDXMLOutput.cc File Reference
#include <DetectorDescription/Core/interface/DDMaterial.h>
#include <DetectorDescription/Core/interface/DDPartSelection.h>
#include <DetectorDescription/Core/interface/DDSolid.h>
#include <DetectorDescription/Core/interface/DDSolidShapes.h>
#include <DetectorDescription/Core/interface/DDSpecifics.h>
#include <DetectorDescription/OfflineDBLoader/interface/DDCoreToDDXMLOutput.h>
#include "DetectorDescription/Core/interface/DDRotationMatrix.h"
#include "DetectorDescription/Core/interface/DDTranslation.h"
#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include "DetectorDescription/Core/interface/DDTransform.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "DetectorDescription/Core/interface/DDValuePair.h"
#include "DetectorDescription/DDCMS/interface/DDSolidShapes.h"
#include "DetectorDescription/DDCMS/interface/DDNamespace.h"
#include "DataFormats/Math/interface/GeantUnits.h"
#include "DataFormats/Math/interface/Rounding.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "Math/GenVector/Cartesian3D.h"
#include "Math/GenVector/DisplacementVector3D.h"
#include "Math/GenVector/Rotation3D.h"
#include "DD4hep/Filter.h"
#include "DD4hep/Shapes.h"
#include "TGeoMedium.h"
#include <cstddef>
#include <iomanip>
#include <vector>

Go to the source code of this file.

Namespaces

 cms
 Namespace of DDCMS conversion namespace.
 
 cms::rotation_utils
 

Functions

static void cms::rotation_utils::addRotWithNewName (cms::DDNamespace &ns, std::string &name, const dd4hep::Rotation3D &rot)
 
static void cms::rotation_utils::addRotWithNewName (cms::DDNamespace &ns, std::string &name, const Double_t *rot)
 
template<class NumType >
static constexpr NumType convertGPerCcToMgPerCc (NumType gPerCc)
 
static const std::string cms::rotation_utils::identityHash ("1.00000000.00000000.00000000.00000001.00000000.00000000.00000000.00000001.0000000")
 
template<typename T >
static const std::string & cms::rotation_utils::rotName (const T &rot, const cms::DDParsingContext &context)
 

Variables

static constexpr double reflectTol = 1.0e-3
 
static constexpr double tol0 = 1.e-11
 

Function Documentation

◆ convertGPerCcToMgPerCc()

template<class NumType >
static constexpr NumType convertGPerCcToMgPerCc ( NumType  gPerCc)
inlinestaticconstexpr

Definition at line 37 of file DDCoreToDDXMLOutput.cc.

38 {
39  return (gPerCc * 1000.);
40 }

Referenced by DDCoreToDDXMLOutput::element(), and DDCoreToDDXMLOutput::material().

Variable Documentation

◆ reflectTol

constexpr double reflectTol = 1.0e-3
staticconstexpr

Definition at line 43 of file DDCoreToDDXMLOutput.cc.

Referenced by DDCoreToDDXMLOutput::rotation().

◆ tol0

constexpr double tol0 = 1.e-11
staticconstexpr