]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCBuffer.h
Corrected UInt_t <-> Int_t conversion
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
index 15d7d60ec6031c42a2e41b05c3e3a1231363a0ff..bd110ad0eb822e2b4de994db6416623b7f95ba5b 100644 (file)
@@ -3,9 +3,9 @@
 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/////////////////////////////////////////////////////
-// Class used for                                  //
-/////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////
+// Class used for storing TPC digits according to the DDLs format//
+//////////////////////////////////////////////////////////////////
 
 #ifdef __CINT__
 class fstream;
@@ -13,26 +13,30 @@ class fstream;
 #include "Riostream.h"
 #endif
 
+
 class AliSimDigits;
 //class TTree;
 //class TFile;
 class AliTPCBuffer:public TObject{
 public:
-  AliTPCBuffer(){}//default constructor
+  AliTPCBuffer();
+  //
   AliTPCBuffer(const char* fileName);//constructor
   virtual ~AliTPCBuffer();//destructor
   AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
   AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
   void    WriteRowBinary(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row);
   //  void    WriteRow(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row);
-  ULong_t GetDigNumber()const{return NumberOfDigits;}
+  UInt_t  GetDigNumber()const{return fNumberOfDigits;}
   void    SetVerbose(Int_t val){fVerbose=val;}
 private:
-  Int_t fVerbose;
-  fstream f;
+  Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
+
   //TFile *fout;
   //TTree *tree;
-  ULong_t NumberOfDigits;
+  UInt_t  fNumberOfDigits; //Number of TPC digits
+  fstream f;      //The IO file name
   ClassDef(AliTPCBuffer,1)
 };