11#ifndef CbmGeoNodeMapBuilder_h
12#define CbmGeoNodeMapBuilder_h 1
20#include <unordered_set>
39 template<ECbmModuleId ModuleId>
40 static std::unordered_map<uint32_t, std::string>
Add()
43 LOG(warn) <<
"cbm::GeoNodeMapBuilder: adding geo-nodes for " << ModuleId <<
"was requested, but no rule for that "
44 <<
"was provided. Please, provide this method, or ignore the warning, if you do not need it";
ECbmModuleId
Enumerator for module Identifiers.
A common map for hardware address -> node path in TGeoManager (source)
A builder for GeoNodeMap in CBM.
static std::unordered_map< uint32_t, std::string > Add()
Adds nodes for a given detector ID.
void Request(ECbmModuleId moduleId)
Requests the builder to add geo-nodes for the detector subsystem.
GeoNodeMap Build() const
Builds the geo-node map.
std::unordered_set< ECbmModuleId > fDetToBuildNodes
A list of detectors requested to build nodes.
A class to keep paths to nodes vs. hardware addresses for different detectors.