CbmRoot
Loading...
Searching...
No Matches
CbmGeoHelper.h
Go to the documentation of this file.
1/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#ifndef CbmGeoHelper_h
11#define CbmGeoHelper_h 1
12
13#include <regex>
14#include <vector>
15
16class TString;
17class TGeoNode;
18
19namespace cbm
20{
23 class GeoHelper {
24 public:
31 static std::vector<TString> CollectNodes(const TString& detector, const std::regex& component, const TString& path,
32 TGeoNode* pNode);
33 };
34} // namespace cbm
35
36#endif // CbmGeoHelper_h
A class providing a uniformed access to geometrical information for different detector subsystems.
static std::vector< TString > CollectNodes(const TString &detector, const std::regex &component, const TString &path, TGeoNode *pNode)
Collects paths of the components.