#ifndef CBMGEOMVD_H #define CBMGEOMVD_H #include "CbmGeoSet.h" class MvdGeo : public CbmGeoSet { protected: char modName[20]; // name of module char eleName[20]; // substring for elements in module char keepinName[20]; public: MvdGeo(); ~MvdGeo() {} const char* getModuleName(Int_t); const char* getEleName(Int_t); const char* getKeepinName(Int_t,Int_t); inline Int_t getModNumInMod(const TString&); ClassDef(MvdGeo,1) // Class for Mvd }; // TODO: we don't need this? inline Int_t MvdGeo::getModNumInMod(const TString& name) { /// returns the module index from module name return (Int_t)(name[3]-'0')-1; } #endif /* !CBMGEOMvd_H */