]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDApi0mip.h
modified bin sizes of some histo
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDApi0mip.h
index d67a82cb08268b46b06d3ce779d5048a6b30021e..53d3a54c4e9e1addb03146da7f67128c16c57272 100644 (file)
@@ -1,3 +1,10 @@
+#ifndef AliPHOSDApi0mip_H
+#define AliPHOSDApi0mip_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 // --
 // --
 // Implementation for TTree output in PHOS DA
@@ -5,8 +12,7 @@
 // --
 // -- Author: Hisayuki Torii (Hiroshima Univ.)
 // --
-#ifndef AliPHOSDApi0mip_H
-#define AliPHOSDApi0mip_H
+
 
 #include <time.h>
 
@@ -21,8 +27,9 @@
 
 class AliPHOSDApi0mip : public TNamed {
  public:
-  AliPHOSDApi0mip(int module,int iterid=0,char* fopt="RECREATE");
+  AliPHOSDApi0mip(int module,int iterid=0,const char* fopt="RECREATE");
   AliPHOSDApi0mip(const AliPHOSDApi0mip& da);
+  AliPHOSDApi0mip& operator= (const AliPHOSDApi0mip&);
   ~AliPHOSDApi0mip();
   
   void NewEvent();
@@ -31,28 +38,27 @@ class AliPHOSDApi0mip : public TNamed {
   time_t GetTime(){return fTime;};
   void FillTree(AliPHOSDATreeEvent* event=0);
   void FillHist(AliPHOSDATreeEvent* event=0);
-  void Print(char* opt="");
+  void Print(Option_t *option="") const;
 
  private:
-  bool CreateTree();
-  bool CreateHist();
-  bool fCreateTree;           //! Flag of tree initialization
-  bool fCreateHist;           //! Flag of hist initialization
-  int fMod;                   // Module ID [0-4] ([2-4] for 2009)
-  int fIterId;                // Iteration step [0-*]
-  //
-  TFile* fTFile;              //! output file
-  TTree* fTTree;              //! output TTree
-  AliPHOSDATreeEvent* fEvent; //! Contents of TTree
-  bool fEventClustered;       //! Flag for
+  Bool_t CreateTree();
+  Bool_t CreateHist();
+  Bool_t fCreateTree;           //! Flag of tree initialization
+  Bool_t fCreateHist;           //! Flag of hist initialization
+  Int_t  fMod;                  // Module ID [0-4] ([2-4] for 2009)
+  Int_t  fIterId;               // Iteration step [0-*]
+  TFile* fTFile;                //! output file
+  TTree* fTTree;                //! output TTree
+  AliPHOSDATreeEvent* fEvent;   //! Contents of TTree
+  Bool_t fEventClustered;       //! Flag for
   time_t fTime;                 // time
-  TH1I* fH1Time;                // x:bin1=StartTime bin2=EndTime
-  TH1F* fH1DigitNum;            // x:Number of digits
-  TH1F* fH1ClusterNum;          // x:Number of clusters
-  TH2F* fH2EneDigitId;          // x:DigitId[0-3583] y:Digit Energy
-  TH2F* fH2MipDigitId;          // x:DigitId[0-3583] y:Cluster Energy
-  TH2F* fH2Pi0DigitId;          // x:DigitId[0-3583] y:Cluster Pair Mass
-  TH3F* fH3Pi0AsymPt;           // x:asym y:pT(GeV/c) z:Cluster Pair Mass
+  TH1I*  fH1Time;               // x:bin1=StartTime bin2=EndTime
+  TH1F*  fH1DigitNum;           // x:Number of digits
+  TH1F*  fH1ClusterNum;         // x:Number of clusters
+  TH2F*  fH2EneDigitId;         // x:DigitId[0-3583] y:Digit Energy
+  TH2F*  fH2MipDigitId;         // x:DigitId[0-3583] y:Cluster Energy
+  TH2F*  fH2Pi0DigitId;         // x:DigitId[0-3583] y:Cluster Pair Mass
+  TH3F*  fH3Pi0AsymPt;          // x:asym y:pT(GeV/c) z:Cluster Pair Mass
 
   ClassDef(AliPHOSDApi0mip,1)
 };