From: cussonno Date: Tue, 9 Mar 2004 07:57:40 +0000 (+0000) Subject: remove setting for output loader X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=94e6f326506f78c61e4a132bba4194578158112d remove setting for output loader --- diff --git a/MUON/AliMUONDigitizerv2.cxx b/MUON/AliMUONDigitizerv2.cxx index 3812d767910..4775e343dbb 100644 --- a/MUON/AliMUONDigitizerv2.cxx +++ b/MUON/AliMUONDigitizerv2.cxx @@ -179,6 +179,7 @@ void AliMUONDigitizerv2::Exec(Option_t* option) fDebug = 3; } + AliRun *aliRun; AliMUONChamber* chamber; AliSegmentation* c1Segmentation; //Cathode plane c1 of the chamber AliSegmentation* c2Segmentation; //Cathode place c2 of the chamber @@ -207,10 +208,10 @@ void AliMUONDigitizerv2::Exec(Option_t* option) if (GetDebug()>2) Info("Exec","Loaders ready"); if (runloader->GetAliRun() == 0x0) runloader->LoadgAlice(); - gAlice = runloader->GetAliRun(); + aliRun = runloader->GetAliRun(); // Getting Module MUON - AliMUON *pMUON = (AliMUON *) gAlice->GetDetector("MUON"); + AliMUON *pMUON = (AliMUON *) aliRun->GetDetector("MUON"); if (!pMUON) { Error("Digitize","Module MUON not found in the input file"); return; @@ -228,7 +229,6 @@ void AliMUONDigitizerv2::Exec(Option_t* option) // Output runloader runloaderOut = AliRunLoader::GetRunLoader(fManager->GetOutputFolderName()); - runloaderOut->SetNumberOfEventsPerFile(runloader->GetNumberOfEvents()); gimeOut = runloaderOut->GetLoader("MUONLoader");