BmnRoot
Loading...
Searching...
No Matches
CbmStsSetup.h
Go to the documentation of this file.
1
7#ifndef CBMSTSSETUP_H
8#define CBMSTSSETUP_H 1
9
10#include "CbmStsElement.h"
11
12class TGeoManager;
13
14
25{
26
27 public:
28
29
31
32
33 virtual ~CbmStsSetup() { };
34
35
36 static const char* GetLevelName(Int_t level) {
37 if ( level < 0 || level >= kStsNofLevels ) return "";
38 return (fgkLevelName[level]).Data();
39 }
40
41
42 Bool_t Init(TGeoManager* geo);
43
44
45 static CbmStsSetup* Instance();
46
47
48
49 private:
50
51 static CbmStsSetup* fgInstance;
52
53 static const TString fgkLevelName[kStsNofLevels];
54
55
56 ClassDef(CbmStsSetup,1);
57
58};
59
60#endif /* CBMSTSSETUP_H */
@ kStsNofLevels
Number of STS levels.
Class representing an element of the STS setup.
Class representing the top level of the STS setup.
Definition CbmStsSetup.h:25
static const char * GetLevelName(Int_t level)
Definition CbmStsSetup.h:36
Bool_t Init(TGeoManager *geo)
static CbmStsSetup * Instance()
virtual ~CbmStsSetup()
Definition CbmStsSetup.h:33