ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::TGeoPrimitivesHelper Struct Reference

#include <ActsPlugins/Root/TGeoPrimitivesHelper.hpp>

Static Public Member Functions

static Acts::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:
static bool match (const char *first, const char *second)
 Private helper method : match string with wildcards.
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.

Member Function Documentation

◆ makeTransform()

Acts::Transform3 ActsPlugins::TGeoPrimitivesHelper::makeTransform ( const Eigen::Vector3d & rotationMatrixCol0,
const Eigen::Vector3d & rotationMatrixCol1,
const Eigen::Vector3d & rotationMatrixCol2,
const Eigen::Vector3d & translation )
static

Helper method to create a transform from Rotation matrix vectors:

Parameters
rotationMatrixCol0
rotationMatrixCol1
rotationMatrixCol2And translation
translation

◆ match() [1/2]

bool ActsPlugins::TGeoPrimitivesHelper::match ( const char * first,
const char * second )
static

Private helper method : match string with wildcards.

Parameters
firstis the one with the potential wildcard
secondis the test string

◆ match() [2/2]

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

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

Parameters
firstis the one with the potential wildcard
secondis the test string