| 
    Jpp - 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... | |
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 37 of file JDBToolkit.hh.
      
  | 
  inline | 
Initialise.
Definition at line 41 of file JDBToolkit.hh.
      
  | 
  inline | 
Get detector serial number.
| detid | object identifier | 
Definition at line 60 of file JDBToolkit.hh.
      
  | 
  inline | 
Get detector identifier.
| id | serial number | 
Definition at line 85 of file JDBToolkit.hh.
      
  | 
  protected | 
Definition at line 104 of file JDBToolkit.hh.
      
  | 
  protected | 
Definition at line 105 of file JDBToolkit.hh.
 1.8.5