]>
Commit | Line | Data |
---|---|---|
8a00ea52 | 1 | // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007 |
2 | ||
3 | #ifndef ALIDANAL_H | |
4 | #define ALIDANAL_H | |
5 | ||
6 | /////////////////////////////////////////////////////////////////////////////// | |
7 | // Parent analysis class | |
8 | /////////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #include <TNamed.h> | |
11 | #include <TObjArray.h> | |
12 | #include <TDatabasePDG.h> | |
13 | ||
14 | /*****************************************************************************/ | |
15 | class AliDAnal : public TNamed { | |
16 | ||
17 | public: | |
18 | AliDAnal(char *nam); // constructor | |
19 | virtual ~AliDAnal() {printf("AliDAnal object %s destroyed\n",GetName());} | |
20 | void Save(const char *outfil, const char *mode="update"); // save histograms on root file | |
21 | ||
22 | protected: | |
23 | static TDatabasePDG *fPDG; // particle database | |
24 | TObjArray fHistos; // histograms | |
25 | ||
26 | ClassDef(AliDAnal,1) | |
27 | }; | |
28 | /*****************************************************************************/ | |
29 | #endif |