#include "AliMpVSegmentation.h"
#include "AliMpPad.h"
#include "AliMpDEManager.h"
-#include "AliMpBusPatch.h"
+#include "AliMpDDLStore.h"
+#include "AliMpCathodType.h"
#include "AliRawReader.h"
#include "AliRawDataHeader.h"
AliMUONDigitMaker::AliMUONDigitMaker(Bool_t flag)
: TObject(),
fMUONData(0x0),
- fBusPatchManager(new AliMpBusPatch()),
fScalerEvent(kFALSE),
fDigitFlag(flag),
fRawStreamTracker(new AliMUONRawStreamTracker()),
// Standard Constructor
- // bus patch
- fBusPatchManager->ReadBusPatchFile();
-
-
fTrackerTimer.Start(kTRUE); fTrackerTimer.Stop();
fTriggerTimer.Start(kTRUE); fTriggerTimer.Stop();
fMappingTimer.Start(kTRUE); fMappingTimer.Stop();
delete fLocalTrigger;
delete fGlobalTrigger;
- delete fBusPatchManager;
-
AliDebug(1, Form("Execution time for MUON tracker : R:%.2fs C:%.2fs",
fTrackerTimer.RealTime(),fTrackerTimer.CpuTime()));
AliDebug(1, Form(" Execution time for MUON tracker (mapping calls part) "
fMappingTimer.Start(kFALSE);
// getting DE from buspatch
- Int_t detElemId = fBusPatchManager->GetDEfromBus(busPatchId);
+ Int_t detElemId = AliMpDDLStore::Instance()->GetDEfromBus(busPatchId);
AliDebug(3,Form("detElemId: %d busPatchId %d\n", detElemId, busPatchId));
const AliMpVSegmentation* seg
nBoard = localBoard->GetNumber();
const AliMpVSegmentation* seg
- = AliMpSegmentation::Instance()->GetMpSegmentation(detElemId, iCath);
+ = AliMpSegmentation::Instance()
+ ->GetMpSegmentation(detElemId, AliMp::GetCathodType(iCath));
// loop over the 16 bits of pattern
for (Int_t ibitxy = 0; ibitxy < 16; ibitxy++) {