]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCBuffer.h
Changes due to the coding conventions
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
index cb79c49e93555aedc6239e6f7dba517fa76095e9..8bd8ff78a24ec0deb362452721c6c4cfcb5bef92 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,29 @@ class fstream;
 #include "Riostream.h"
 #endif
 
+
 class AliSimDigits;
 //class TTree;
 //class TFile;
 class AliTPCBuffer:public TObject{
 public:
-  AliTPCBuffer(){}//default constructor
+  AliTPCBuffer(){
+    //default constructor
+  }
   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 fNumberOfDigits;}
+  UInt_t  GetDigNumber()const{return fNumberOfDigits;}
   void    SetVerbose(Int_t val){fVerbose=val;}
 private:
-  Int_t fVerbose; //Verbosity level: 0-silent, not 0-all printout
+  Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
   fstream f;      //The IO file name
   //TFile *fout;
   //TTree *tree;
-  ULong_t fNumberOfDigits; //Number of TPC digits
+  UInt_t  fNumberOfDigits; //Number of TPC digits
   ClassDef(AliTPCBuffer,1)
 };