]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fClearStackCmd removed
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:45:35 +0000 (10:45 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:45:35 +0000 (10:45 +0000)
AliGeant4/AliStackingActionMessenger.cxx
AliGeant4/AliStackingActionMessenger.h

index 2a11f8124a1f42e8d9621a20fad8d775626ee2a3..1639eb1babdf6cc9a7723848c6aecebc118e476c 100644 (file)
@@ -19,10 +19,6 @@ AliStackingActionMessenger::AliStackingActionMessenger(
   fStackingDirectory = new G4UIdirectory("/aliStacking/");
   fStackingDirectory->SetGuidance("AliStackingAction control commands.");
 
-  fClearStackCmd = new G4UIcmdWithoutParameter("/aliStacking/clearStack", this);
-  fClearStackCmd->SetGuidance("Clears the primary stack.");
-  fClearStackCmd->AvailableForStates(EventProc);
-
   fVerboseCmd = new G4UIcmdWithAnInteger("/aliStacking/verbose", this);
   fVerboseCmd->SetGuidance("Set verbose level for AliStackingAction");
   fVerboseCmd->SetParameterName("VerboseLevel", true);
@@ -44,7 +40,6 @@ AliStackingActionMessenger::AliStackingActionMessenger(
 AliStackingActionMessenger::~AliStackingActionMessenger() {
 //
   delete fStackingDirectory;
-  delete fClearStackCmd;
   delete fVerboseCmd;
 }
 
@@ -70,10 +65,7 @@ void AliStackingActionMessenger::SetNewValue(G4UIcommand* command,
 // Applies command to the associated object.
 // ---
 
-  if (command == fClearStackCmd) { 
-    fStackingAction->ClearPrimaryStack(); 
-  }
-  else if (command == fVerboseCmd) { 
+  if (command == fVerboseCmd) { 
     fStackingAction
       ->SetVerboseLevel(fVerboseCmd->GetNewIntValue(newValue)); 
   }  
index 85bdb11d6ac15be517fc796015e836eb563873f7..92145cdee291cd2c6353c39f217f6aded1985eed 100644 (file)
@@ -39,7 +39,6 @@ class AliStackingActionMessenger: public G4UImessenger
     // data members
     AliStackingAction*        fStackingAction;    //associated class 
     G4UIdirectory*            fStackingDirectory; //command directory
-    G4UIcmdWithoutParameter*  fClearStackCmd;     //command: clearStack
     G4UIcmdWithAnInteger*     fVerboseCmd;        //command: verbose
 };