Changeset 204 for snovis


Ignore:
Timestamp:
Feb 13, 2007, 7:25:47 PM (15 years ago)
Author:
barrand
Message:
 
Location:
snovis/trunk/applications
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/applications/prog_snova2.cxx

    r81 r204  
    77#include <exception>
    88
    9 #include <snova/snova_mgr.hh>
     9#include <snova/snova_mgr_ui.h>
    1010
    1111#include <SNvertex/base_VG_factory.h>
     
    1818  try {
    1919
    20     std::cout << "Hello, this is a sample program for class 'snova_mgr'!" << std::endl;
     20    std::cout << "Hello, this is program for class 'snova::mgr_ui'!" << std::endl;
    2121 
    2222    bool        debug           = false;
     
    5959   
    6060    // A snova manager:
    61     snova::snova_mgr my_snova_mgr;
     61    snova::mgr_ui my_snova_mgr;
    6262
    6363    // Configure some properties of the snova manager:
    6464    my_snova_mgr.set_debug(debug);                     // debug verbosity
    6565    my_snova_mgr.set_params_filename(params_filename); // the main simulation configuration file
     66    //my_snova_mgr.set_params_filename("${HOME}/my_snova.par");
     67    my_snova_mgr.set_G4_macro(G4_macro);               // run G4 macro
    6668    my_snova_mgr.set_visual_mode(visual_mode);         // use X11 display
    67     my_snova_mgr.set_G4_macro(G4_macro);               // run G4 macro
    6869
    6970    // Use a dedicated vertex generator factory:
  • snovis/trunk/applications/snovis_session.cc

    r187 r204  
    33 */
    44
    5 #include <snova/snova_mgr.hh>
     5#include <snova/snova_mgr.h>
    66
    77#include <SNvertex/base_VG_factory.h>
     
    119119    my_snova_mgr.set_debug(debug);                     // debug verbosity
    120120    my_snova_mgr.set_params_filename(params_filename); // the main simulation configuration file
    121     my_snova_mgr.set_visual_mode(visual_mode);         // use X11 display
    122121    my_snova_mgr.set_G4_macro(G4_macro);               // run G4 macro
    123122
Note: See TracChangeset for help on using the changeset viewer.