RCDB reader.
This class interfaces to the RCDB. The database connection path is chosen from one of the following, in order:
- The global variable iguana::GlobalRcdbUrl; by default this is not set to any value (its type is iguana::GlobalParam)
- The environment variable RCDB_CONNECTION (which is likely set if you are on ifarm)
- A default URL, which will be printed in a warning; see iguana::RCDBReader::m_default_url
RCDB will automatically use mariadb / mysql or sqlite, depending on the above RCDB database path, and whether you have satisfied the dependencies.
- Note
- If you are reading Monte Carlo data with run number iguana::MC_RUN_NUM = 11, RCDB queries may fail. See "override" methods, such as RCDBReader::SetBeamEnergyOverride, which allow you set values for such quantities. If you are configuring an algorithm's RCDBReader instance, you would need to call these override methods after calling Algorithm::Start. Note that some algorithms may have configuration parameters which also provide such overrides.
Definition at line 31 of file RCDBReader.h.