BmnRoot
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
6
class
CbmGeoSts
:
public
FairGeoSet {
7
protected
:
8
char
modName
[200];
// name of module
9
char
eleName
[200];
// substring for elements in module
10
public
:
11
CbmGeoSts
();
12
~CbmGeoSts
() {}
13
const
char
*
getModuleName
(Int_t);
14
const
char
*
getEleName
(Int_t);
15
inline
Int_t
getModNumInMod
(
const
TString&);
16
ClassDef(
CbmGeoSts
,0)
// Class for STS
17
};
18
19
inline
Int_t
CbmGeoSts::getModNumInMod
(
const
TString& name) {
20
// returns the module index from module name
21
return
(Int_t)(name[3]-
'0'
)-1;
22
}
23
24
#endif
/* !CBMGEOSTS_H */
CbmGeoSts
Definition
CbmGeoSts.h:6
CbmGeoSts::getEleName
const char * getEleName(Int_t)
Definition
CbmGeoSts.cxx:39
CbmGeoSts::CbmGeoSts
CbmGeoSts()
Definition
CbmGeoSts.cxx:18
CbmGeoSts::getModuleName
const char * getModuleName(Int_t)
Definition
CbmGeoSts.cxx:25
CbmGeoSts::~CbmGeoSts
~CbmGeoSts()
Definition
CbmGeoSts.h:12
CbmGeoSts::eleName
char eleName[200]
Definition
CbmGeoSts.h:9
CbmGeoSts::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition
CbmGeoSts.h:19
CbmGeoSts::modName
char modName[200]
Definition
CbmGeoSts.h:8
detectors
sts
CbmGeoSts.h
Generated on Fri May 15 2026 10:40:55 for BmnRoot by
1.9.8