]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - UNICOR/AliDAnal.h
ALICE version of the Universal Correlation analysis package UNICOR.
[u/mrichter/AliRoot.git] / UNICOR / AliDAnal.h
index ee3ac959a07779bcd47c1747aa32d8368325e922..73068d95a83486e81d77efcec406584c2042c8a6 100644 (file)
@@ -3,27 +3,23 @@
 #ifndef ALIDANAL_H
 #define ALIDANAL_H
 
-///////////////////////////////////////////////////////////////////////////////
-// Parent analysis class
-///////////////////////////////////////////////////////////////////////////////
-
 #include <TNamed.h>
 #include <TObjArray.h>
 #include <TDatabasePDG.h>
 
-/*****************************************************************************/
+//=============================================================================
 class AliDAnal : public TNamed {
    
  public:
-  AliDAnal(char *nam);                        // constructor
-  virtual ~AliDAnal()                         {printf("AliDAnal object %s destroyed\n",GetName());}
-  void Save(const char *outfil, const char *mode="update");  // save histograms on root file
+  AliDAnal(char *nam);                                         // constructor
+  virtual ~AliDAnal()     {printf("%s object named %s deleted\n",ClassName(),GetName());}
+  void Save(const char *outfil, const char *mode="update");  // save histograms 
 
  protected:
-  static TDatabasePDG *fPDG;               // particle database
-  TObjArray fHistos;                       // histograms
+  static TDatabasePDG fgPDG; // particle database
+  TObjArray fHistos;          // histograms
 
   ClassDef(AliDAnal,1)
 };
-/*****************************************************************************/
+//=============================================================================
 #endif