Analysis Software
Documentation for sPHENIX simulation software
|
TGeoParser is a helper struct that walks recursively through a TGeometry and selects by string comparison the TGeoNodes that match the criteria. More...
#include <acts/blob/sPHENIX/Plugins/TGeo/include/Acts/Plugins/TGeo/TGeoParser.hpp>
Classes | |
struct | Options |
Nested configuration struct. More... | |
struct | SelectedNode |
struct | State |
Nested state struct. More... | |
Public Types | |
using | ParseRange = std::pair< double, double > |
Static Public Member Functions | |
static void | select (State &state, const Options &options, const TGeoMatrix &gmatrix=TGeoIdentity("ID")) |
TGeoParser is a helper struct that walks recursively through a TGeometry and selects by string comparison the TGeoNodes that match the criteria.
It also buils up the global transform for the conversion into an ACTS Surface
Definition at line 33 of file TGeoParser.hpp.
View newest version in sPHENIX GitHub at line 33 of file TGeoParser.hpp
using Acts::TGeoParser::ParseRange = std::pair<double, double> |
Definition at line 34 of file TGeoParser.hpp.
View newest version in sPHENIX GitHub at line 34 of file TGeoParser.hpp
|
static |
The parsing module, it takes the top Volume and recursively steps down
state | [out] The parsing state configuration, passed through |
options | [in] The parsing options as requiremed |
gmatrix | The current built-up transform to global at this depth |
Definition at line 23 of file TGeoParser.cpp.
View newest version in sPHENIX GitHub at line 23 of file TGeoParser.cpp
References Acts::VectorHelpers::cast(), check_fpe_masks::check(), dy, dz, Acts::TGeoPrimitivesHelper::makeTransform(), Acts::TGeoPrimitivesHelper::match(), Acts::TGeoParser::State::node, Acts::TGeoParser::State::onBranch, Acts::TGeoParser::Options::parseRanges, Acts::TGeoParser::State::selectedNodes, shape(), t, Acts::TGeoParser::Options::targetNames, Acts::Test::transform, translation(), Acts::TGeoParser::Options::unit, Acts::TGeoParser::State::volume, Acts::TGeoParser::Options::volumeNames, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::TGeoLayerBuilder::buildLayers().