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