|
Jpp
test_elongated_shower_pde
the software that should make you happy
|
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... | |
| int | operator() (const std::string &detid, const JType< int > &type) |
| Get serial number according given data type. More... | |
| std::string | operator() (const std::string &detid, const JType< std::string > &type) |
| Get detector identifier according given data type. More... | |
Static Public Attributes | |
| static JDetectorsHelper | helper |
| Helper object. 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 39 of file JDBToolkit.hh.
|
inline |
Initialise.
Definition at line 43 of file JDBToolkit.hh.
|
inline |
Get detector serial number.
| detid | object identifier |
Definition at line 62 of file JDBToolkit.hh.
|
inline |
Get detector identifier.
| id | serial number |
Definition at line 87 of file JDBToolkit.hh.
|
inline |
Get serial number according given data type.
| detid | object identifier or serial number |
| type | data type |
Definition at line 113 of file JDBToolkit.hh.
|
inline |
Get detector identifier according given data type.
| detid | object identifier or serial number |
| type | data type |
Definition at line 131 of file JDBToolkit.hh.
|
static |
Helper object.
Definition at line 145 of file JDBToolkit.hh.
|
protected |
Definition at line 148 of file JDBToolkit.hh.
|
protected |
Definition at line 149 of file JDBToolkit.hh.
1.8.5