X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2Fmapping%2FAliMpBusPatch.cxx;h=fbe5c5b85603c75bb029e145c26b87cab350ac07;hb=5dfd43f729829b46bc5cfdd8d7329c65dae681f2;hp=11cb22a597dc6057dc0ff60f6b3bf8ea47b100c0;hpb=2e909a0cd7622c49c400b6841d2d3271314bb40d;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/mapping/AliMpBusPatch.cxx b/MUON/mapping/AliMpBusPatch.cxx index 11cb22a597d..fbe5c5b8560 100644 --- a/MUON/mapping/AliMpBusPatch.cxx +++ b/MUON/mapping/AliMpBusPatch.cxx @@ -30,7 +30,6 @@ #include "AliMpBusPatch.h" #include "AliMpFiles.h" #include "AliMpHelper.h" -#include "AliDAQ.h" #include "AliLog.h" #include "TArrayI.h" @@ -142,8 +141,9 @@ void AliMpBusPatch::ReadBusPatchFile() Int_t iDDL = atoi(sDDL.Data()); // always working local DDL number... for the moment. - if (iDDL >= AliDAQ::DdlIDOffset("MUONTRK")) - iDDL -= AliDAQ::DdlIDOffset("MUONTRK"); + // not really needed remove for stand alone purpose (Ch.F) +// if (iDDL >= AliDAQ::DdlIDOffset("MUONTRK")) +// iDDL -= AliDAQ::DdlIDOffset("MUONTRK"); TString busPatch(tmp(blankPos + 1,blankPos1-blankPos-1)); AliDebug(3,Form("idDE %d buspatch %s iDDL %d\n", idDE, busPatch.Data(), iDDL)); @@ -204,7 +204,11 @@ void AliMpBusPatch::Sort() { /// sort bus patch number for all DDL - for (Int_t j = 0; j < AliDAQ:: NumberOfDdls("MUONTRK"); j++) { + // put it hardware wise + // this method is not used for the moment. + Int_t numberOfDdls = 20; + + for (Int_t j = 0; j < numberOfDdls; j++) { Sort(fBusInDDL[j], 0, fBusInDDL[j].GetSize() - 1); if (AliLog::GetGlobalDebugLevel() == 1) {