Linear Collider Detector Project | |
|
|
Running Gismo Setting environment variables The following environment variables need to be set. They tell Gismo the locations of the data files needed by the XML interface and the materials files needed by PEGS. It is also helpful, but not required, to set an environment variable that specifies the location of the xml data files. Environment variables may be set using setenv if you are using a tsch type shell, or export if you are using the bash shell under Linux. Variable Value ICU_DATA /your/install/path/gismo/xmlImport/icu/Linux/YOUR-SYS/icu/1.2.5 PEGS4PATH /your/install/path/gismo/V-3-1-1/PEGS4 XML_DAT /your/install/path/gismo/V-3-1-1/util/xml/V-1-0-5/datWhere YOUR-SYS is SunOS or Linux. It may also be necessary to copy the detParms.dtd to the bat_bat or win_win executable directories. The detParms.dtd file is located in the $XML_DAT path and the binary executable paths are /your/install/path/V-3-1-1/bat/bat/V-3-1-1/exe/YOUR-SYS and /your/install/path/gismo/V-3-1-1/win/win/V-3-1-1/exe/YOUR-SYS. Running the programs (batch or GUI version) The bat_bat and win_win both take the following command line parameters. Parameter example Detector Description $XML_DAT/largeParms2.xml Event source type HEPEVT Event source file your-stdhep-input.stdhep Number of events 3 Output file test.sio Run number 1 Random Seed 19780513Running the batch version of Gismo is straightforward. Just feed it all of the parameters and then go have a cup of java. cd /your/install/path/gismo/V-3-1-1/bat/bat/V-3-1-1/exe/YOUR-SYS ./bat_bat $XML_DAT/largeParms2.xml HEPEVT your-stdhep-input.stdhep 3 test.sio 1 19780513The GUI version has a few more bells and whistles, and the interface is self-explanatory, so I won't get into how to run it here. To run the GUI version: cd /your/install/path/gismo/V-3-1-1/win/win/V-3-1-1/exe/YOUR-SYS ./win_win $XML_DAT/largeParms2.xml HEPEVT your-stdhep-input.stdhep 3 test.sio 1 19780513 |
Rob McIntosh. Last Modified: 01/13/04 12:52