]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSTableSSD.h
Tracking2Local matrix is not stored in the geometry but precalculated
[u/mrichter/AliRoot.git] / ITS / AliITSTableSSD.h
index 22f902aae7e0aca71d3db69ede9ed5c32a48e4ea..f6a5749e961278556e7b1d74d3bd51ff8c41edf5 100644 (file)
@@ -3,6 +3,12 @@
 /* Copyright(c) 2002-2003, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice     */
 
+///////////////////////////////////////////////////////////
+// AliITSTableSSD is used by AliITSsimulationSSD class to// 
+//fill the AliITSpList  object starting from the map with// 
+//energy depositions                                     //
+///////////////////////////////////////////////////////////
+
 #include "Rtypes.h"
 #include <TObject.h>
 
@@ -17,9 +23,11 @@ class AliITSTableSSD : public TObject{
     void Clear(); // Clears the contents of the table
     void DumpTable(); // it dumps the contents of the table
     Int_t Use(Int_t side); // use current element - returns -1 if none
+    
+    virtual void Clear(Option_t*)  {TObject::Clear();}
 
  private:
-    Int_t SearchValue(Int_t *arr, Int_t refer, Int_t max){
+    Int_t SearchValue(const Int_t *arr, Int_t refer, Int_t max) const{
        for(Int_t i=0;i<max;i++)if(arr[i]==refer)return i;
        return -1;}
  private: