#ifndef ALIUNICORANAL_H #define ALIUNICORANAL_H /* Copyright(c) 1998-2048, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ // Author: Dariusz Miskowiec 2007 //============================================================================= // parent class of all analyzers //============================================================================= #include #include #include class TCollection; //============================================================================= class AliUnicorAnal : public TNamed { public: AliUnicorAnal(const char *nam="anal"); // constructor virtual ~AliUnicorAnal() {} // destructor Long64_t Merge(const TCollection * const list); // sumup histograms void Save(const char *outfil, const char *mode="update"); // save histograms TObject *GetHist(int i) {return fHistos.At(i);} protected: static TDatabasePDG fgPDG; // particle database TObjArray fHistos; // histograms ClassDef(AliUnicorAnal,1) }; //============================================================================= #endif