Go to the source code of this file.
Definition at line 1 of file tut_makegifs.C.
References c1, f, h, i, name, next, obj, and TString.
3 TFile *
f=
new TFile(fn,
"READ");
7 TCanvas *
c1=
new TCanvas(
"c1",
"c1",10,10,700,600);
12 TIter
next(f->GetListOfKeys());
14 while (key = (TKey*)
next())
16 TObject *
obj = key->ReadObj();
17 if (!obj->InheritsFrom(
"TH1"))
continue;
19 cout <<
"Creating "<<name<<endl;