]>
Commit | Line | Data |
---|---|---|
65a39007 | 1 | |
2 | ////////////////////////////////////////////////////////////////////////// | |
3 | // // | |
4 | // AliFHistBrowser // | |
5 | // // | |
6 | // helper class to browse AliFast Makers histograms. // | |
7 | // // | |
8 | ////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #include <TBrowser.h> | |
11 | #include "AliFast.h" | |
12 | #include "AliFMaker.h" | |
13 | #include "AliFHistBrowser.h" | |
14 | ||
15 | ClassImp(AliFHistBrowser) | |
16 | ||
17 | ||
18 | ||
19 | //_____________________________________________________________________________ | |
20 | AliFHistBrowser::AliFHistBrowser() | |
21 | : TNamed("Histograms","ALIfast Histograms browser") | |
22 | { | |
23 | ||
24 | } | |
25 | ||
26 | //_____________________________________________________________________________ | |
27 | void AliFHistBrowser::Browse(TBrowser *b) | |
28 | { | |
29 | ||
30 | TIter next(gAliFast->Makers()); | |
31 | AliFMaker *maker; | |
32 | while ((maker = (AliFMaker*)next())) { | |
33 | b->Add(maker->Histograms(),maker->GetName()); | |
34 | } | |
35 | ||
36 | } |