Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DD4hepTestsHelper.hpp File Reference
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include <string>
#include <DD4hep/DetFactoryHelper.h>
#include <DD4hep/Objects.h>
#include <XML/Utilities.h>
+ Include dependency graph for DD4hepTestsHelper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  DD4hepTestsHelper
 

Functions

template<typename T >
TDD4hepTestsHelper::ensureExtension (dd4hep::DetElement &elt)
 helper to ensure that an extension is set, copied from the ODD detector code
 
Transform3D DD4hepTestsHelper::createTransform (const xml_comp_t &x_det_comp)
 
std::string DD4hepTestsHelper::transformToXML (const Acts::Transform3 &tf, const std::array< int, 2u > &axes={0, 1})
 
std::string DD4hepTestsHelper::surfaceToXML (const Acts::GeometryContext &gctx, const Acts::Surface &surface, const Acts::Transform3 &ref)
 Helper method to convert a Surface into XML.