Corrected usage of output loader (T.Kuhr)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Feb 2004 12:20:24 +0000 (12:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Feb 2004 12:20:24 +0000 (12:20 +0000)
MUON/AliMUONDigitizerv1.cxx

index 7b24a325fcdf78079c9ef2294acbc3442fce8755..317d97ccbc9b11d2931db854a0bdd77a5dac10a1 100644 (file)
@@ -356,6 +356,10 @@ void AliMUONDigitizerv1::Exec(Option_t* option)
     } // end file loop
     if (GetDebug()>2) cerr<<"AliMUONDigitizer::Exec End of hits, track and file loops"<<endl;
 
+    runloader    = AliRunLoader::GetRunLoader(fManager->GetOutputFolderName());
+    gime        = runloader->GetLoader("MUONLoader");
+    muondata->SetLoader(gime);
+
     // Loop on cathodes
     Int_t icat;
     for(icat=0; icat<2; icat++) {