]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterReconstructor.cxx
Extracting the BLOCK DATA in a separate file. Changes to make it working on macosx
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.cxx
index 7301c18ae0738259692200a0f33f3faf45bc55fd..48ca6a1ead126ef98ab7e644568dccde160ee417 100644 (file)
 #include "AliMUONClusterFinderVS.h"
 #include "AliMUONClusterInput.h"
 #include "AliMUONRawCluster.h"
+
+#include "AliMpDEManager.h"
+
 #include "AliLog.h"
 
+/// \cond CLASSIMP
 ClassImp(AliMUONClusterReconstructor) // Class implementation in ROOT context
+/// \endcond
  
 //__________________________________________________________________________
 AliMUONClusterReconstructor::AliMUONClusterReconstructor(AliMUONData* data)
@@ -70,7 +75,7 @@ AliMUONClusterReconstructor::ClusterizeOneDE(Int_t detElemId)
   
   if ( fDigitsCath0->GetEntriesFast() || fDigitsCath1->GetEntriesFast() )
   {
-    Int_t iChamber = detElemId/100 - 1;
+    Int_t iChamber = AliMpDEManager::GetChamberId(detElemId);
     AliMUONClusterInput::Instance()->SetDigits(iChamber, detElemId,
                                                fDigitsCath0,fDigitsCath1);
     AliDebug(3,Form("ClusterizeOneDE iChamber=%d DE=%d",iChamber,detElemId));