EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmGeoRich.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmGeoRich.h
1
#ifndef CBMGEORICH_H
2
#define CBMGEORICH_H
3
4
#include "
FairGeoSet.h
"
5
6
class
CbmGeoRich
:
public
FairGeoSet
{
7
protected
:
8
char
modName
[20];
// name of module
9
char
eleName
[20];
// substring for elements in module
10
public
:
11
CbmGeoRich
();
12
~CbmGeoRich
() {}
13
const
char
*
getModuleName
(Int_t);
14
const
char
*
getEleName
(Int_t);
15
inline
Int_t
getModNumInMod
(
const
TString&);
16
ClassDef(
CbmGeoRich
,0)
// Class for Rich
17
};
18
19
inline
Int_t
CbmGeoRich::getModNumInMod
(
const
TString&
name
) {
20
// returns the module index from module name
21
return
(Int_t)(name[4]-
'0'
)-1;
22
}
23
24
#endif
/* !CBMGEORICH_H */
25
26
27
EicRoot
blob
master
rich
CbmGeoRich.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration