]> git.uio.no Git - u/mrichter/AliRoot.git/blame - UNICOR/AliDAnal.h
New class for AOD<->MC association
[u/mrichter/AliRoot.git] / UNICOR / AliDAnal.h
CommitLineData
8a00ea52 1// Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007
2
5a6d201c 3//=============================================================================
4// parent class of all analyzers
5//=============================================================================
6
8a00ea52 7#ifndef ALIDANAL_H
8#define ALIDANAL_H
9
8a00ea52 10#include <TNamed.h>
11#include <TObjArray.h>
12#include <TDatabasePDG.h>
13
7148817a 14//=============================================================================
8a00ea52 15class AliDAnal : public TNamed {
16
17 public:
7148817a 18 AliDAnal(char *nam); // constructor
19 virtual ~AliDAnal() {printf("%s object named %s deleted\n",ClassName(),GetName());}
20 void Save(const char *outfil, const char *mode="update"); // save histograms
8a00ea52 21
22 protected:
7148817a 23 static TDatabasePDG fgPDG; // particle database
24 TObjArray fHistos; // histograms
8a00ea52 25
26 ClassDef(AliDAnal,1)
27};
7148817a 28//=============================================================================
8a00ea52 29#endif