|
BmnRoot
|
Manages module Ids and names. More...
#include <BmnModuleList.h>
Public Member Functions | |
| BmnModuleList () | |
| virtual | ~BmnModuleList () |
Static Public Member Functions | |
| static TString | GetModuleName (Int_t moduleId) |
| static TString | GetModuleNameCaps (Int_t moduleId) |
| static Int_t | GetModuleId (const char *moduleName) |
Manages module Ids and names.
BmnModuleList is a tool to assess module names from their identifier and vice versa through static methods. Modules can be (detector) systems or passive ones.
Definition at line 25 of file BmnModuleList.h.
|
inline |
Constructor
Definition at line 30 of file BmnModuleList.h.
|
inlinevirtual |
Destructor
Definition at line 34 of file BmnModuleList.h.
|
static |
Get module Id from module name
| moduleName | Name of module (case insensitive) |
Definition at line 40 of file BmnModuleList.cxx.
|
static |
Get module name from module Id
| moduleId | Unique module identifier (SystemId or kMagnet/kTarget/kPipe) |
Definition at line 56 of file BmnModuleList.cxx.
Referenced by GetModuleNameCaps().
|
static |
Get module name in capitals from module Id
| moduleId | Unique module identifier (SystemId or kMagnet/kTarget/kPipe) |
Definition at line 68 of file BmnModuleList.cxx.
References GetModuleName().
Referenced by BmnDaqBuffer::PrintStatus(), and BmnDaqBuffer::ToString().