Analysis Software
Documentation for sPHENIX simulation software
|
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Common.hpp"
#include <DD4hep/DetElement.h>
#include <DD4hep/DetFactoryHelper.h>
#include <DD4hep/Objects.h>
#include <DDRec/DetectorData.h>
Go to the source code of this file.
Namespaces | |
namespace | Acts |
Acts includes to create all necessary definitions. | |
Functions | |
template<typename T > | |
T | Acts::getParam (const std::string &key, dd4hep::DetElement &elt) |
dd4hep::rec::VariantParameters & | Acts::getParams (dd4hep::DetElement &elt) |
const dd4hep::rec::VariantParameters & | Acts::getParams (const dd4hep::DetElement &elt) |
template<typename T > | |
T | Acts::getParamOr (const std::string &key, const dd4hep::DetElement &elt, T alternative) |
bool | Acts::hasParam (const std::string &key, dd4hep::DetElement &elt) |
bool | Acts::hasParams (dd4hep::DetElement &elt) |
template<typename value_type > | |
value_type | Acts::getAttrValueOr (const dd4hep::xml::Component &node, const std::string &attrName, const value_type &fallbackValue) |
Helper method to get an attribute with fallback. | |
template<typename value_type > | |
std::vector< value_type > | Acts::extractSeries (const dd4hep::DetElement &dd4hepElement, const std::string &bname, const value_type &unitConversion=1) |
A simple helper function to extract a series. | |
Transform3 | Acts::extractTransform (const dd4hep::DetElement &dd4hepElement, const std::string &bname, const ActsScalar unitConversion=1.) |
A simple helper function to extract a transform. | |