1 void StoreOnDB(
const char* input,
int chan ,
int dataset) {
3 gSystem->Load(
"libqroot");
9 dm.
Get(
"CalCoefficients",&cphandle,input);
11 if(!cphandle.IsValid()) {
12 cout<<cphandle.GetError()<<endl;
16 cphandle.
SetStabLabel(
"FindMultipleTrendsByBruteForce@");
28 using namespace Diana;
29 gSystem->Load(
"libqroot");
39 if(!cphandle.IsValid()) {
40 cout<<cphandle.GetError()<<endl;
void FillFromDB(int chan, int dataset)
void StoreOnDB(const char *input, int chan, int dataset)
global handle for calibration parameters
void SetStabLabel(const std::string &stabl)
void SetStabVersion(const std::string &stabv)
object containing calibration data (function, coefficients, source and residuals) and run numbers of ...
error class with error type and description
Object to manage I/O (DB, file, or memory) of diana global quantities.
void SetOwner(const std::string &owner)
set the module that is accessing this object
QError Set(GlobalHandle< Q > *gh, const std::string &outSource, bool printError=true) const
Set a QObject using a GlobalHandle.
QError Get(const std::string &owner, GlobalHandle< Q > *gh, const std::string &inSource, bool printError=true) const
Get an object using a global handle.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...