CbmRoot
Loading...
Searching...
No Matches
cbm::GeoHelper Class Reference

A class providing a uniformed access to geometrical information for different detector subsystems. More...

#include <CbmGeoHelper.h>

Static Public Member Functions

static std::vector< TString > CollectNodes (const TString &detector, const std::regex &component, const TString &path, TGeoNode *pNode)
 Collects paths of the components.
 

Detailed Description

A class providing a uniformed access to geometrical information for different detector subsystems.

Definition at line 23 of file CbmGeoHelper.h.

Member Function Documentation

◆ CollectNodes()

std::vector< TString > GeoHelper::CollectNodes ( const TString & detector,
const std::regex & component,
const TString & path,
TGeoNode * pNode )
static

Collects paths of the components.

Parameters
[in]detectorName hint of the detector
[in]componentName of the active node component (can be a regular expression)
[in,out]pathPath to the node
[in,out]pNodePointer to the node
Returns
Vector of paths to the matched components

Definition at line 28 of file CbmGeoHelper.cxx.

References CollectNodes().

Referenced by CollectNodes(), cbm::much::RecoSetupUnitFactory::CreateStationVolumes(), cbm::tof::RecoSetupUnitFactory::CreateStationVolumes(), cbm::trd::RecoSetupUnitFactory::CreateStationVolumes(), and CbmTrdParSetGeo::Init().


The documentation for this class was generated from the following files: