]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/UNICOR/AliUnicorAnal.h
AliRsnCut:
[u/mrichter/AliRoot.git] / PWG2 / UNICOR / AliUnicorAnal.h
CommitLineData
621688e4 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
c6fc7f72 18class TCollection;
19
621688e4 20//=============================================================================
21class AliUnicorAnal : public TNamed {
22
23 public:
61e4657c 24 AliUnicorAnal(const char *nam="anal"); // constructor
c6fc7f72 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);}
621688e4 29
30 protected:
c6fc7f72 31 static TDatabasePDG fgPDG; // particle database
621688e4 32 TObjArray fHistos; // histograms
33
34 ClassDef(AliUnicorAnal,1)
35};
36//=============================================================================
37#endif