DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Namespaces | Macros | Functions
DetectorTools.cpp File Reference
#include <DD4hep/DetectorTools.h>
#include <DD4hep/Printout.h>
#include <DD4hep/Detector.h>
#include <DD4hep/detail/DetectorInterna.h>
#include <stdexcept>
#include <memory>
#include <TGeoMatrix.h>

Go to the source code of this file.

Namespaces

 dd4hep
 Namespace for the AIDA detector description toolkit.
 
 dd4hep::detail
 DD4hep internal namespace.
 
 dd4hep::detail::tools
 Helper namespace used to answer detector element specific questons.
 

Macros

#define DETECTORTOOLS_CPP
 

Functions

std::string dd4hep::detail::tools::elementPath (const PlacementPath &nodes, bool reverse)
 Assemble the path of the PlacedVolume selection. More...
 
void dd4hep::detail::tools::elementPath (DetElement parent, DetElement elt, ElementPath &detectors)
 Collect detector elements to any parent detector element. More...
 
void dd4hep::detail::tools::elementPath (DetElement elt, PlacementPath &nodes)
 Collect detector elements placements to the top detector element (world) [fast, but may have holes!]. More...
 
void dd4hep::detail::tools::elementPath (DetElement parent, DetElement element, PlacementPath &nodes)
 Collect detector elements placements to the parent detector element [no holes!]. More...
 
bool dd4hep::detail::tools::findChild (PlacedVolume parent, PlacedVolume child, PlacementPath &path)
 Find Child of PlacedVolume and assemble on the fly the path of PlacedVolumes. More...
 

Macro Definition Documentation

◆ DETECTORTOOLS_CPP

#define DETECTORTOOLS_CPP

Definition at line 16 of file DetectorTools.cpp.