BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
{
8
protected
:
9
char
modName
[200];
// name of module
10
char
eleName
[200];
// substring for elements in module
11
public
:
12
CbmGeoSts
();
13
~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
20
inline
Int_t
CbmGeoSts::getModNumInMod
(
const
TString
& name)
21
{
22
// returns the module index from module name
23
return
(
Int_t
)(name[3] -
'0'
) - 1;
24
}
25
26
#endif
/* !CBMGEOSTS_H */
Int_t
int Int_t
ClassDef
#define ClassDef(name, id)
CbmGeoSts
Definition
CbmGeoSts.h:7
CbmGeoSts::getEleName
const char * getEleName(Int_t)
Definition
CbmGeoSts.cxx:43
CbmGeoSts::CbmGeoSts
CbmGeoSts()
Definition
CbmGeoSts.cxx:19
CbmGeoSts::getModuleName
const char * getModuleName(Int_t)
Definition
CbmGeoSts.cxx:27
CbmGeoSts::~CbmGeoSts
~CbmGeoSts()
Definition
CbmGeoSts.h:13
CbmGeoSts::eleName
char eleName[200]
Definition
CbmGeoSts.h:10
CbmGeoSts::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition
CbmGeoSts.h:20
CbmGeoSts::modName
char modName[200]
Definition
CbmGeoSts.h:9
FairGeoSet
TString
detectors
sts
CbmGeoSts.h
Generated on
for BmnRoot by
1.17.0