BmnRoot
Loading...
Searching...
No Matches
BmnModuleList.h
Go to the documentation of this file.
1
7#ifndef BMNMODULELIST_H
8#define BMNMODULELIST_H 1
9
10#include <map>
11
12#include "Rtypes.h"
13#include "TString.h"
14#include "BmnAddress.h"
15
16
26{
27 public:
28
31
32
34 virtual ~BmnModuleList() { };
35
36
41 static TString GetModuleName(Int_t moduleId);
42
43
48 static TString GetModuleNameCaps(Int_t moduleId);
49
50
55 static Int_t GetModuleId(const char* moduleName);
56
57
58
59 private:
60
62 static std::map<Int_t, TString> fModules;
63
65 static std::map<Int_t, TString> DefineModules();
66
67};
68
69#endif /* BMNMODULELIST_H */
Manages module Ids and names.
static Int_t GetModuleId(const char *moduleName)
static TString GetModuleNameCaps(Int_t moduleId)
virtual ~BmnModuleList()
static TString GetModuleName(Int_t moduleId)