File TGeoPrimitivesHelper.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

struct TGeoPrimitivesHelper
#include <Acts/Plugins/TGeo/TGeoPrimitivesHelper.hpp>

Public Static Functions

static inline Transform3 makeTransform(const Eigen::Vector3d &rotationMatrixCol0, const Eigen::Vector3d &rotationMatrixCol1, const Eigen::Vector3d &rotationMatrixCol2, const Eigen::Vector3d &translation)

Helper method to create a transform from Rotation matrix vectors:

Parameters
  • rotationMatrixCol0

  • rotationMatrixCol1

  • rotationMatrixCol2 – And translation

  • translation

static bool match(const char *first, const char *second)

Private helper method : match string with wildcards.

Parameters
  • first – is the one with the potential wildcard

  • second – is the test string

static bool match(const std::vector<std::string> &first, const char *second)

Private helper method : match string with wildcards Method that uses the match method with wild cards and performs it on an input list.

Parameters
  • first – is the one with the potential wildcard

  • second – is the test string