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