]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - AliGeant4/AliRunAction.cxx
Changes to read also Altro like data.
[u/mrichter/AliRoot.git] / AliGeant4 / AliRunAction.cxx
index 784e116b6fdf5f90c353b7aeab6dae353fae855b..1d6499ab1b6050055fd91a98ee911a4e52e0ddf9 100644 (file)
@@ -103,7 +103,7 @@ void AliRunAction::BeginOfRunAction(const G4Run* run)
   AliLego* lego = gAlice->Lego();
   if (lego) {
     GetSDConstruction()->SetLego(lego);
-    G4UImanager::GetUIpointer()->ApplyCommand("/aliEvent/verbose 0");
+    G4UImanager::GetUIpointer()->ApplyCommand("/aliVerbose/eventAction 0");
     G4UImanager::GetUIpointer()->ApplyCommand("/aliGenerator/set AliGenerator");
   }  
 
@@ -132,7 +132,7 @@ void AliRunAction::EndOfRunAction(const G4Run* run)
   AliLego* lego = gAlice->Lego();
   if (lego) {
     GetSDConstruction()->UnsetLego();
-    G4UImanager::GetUIpointer()->ApplyCommand("/aliEvent/verbose 1");
+    G4UImanager::GetUIpointer()->ApplyCommand("/aliVerbose/eventAction 0");
   }  
 
   // update graphics