#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetectorHelper.h"
#include "DD4hep/DD4hepUnits.h"
#include "DD4hep/GeoHandler.h"
#include "DD4hep/Printout.h"
#include "DD4hep/Plugins.h"
#include "DD4hep/detail/SegmentationsInterna.h"
#include "DD4hep/detail/DetectorInterna.h"
#include "DD4hep/detail/ObjectsInterna.h"
#include "XML/Utilities.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "DetectorDescription/DDCMS/interface/DDUnits.h"
#include "DetectorDescription/DDCMS/interface/DDAlgoArguments.h"
#include "DetectorDescription/DDCMS/interface/DDNamespace.h"
#include "DetectorDescription/DDCMS/interface/DDParsingContext.h"
#include "DetectorDescription/DDCMS/interface/DDDetector.h"
#include "TGeoManager.h"
#include "TGeoMaterial.h"
#include <climits>
#include <iostream>
#include <iomanip>
#include <set>
#include <map>
#include <utility>
Go to the source code of this file.
Namespaces | |
dd4hep | |
Typedefs | |
using | DDVectorsMap = cms::DDDetector::DDVectorsMap |
Enumerations | |
enum | DDAxes { DDAxes::x, DDAxes::y, DDAxes::z, DDAxes::rho, DDAxes::radial3D, DDAxes::phi, DDAxes::undefined } |
Functions | |
template<typename TYPE > | |
static void | convert_boolean (cms::DDParsingContext *context, xml_h element) |
template<class InputIt , class ForwardIt , class BinOp > | |
void | for_each_token (InputIt first, InputIt last, ForwardIt s_first, ForwardIt s_last, BinOp binary_op) |
static long | load_dddefinition (Detector &det, xml_h element) |
Converter for <DDDefinition> tags. More... | |
vector< double > | splitNumeric (const string &str, const string &delims=",") |
vector< string > | splitString (const string &str, const string &delims=",") |
Definition at line 33 of file DDDefinitions2Objects.cc.
|
strong |
Enumerator | |
---|---|
x | |
y | |
z | |
rho | |
radial3D | |
phi | |
undefined |
Definition at line 1095 of file DDDefinitions2Objects.cc.
|
static |
Definition at line 708 of file DDDefinitions2Objects.cc.
References cms::DDNamespace::addSolid(), cms::DDNamespace::attr(), EnergyCorrector::c, cms::DDNamespace::context(), DD_CMU, DEBUG, cms::DDParsingContext::debug_placements, cms::DDParsingContext::debug_shapes, hiPixelPairStep_cff::deltaPhi, cms::DDParsingContext::description, common_cff::doc, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, MillePedeFileConverter_cfg::e, HGCalGeometryMode::ExtrudedPolygon, alignmentValidation::fname, includes, interestingEgammaIsoDetIdsSequence_cff::innerRadius, M_PI, interestingEgammaIsoDetIdsSequence_cff::outerRadius, phi, HGCalGeometryMode::Polyhedra, EnergyCorrector::pt, alignCSCRings::r, TCMET_cfi::radius, hfnoseDigiStudy_cfi::rMax, hfnoseDigiStudy_cfi::rMin, Scenarios_cff::scale, cms::DDNamespace::solid(), theta(), x, y, and z.
void for_each_token | ( | InputIt | first, |
InputIt | last, | ||
ForwardIt | s_first, | ||
ForwardIt | s_last, | ||
BinOp | binary_op | ||
) |
Definition at line 1234 of file DDDefinitions2Objects.cc.
References GetRecoTauVFromDQM_MC_cff::next.
Referenced by splitNumeric(), and splitString().
|
static |
Converter for <DDDefinition> tags.
Unload all XML files after processing
This should be the end of all processing....close the geometry
Definition at line 1370 of file DDDefinitions2Objects.cc.
References cms::DDNamespace::addConstantNS(), cms::DDNamespace::addVolume(), DefaultClusterizer_cff::Algorithm, edmIntegrityCheck::d, DD_CMU, debug, common_cff::doc, dqm::qstatus::ERROR, cppFunctionSkipper::exception, alignmentValidation::fname, MessageLogger_cfi::INFO, and pyrootRender::root.
vector<double> splitNumeric | ( | const string & | str, |
const string & | delims = "," |
||
) |
Definition at line 1247 of file DDDefinitions2Objects.cc.
References plotBeamSpotDB::first, for_each_token(), convertSQLitetoXML_cfg::output, and edm::second().
Referenced by splitString().
vector<string> splitString | ( | const string & | str, |
const string & | delims = "," |
||
) |
Definition at line 1262 of file DDDefinitions2Objects.cc.
References cms::DDNamespace::attr(), cms::DDNamespace::context(), DD_CMU, DEBUG, cms::DDParsingContext::debug_algorithms, cms::DDParsingContext::debug_constants, cms::DDParsingContext::debug_includes, cms::DDParsingContext::debug_materials, cms::DDParsingContext::debug_namespaces, cms::DDParsingContext::debug_placements, cms::DDParsingContext::debug_rotations, cms::DDParsingContext::debug_shapes, cms::DDParsingContext::debug_specpars, cms::DDParsingContext::debug_visattr, cms::DDParsingContext::debug_volumes, cms::DDParsingContext::description, MillePedeFileConverter_cfg::e, dqm::qstatus::ERROR, plotBeamSpotDB::first, alignmentValidation::fname, for_each_token(), mps_fire::i, training_settings::idx, gen::n, dataset::name, convertSQLitetoXML_cfg::output, alignCSCRings::r, PhysicsTools::registry, cuy::rep, mps_update::results, edm::second(), cms::DDNamespace::setContext(), splitNumeric(), and findQualityFiles::v.
std::map<std::string, std::string> allConst |
Definition at line 51 of file DDDefinitions2Objects.cc.
std::vector<xml::Document> includes |
Definition at line 50 of file DDDefinitions2Objects.cc.
Referenced by convert_boolean(), and edm::MergeableRunProductMetadata::preWriteRun().
std::map<std::string, std::string> originalConst |
Definition at line 51 of file DDDefinitions2Objects.cc.
std::map<std::string, std::string> unresolvedConst |
Definition at line 51 of file DDDefinitions2Objects.cc.