3 gSystem->Load(
"libqroot");
9 aphandle.SetDataset(6040);
10 dm.
Get(
"AveragePulses",&aphandle,input);
12 if(!aphandle.IsValid()) {
13 cout<<aphandle.GetError()<<endl;
26 using namespace Diana;
27 gSystem->Load(
"libqroot");
33 aphandle.SetDataset(6040);
38 if(!aphandle.IsValid()) {
39 cout<<aphandle.GetError()<<endl;
void StoreOnDB(const char *input)
global handle for average pulse
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...