|
Jpp
|
Auxiliary class for mapping serial number and object identifier of detectors. More...
#include <JDBToolkit.hh>
Public Member Functions | |
| void | initialise () |
| Initialise. More... | |
| int | operator() (const std::string &detid) |
| Get detector serial number. More... | |
| std::string | operator() (const int id) |
| Get detector identifier. More... | |
Protected Attributes | |
| std::map< int, std::string > | id2det |
| std::map< std::string, int > | det2id |
Auxiliary class for mapping serial number and object identifier of detectors.
Definition at line 36 of file JDBToolkit.hh.
|
inline |
Initialise.
Definition at line 40 of file JDBToolkit.hh.
|
inline |
Get detector serial number.
| detid | object identifier |
Definition at line 59 of file JDBToolkit.hh.
|
inline |
Get detector identifier.
| id | serial number |
Definition at line 84 of file JDBToolkit.hh.
|
protected |
Definition at line 103 of file JDBToolkit.hh.
|
protected |
Definition at line 104 of file JDBToolkit.hh.
1.8.5