BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmGeoSts.h
Go to the documentation of this file.
1#ifndef CBMGEOSTS_H
2#define CBMGEOSTS_H
3
4#include "FairGeoSet.h"
5
6class CbmGeoSts : public FairGeoSet
7{
8 protected:
9 char modName[200]; // name of module
10 char eleName[200]; // substring for elements in module
11 public:
12 CbmGeoSts();
14 const char* getModuleName(Int_t);
15 const char* getEleName(Int_t);
16 inline Int_t getModNumInMod(const TString&);
17 ClassDef(CbmGeoSts, 0) // Class for STS
18};
19
21{
22 // returns the module index from module name
23 return (Int_t)(name[3] - '0') - 1;
24}
25
26#endif /* !CBMGEOSTS_H */
int Int_t
#define ClassDef(name, id)
const char * getEleName(Int_t)
Definition CbmGeoSts.cxx:43
const char * getModuleName(Int_t)
Definition CbmGeoSts.cxx:27
char eleName[200]
Definition CbmGeoSts.h:10
Int_t getModNumInMod(const TString &)
Definition CbmGeoSts.h:20
char modName[200]
Definition CbmGeoSts.h:9