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
CbmModuleList.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmModuleList.h
1
7
#ifndef CBMMODULELIST_H
8
#define CBMMODULELIST_H 1
9
10
11
#include <map>
12
13
#include "Rtypes.h"
14
#include "TString.h"
15
#include "
CbmAddress.h
"
16
17
18
using namespace
std;
19
20
25
enum
ESystemId
{
kRef
,
26
kMvd
,
27
kSts
,
28
kRich
,
29
kMuch
,
30
kTrd
,
31
kTof
,
32
kEcal
,
33
kPsd
,
34
kDummy
,
35
kNofSystems
};
36
37
39
enum
EPassiveId
{
kMagnet
= 100,
40
kTarget
,
41
kPipe
};
42
43
44
54
class
CbmModuleList
55
{
56
57
public
:
58
60
CbmModuleList
() { };
61
62
64
virtual
~CbmModuleList
() { };
65
66
71
static
TString GetModuleName(Int_t moduleId);
72
73
78
static
Int_t GetModuleId(
const
char
* moduleName);
79
80
81
82
private
:
83
85
static
map<Int_t, TString>
fModules
;
86
88
static
map<Int_t, TString> DefineModules();
89
90
};
91
92
#endif
/* CBMMODULELIST_H */
EicRoot
blob
master
cbmbase
CbmModuleList.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration