]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliHitMap.h
Removal of useless dependecies via forward declarations
[u/mrichter/AliRoot.git] / STEER / AliHitMap.h
index 3ed331763d69eb8ab44e4368f5fa5bb094025e65..5e45a5641636bbd573d6b91760087db040bbe7b5 100644 (file)
@@ -13,18 +13,20 @@ typedef enum {kEmpty, kUsed, kUnused} FlagType;
 class AliHitMap :
 public TObject {
  public:
+    // Virtual destructor -- it is necessary
+    virtual ~AliHitMap() {}
     // Fill hits from list of digits into hit map
     virtual  void  FillHits()                                      =0;
     // Clear the hit map
-    virtual  void  Clear()                                         =0;
+    virtual  void  Clear(const char *opt = "")                     =0;
     // Set a single hit
     virtual  void  SetHit(Int_t ix, Int_t iy, Int_t idigit)        =0;
     // Delete a single hit
     virtual  void  DeleteHit(Int_t ix, Int_t iy)                   =0;
     // Get index of hit in the list of digits
-    virtual Int_t  GetHitIndex(Int_t ix, Int_t iy)                 =0;
+    virtual Int_t  GetHitIndex(Int_t ix, Int_t iy) const           =0;
     // Get pointer to digit
-    virtual TObject * GetHit(Int_t ix, Int_t iy)                   =0;
+    virtual TObject * GetHit(Int_t ix, Int_t iy) const             =0;
     // Flag a hit as used
     virtual void   FlagHit(Int_t ix, Int_t iy)                     =0;
     // Test hit status