CbmRoot
CbmModuleList.h
Go to the documentation of this file.
1
7
#ifndef CBMMODULELIST_H
8
#define CBMMODULELIST_H 1
9
10
11
#include <map>
// for map
12
13
#include <RtypesCore.h>
// for ROOT data types
14
#include <TString.h>
// for TString
15
16
#include "
CbmDefs.h
"
// for ECbmModuleId
17
27
class
CbmModuleList
{
28
29
public
:
31
CbmModuleList
() {};
32
33
35
virtual
~CbmModuleList
() {};
36
37
42
static
TString
GetModuleName
(
ECbmModuleId
moduleId);
43
44
49
static
TString
GetModuleNameCaps
(
ECbmModuleId
moduleId);
50
51
56
static
ECbmModuleId
GetModuleId
(
const
char
* moduleName);
57
58
59
private
:
61
static
std::map<ECbmModuleId, TString>
fModules
;
62
64
static
std::map<ECbmModuleId, TString>
DefineModules
();
65
};
66
67
#endif
/* CBMMODULELIST_H */
CbmModuleList::GetModuleId
static ECbmModuleId GetModuleId(const char *moduleName)
Definition:
CbmModuleList.cxx:52
CbmModuleList::DefineModules
static std::map< ECbmModuleId, TString > DefineModules()
Definition:
CbmModuleList.cxx:16
CbmModuleList::fModules
static std::map< ECbmModuleId, TString > fModules
Definition:
CbmModuleList.h:61
ECbmModuleId
ECbmModuleId
Definition:
CbmDefs.h:33
CbmModuleList
Manages module Ids and names.
Definition:
CbmModuleList.h:27
CbmModuleList::~CbmModuleList
virtual ~CbmModuleList()
Definition:
CbmModuleList.h:35
CbmModuleList::GetModuleNameCaps
static TString GetModuleNameCaps(ECbmModuleId moduleId)
Definition:
CbmModuleList.cxx:77
CbmModuleList::CbmModuleList
CbmModuleList()
Definition:
CbmModuleList.h:31
CbmModuleList::GetModuleName
static TString GetModuleName(ECbmModuleId moduleId)
Definition:
CbmModuleList.cxx:66
CbmDefs.h
core
data
CbmModuleList.h
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18