]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON1DMap.cxx
mchview version 0.93
[u/mrichter/AliRoot.git] / MUON / AliMUON1DMap.cxx
index 07599e620b2e16011628c311dfe69ad4c07de93d..5178de6d6936ff7e96c6e5d62ca78d4f8079a850 100644 (file)
@@ -105,6 +105,17 @@ AliMUON1DMap::FindObject(UInt_t i) const
   return fMap->GetValue(i);
 }
 
+//_____________________________________________________________________________
+TObject* 
+AliMUON1DMap::FindObject(Int_t i, Int_t j) const
+{
+  /// Get the object located at index (i,j), if it exists, and if i,j is correct.
+  
+  UInt_t uid = ( ( ( j & 0xFFFF ) << 16 ) | ( i & 0xFFFF ) );
+  
+  return fMap->GetValue(uid);
+}
+
 //_____________________________________________________________________________
 TIterator*
 AliMUON1DMap::CreateIterator() const