5#ifndef CBMFSDGEOHANDLER_H
6#define CBMFSDGEOHANDLER_H
static CbmFsdGeoHandler & GetInstance()
Int_t GetCopyNumberByKey(TString geoPath, TString key) const
Helper function to extract copy number from geoPath using key word.
CbmFsdGeoHandler(const CbmFsdGeoHandler &)=delete
CbmFsdGeoHandler & operator=(const CbmFsdGeoHandler &)=delete
std::map< Int_t, CbmFsdModuleSpecs * > fModuleIdToSpecsMap
std::map< Int_t, CbmFsdUnitSpecs * > fUnitIdToSpecsMap
const TString fActiveMatStr
CbmFsdUnitSpecs * GetUnitSpecsById(Int_t id)
int32_t GetAddress(TString geoPath) const
Get the unique address from geometry path string.
~CbmFsdGeoHandler()=default
CbmFsdModuleSpecs * GetModuleSpecsById(Int_t id)
int32_t GetCurrentAddress(TVirtualMC *vmc) const
Get the unique address from TVirtualMC.