]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/UNICOR/AliUnicorAnal.h
updated macros for Kaon Femto analysis
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / 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 class TCollection;
19
20 //=============================================================================
21 class AliUnicorAnal : public TNamed {
22    
23  public:
24   AliUnicorAnal(const char *nam="anal");                                 // constructor
25   virtual ~AliUnicorAnal() {}                                            // destructor
26   Long64_t Merge(const TCollection * const list);                // sumup histograms
27   void     Save(const char *outfil, const char *mode="update");  // save histograms 
28   TObject *GetHist(int i)                                        {return fHistos.At(i);}
29
30  protected:
31   static TDatabasePDG fgPDG;  // particle database
32   TObjArray fHistos;          // histograms
33
34   ClassDef(AliUnicorAnal,1)
35 };
36 //=============================================================================
37 #endif