DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Base class to be implemented by objects to listen on condition callbacks. More...
#include <ConditionsRepository.h>
Classes | |
class | Entry |
Definition of a single Entry in the conditions repository. More... | |
Public Types | |
typedef std::vector< Entry > | Data |
Definition of the entry collection. More... | |
Public Member Functions | |
ConditionsRepository () | |
Default constructor. More... | |
virtual | ~ConditionsRepository () |
Default destructor. More... | |
int | save (ConditionsManager m, const std::string &output) const |
Save the repository to file. More... | |
int | load (const std::string &input, Data &data) const |
Load the repository from file and fill user passed data structory. More... | |
Base class to be implemented by objects to listen on condition callbacks.
Definition at line 38 of file ConditionsRepository.h.
typedef std::vector<Entry> dd4hep::cond::ConditionsRepository::Data |
Definition of the entry collection.
Definition at line 56 of file ConditionsRepository.h.
ConditionsRepository::ConditionsRepository | ( | ) |
Default constructor.
Definition at line 40 of file ConditionsRepository.cpp.
|
virtual |
Default destructor.
Definition at line 44 of file ConditionsRepository.cpp.
int ConditionsRepository::load | ( | const std::string & | input, |
Data & | data | ||
) | const |
Load the repository from file and fill user passed data structory.
Definition at line 247 of file ConditionsRepository.cpp.
int ConditionsRepository::save | ( | ConditionsManager | m, |
const std::string & | output | ||
) | const |
Save the repository to file.
Write XML file with conditions addresses
Write fixed records with conditions addresses
Write fixed records with conditions addresses
Write records separated by ';' with conditions addresses
Definition at line 210 of file ConditionsRepository.cpp.