X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONTriggerGUI.cxx;fp=MUON%2FAliMUONTriggerGUI.cxx;h=55584cb2313e7c48b8d237b7edd70f0b73e29d17;hb=e1ac48040842cbf52508afc0ef6dc0b02e93d231;hp=45c39fc123cda2de9e062be403a2eafd92070dd4;hpb=9bd802ea292230e18173628b5813b1b0e0672ab1;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONTriggerGUI.cxx b/MUON/AliMUONTriggerGUI.cxx index 45c39fc123c..55584cb2313 100644 --- a/MUON/AliMUONTriggerGUI.cxx +++ b/MUON/AliMUONTriggerGUI.cxx @@ -535,14 +535,20 @@ void AliMUONTriggerGUI::HandleMenu(Int_t id) if (fDiMap == 0) { fDiMap = new AliMUONTriggerGUIdimap(fBoards,gClient->GetRoot(), fMain, 400, 200); fDiMap->SetLoader(fLoader); - fDiMap->SetMCDataInterface(fMCDataInterface); - fDiMap->SetRawDigitStore(fRawDigitStore); + if (fRUNRAW) { + fDiMap->SetRawDigitStore(fRawDigitStore); + } else { + fDiMap->SetMCDataInterface(fMCDataInterface); + } fDiMap->DrawAllMaps(); } else if (!fDiMap->IsOn()) { fDiMap = new AliMUONTriggerGUIdimap(fBoards,gClient->GetRoot(), fMain, 400, 200); fDiMap->SetLoader(fLoader); - fDiMap->SetMCDataInterface(fMCDataInterface); - fDiMap->SetRawDigitStore(fRawDigitStore); + if (fRUNRAW) { + fDiMap->SetRawDigitStore(fRawDigitStore); + } else { + fDiMap->SetMCDataInterface(fMCDataInterface); + } fDiMap->DrawAllMaps(); } @@ -1389,9 +1395,12 @@ void AliMUONTriggerGUI::OpenBoard(Int_t id) bf->SetBoard(Boards(),id); bf->SetLoader(fLoader); bf->SetCrateManager(fCrateManager); - bf->SetMCDataInterface(fMCDataInterface); - bf->SetRawDigitStore(fRawDigitStore); - bf->SetRawTriggerStore(fRawTriggerStore); + if (fRUNRAW) { + bf->SetRawDigitStore(fRawDigitStore); + bf->SetRawTriggerStore(fRawTriggerStore); + } else { + bf->SetMCDataInterface(fMCDataInterface); + } bf->Init(); bf->Show();