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
12
class
TGeoManager;
13
14
24
class
CbmStsSetup
:
public
CbmStsElement
25
{
26
27
public
:
28
29
30
CbmStsSetup
();
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
@ kStsNofLevels
Number of STS levels.
Definition
CbmStsAddress.h:28
CbmStsElement.h
CbmStsElement
Class representing an element of the STS setup.
Definition
CbmStsElement.h:32
CbmStsSetup
Class representing the top level of the STS setup.
Definition
CbmStsSetup.h:25
CbmStsSetup::CbmStsSetup
CbmStsSetup()
Definition
CbmStsSetup.cxx:32
CbmStsSetup::GetLevelName
static const char * GetLevelName(Int_t level)
Definition
CbmStsSetup.h:36
CbmStsSetup::Init
Bool_t Init(TGeoManager *geo)
Definition
CbmStsSetup.cxx:42
CbmStsSetup::Instance
static CbmStsSetup * Instance()
Definition
CbmStsSetup.cxx:90
CbmStsSetup::~CbmStsSetup
virtual ~CbmStsSetup()
Definition
CbmStsSetup.h:33
detectors
sts
setup
CbmStsSetup.h
Generated on Fri May 15 2026 10:40:53 for BmnRoot by
1.9.8