Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (16 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

Location:
trunk/source/visualization/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/test/History

    r1140 r1228  
    1 $Id: History,v 1.119 2009/09/29 21:36:38 allison Exp $
     1$Id: History,v 1.121 2009/11/06 16:02:33 allison Exp $
    22
    33History file for visualization/test subdirectory
     
    55
    66$Log: History,v $
     7Revision 1.121  2009/11/06 16:02:33  allison
     8vistest-V09-02-01
     9
     10Revision 1.120  2009/11/06 16:01:57  allison
     11Use G4UIExecutive in a more refined way.
     12
    713Revision 1.119  2009/09/29 21:36:38  allison
    814vistest-V09-02-00
  • trunk/source/visualization/test/test19.cc

    r1140 r1228  
    2525//
    2626//
    27 // $Id: test19.cc,v 1.31 2009/09/29 21:35:56 allison Exp $
     27// $Id: test19.cc,v 1.32 2009/11/06 16:01:57 allison Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    3232// Usage: test19 [<session>] [<verbosity>]
    3333// Without verbosity, verbosity=warnings.
    34 // Without session, session=new G4UIterminal(), or if G4UI_USE_TCSH is set
    35 //                  session=new G4UIterminal(new G4UItcsh),
    3634
    3735#include <stdio.h>
     
    8280#ifdef G4UI_USE
    8381  // Choose (G)UI.
    84   G4UIExecutive* UIexecutive = new G4UIExecutive(argc, argv);
    85   G4UImanager::GetUIpointer()->SetSession(UIexecutive->GetSession());  //So that Pause works..
     82  G4UIExecutive* ui = new G4UIExecutive(argc, argv);
    8683#endif
    8784
     
    119116#endif
    120117
    121   G4UImanager* UI = G4UImanager::GetUIpointer ();
     118  G4UImanager* UImanager = G4UImanager::GetUIpointer ();
    122119#ifdef G4UI_USE_WIN32
    123120  G4cout << "Reading win32.g4m file...." << G4endl;
    124   UI -> ApplyCommand ("/control/execute win32.g4m");
     121  UImanager -> ApplyCommand ("/control/execute win32.g4m");
    125122#else
    126123  G4cout << "Reading test19.g4m file...." << G4endl;
    127   UI -> ApplyCommand ("/control/execute test19.g4m");
     124  UImanager -> ApplyCommand ("/control/execute test19.g4m");
    128125#endif
    129126
     
    135132#ifdef G4UI_USE
    136133  // Start an interactive session.
    137   UIexecutive -> SessionStart();
     134  ui -> SessionStart();
    138135#endif
    139136
     
    148145  G4cout << "vis_test19: Deleting session..." << G4endl;
    149146#ifdef G4UI_USE
    150   delete UIexecutive;
     147  delete ui;
    151148  G4cout << "vis_test19: Session deleted." << G4endl;
    152149#endif
Note: See TracChangeset for help on using the changeset viewer.