8#include "daq/dqm/DqmMemFile.h"
13#include "TDirectory.h"
20int main(
int argc,
char** argv)
23 printf(
"Wrong number of arguments\n");
29 TMemFile* file = mfile->LoadMemFile();
33 TList* keylist = file->GetListOfKeys();
34 TIter nextkey(keylist);
36 while ((key = (TKey*)nextkey())) {
37 TObject* obj = key->ReadObj();
38 if (obj->IsA()->InheritsFrom(TH1::Class())) {
39 TH1* hist = (TH1*) obj;
40 printf(
"histo: %s, title: %s \n", hist->GetName(), hist->GetTitle());
Abstract base class for different kinds of events.