1 #ifndef ALIUNICORANAL_H
2 #define ALIUNICORANAL_H
4 /* Copyright(c) 1998-2048, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007
10 //=============================================================================
11 // parent class of all analyzers
12 //=============================================================================
15 #include <TObjArray.h>
16 #include <TDatabasePDG.h>
20 //=============================================================================
21 class AliUnicorAnal : public TNamed {
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);}
31 static TDatabasePDG fgPDG; // particle database
32 TObjArray fHistos; // histograms
34 ClassDef(AliUnicorAnal,1)
36 //=============================================================================