- Timestamp:
- Feb 13, 2007, 7:25:47 PM (17 years ago)
- Location:
- snovis/trunk/applications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
snovis/trunk/applications/prog_snova2.cxx
r81 r204 7 7 #include <exception> 8 8 9 #include <snova/snova_mgr .hh>9 #include <snova/snova_mgr_ui.h> 10 10 11 11 #include <SNvertex/base_VG_factory.h> … … 18 18 try { 19 19 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; 21 21 22 22 bool debug = false; … … 59 59 60 60 // A snova manager: 61 snova:: snova_mgrmy_snova_mgr;61 snova::mgr_ui my_snova_mgr; 62 62 63 63 // Configure some properties of the snova manager: 64 64 my_snova_mgr.set_debug(debug); // debug verbosity 65 65 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 66 68 my_snova_mgr.set_visual_mode(visual_mode); // use X11 display 67 my_snova_mgr.set_G4_macro(G4_macro); // run G4 macro68 69 69 70 // Use a dedicated vertex generator factory: -
snovis/trunk/applications/snovis_session.cc
r187 r204 3 3 */ 4 4 5 #include <snova/snova_mgr.h h>5 #include <snova/snova_mgr.h> 6 6 7 7 #include <SNvertex/base_VG_factory.h> … … 119 119 my_snova_mgr.set_debug(debug); // debug verbosity 120 120 my_snova_mgr.set_params_filename(params_filename); // the main simulation configuration file 121 my_snova_mgr.set_visual_mode(visual_mode); // use X11 display122 121 my_snova_mgr.set_G4_macro(G4_macro); // run G4 macro 123 122
Note: See TracChangeset
for help on using the changeset viewer.