Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
...
The HPS conditions manager is automatically installed by creating a new instance of the DatabaseConditionsManager class.
Code Block | ||||
---|---|---|---|---|
| ||||
new DatabaseConditionsManager(); |
This will automatically install the manager as the global conditions manager, which can then be accessed using the following method.
Code Block | ||||
---|---|---|---|---|
| ||||
DatabaseConditionsManager mgr = DatabaseConditionsManager.getInstance(); |
Users should not normally need to install their own conditions manager as this is done in the setup of the various job tools, but it may be necessary when writing standalone scripts and command line tools which do not use these classes.
The conditions system is initialized using the ConditionsManager's setDetector method which takes the name of a detector and a run number.
...