]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliSimDigits.h
store ntuple in same file as histos (Renu)
[u/mrichter/AliRoot.git] / TPC / AliSimDigits.h
index 43a10917170008dd5644b86e76cfa81177e08818..b8deebbae5428510f55ac3899bb1cb705dd5c910 100644 (file)
@@ -34,6 +34,7 @@ public:
                  Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1); //draw tracks
   TClonesArray * GenerTPCClonesArray(TClonesArray * arr); //generate TClonnesArray of digits
   //only for demonstration purpose
+  void GlitchFilter();
 private:
   void InvalidateTrack();
  
@@ -50,7 +51,7 @@ private:
   Int_t       fNlevel;   //number of tracks etries  for one digit
   Int_t       fTrBufType;  //buffer type of the tracks
   // Bool_t      ClassError( ); //signalize class error 
-  ClassDef(AliSimDigits,2
+  ClassDef(AliSimDigits,3
 };
 
 
@@ -70,8 +71,8 @@ inline void AliSimDigits::SetTrackIDFast(Int_t value,Int_t row, Int_t column,Int
   //set ID track at given row and collumn
   //  fTracks[level][fTrIndex[level][column]+row]=value; 
   if ( (row<0) || (row>=fNrows)  || (column<0) || (column>=fNcols) ) 
-       ::Error("AliSimDigits::SetTrackIDFast", "row %d  col %d out of bounds (size: %d x %d, this: 0x%08x)", 
-          row, column, fNrows, fNcols, this);
+       ::Error("AliSimDigits::SetTrackIDFast", "row %d  col %d out of bounds (size: %d x %d, this: 0x%08lx)", 
+              row, column, fNrows, fNcols, (ULong_t) this);
   if ( (level<0) || (level>=fNlevel)) ::Error("AliSimDigits::SetTrackIDFast", "index %d out of bounds", level);
   (*fTracks)[level*fNrows*fNcols+fNrows*column+row]=value; 
 }