#ifndef PNDSSDGEO_H #define PNDSSDGEO_H #include "FairGeoSet.h" class PndSsdGeo : public FairGeoSet { public: PndSsdGeo(); ~PndSsdGeo() {} 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 fModName[20]; // name of module char fEleName[20]; // substring for elements in module char fKeepinName[20]; ClassDef(PndSsdGeo,1); // Class for PndSsd }; // TODO: we don't need this? inline Int_t PndSsdGeo::getModNumInMod(const TString& name) const { /// returns the module index from module name return (Int_t)(name[3]-'0')-1; } #endif /* !PNDSSDGEO_H */