]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSTableSSD.h
Reverting the previous mods as they cause a segmentation violation
[u/mrichter/AliRoot.git] / ITS / AliITSTableSSD.h
index 22f902aae7e0aca71d3db69ede9ed5c32a48e4ea..ad6bf9ab9ce4a8378ed474c5f4b85485b4c2a17b 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(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: