]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/UNICOR/AliUnicorAnal.h
Second attempt to add UNICOR. In its present version it is
[u/mrichter/AliRoot.git] / PWG2 / UNICOR / AliUnicorAnal.h
1 #ifndef ALIUNICORANAL_H
2 #define ALIUNICORANAL_H
3
4 /* Copyright(c) 1998-2048, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 /* $Id$ */
7
8 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007
9
10 //=============================================================================
11 // parent class of all analyzers
12 //=============================================================================
13
14 #include <TNamed.h>
15 #include <TObjArray.h>
16 #include <TDatabasePDG.h>
17
18 //=============================================================================
19 class AliUnicorAnal : public TNamed {
20    
21  public:
22   AliUnicorAnal(char *nam="anal");                                   // constructor
23   virtual ~AliUnicorAnal()     {printf("%s object named %s deleted\n",ClassName(),GetName());}
24   void Save(const char *outfil, const char *mode="update");  // save histograms 
25
26  protected:
27   static TDatabasePDG fgPDG; // particle database
28   TObjArray fHistos;          // histograms
29
30   ClassDef(AliUnicorAnal,1)
31 };
32 //=============================================================================
33 #endif