CbmRoot
CbmGeoMuch.h
Go to the documentation of this file.
1
11
#ifndef CBMGEOMUCH_H
12
#define CBMGEOMUCH_H
13
14
#include "FairGeoSet.h"
15
16
class
CbmGeoMuch
:
public
FairGeoSet {
17
protected
:
18
char
modName
[20];
// name of module
19
char
eleName
[20];
// substring for elements in module
20
public
:
21
CbmGeoMuch
();
22
~CbmGeoMuch
() {}
23
const
char
*
getModuleName
(Int_t);
24
const
char
*
getEleName
(Int_t);
25
inline
Int_t
getModNumInMod
(
const
TString&);
26
ClassDef(
CbmGeoMuch
, 0)
// Class for MUID
27
};
28
29
inline
Int_t
CbmGeoMuch::getModNumInMod
(
const
TString& name) {
30
// returns the module index from module name
31
return
(Int_t)(name[4] -
'0'
) - 1;
32
}
33
34
#endif
/* !CBMGEOMUCH_H */
CbmGeoMuch::CbmGeoMuch
CbmGeoMuch()
Definition:
CbmGeoMuch.cxx:14
CbmGeoMuch::eleName
char eleName[20]
Definition:
CbmGeoMuch.h:19
CbmGeoMuch::getModuleName
const char * getModuleName(Int_t)
Definition:
CbmGeoMuch.cxx:21
CbmGeoMuch
Definition:
CbmGeoMuch.h:16
CbmGeoMuch::getEleName
const char * getEleName(Int_t)
Definition:
CbmGeoMuch.cxx:38
CbmGeoMuch::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
CbmGeoMuch.h:29
CbmGeoMuch::modName
char modName[20]
Definition:
CbmGeoMuch.h:18
CbmGeoMuch::~CbmGeoMuch
~CbmGeoMuch()
Definition:
CbmGeoMuch.h:22
sim
detectors
much
CbmGeoMuch.h
Generated on Wed Oct 28 2020 15:11:35 for CbmRoot by
1.8.18