Jpp
18.5.2
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... | |
const JDetectors & | operator[] (const std::string &detid) |
Get detector. More... | |
const JDetectors & | operator[] (const int id) |
Get detector. 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... | |
Auxiliary class for mapping serial number and object identifier of detectors.
Definition at line 42 of file JDBToolkit.hh.
|
inline |
Initialise.
Definition at line 48 of file JDBToolkit.hh.
|
inline |
Get detector.
detid | object identifier |
Definition at line 66 of file JDBToolkit.hh.
|
inline |
Get detector.
id | serial number |
Definition at line 90 of file JDBToolkit.hh.
|
inline |
Get detector serial number.
detid | object identifier |
Definition at line 114 of file JDBToolkit.hh.
|
inline |
Get detector identifier.
id | serial number |
Definition at line 126 of file JDBToolkit.hh.
|
inline |
Get serial number according given data type.
detid | object identifier or serial number |
type | data type |
Definition at line 139 of file JDBToolkit.hh.
|
inline |
Get detector identifier according given data type.
detid | object identifier or serial number |
type | data type |
Definition at line 157 of file JDBToolkit.hh.
|
static |
Helper object.
Definition at line 171 of file JDBToolkit.hh.