|  | Iguana 1.0.0
    Implementation Guardian of Analysis Algorithms | 
#include <RCDBReader.h>
RCDB reader.
This class interfaces to the RCDB. The database connection path is chosen from one of the following, in order:
RCDB will automatically use mariadb / mysql or sqlite, depending on the above RCDB database path, and whether you have satisfied the dependencies.
Definition at line 21 of file RCDBReader.h.
| Public Member Functions | |
| double | GetBeamEnergy (int const runnum) | 
| RCDBReader (std::string_view name="rcdb", Logger::Level lev=Logger::DEFAULT_LEVEL) | |
| Public Member Functions inherited from iguana::Object | |
| std::unique_ptr< Logger > & | GetLog () | 
| std::string | GetName () const | 
| std::unique_ptr< Logger > & | Log () | 
| Object (std::string_view name="", Logger::Level lev=Logger::DEFAULT_LEVEL) | |
| void | SetLogLevel (Logger::Level const lev) | 
| void | SetLogLevel (std::string_view lev) | 
| void | SetName (std::string_view name) | 
| Protected Attributes | |
| std::string const | m_default_url = "mysql://rcdb@clasdb.jlab.org/rcdb" | 
| default RCDB URL, used as a last resort | |
| Protected Attributes inherited from iguana::Object | |
| std::unique_ptr< Logger > | m_log | 
| Logger instance for this object | |
| std::string | m_name | 
| The name of this object. | |

| iguana::RCDBReader::RCDBReader | ( | std::string_view | name = "rcdb", | 
| Logger::Level | lev = Logger::DEFAULT_LEVEL ) | 
| name | the name of this reader | 
| lev | the log level | 
| double iguana::RCDBReader::GetBeamEnergy | ( | int const | runnum | ) | 
| runnum | run number | 
| 
 | protected | 
default RCDB URL, used as a last resort
Definition at line 37 of file RCDBReader.h.