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