This is from Charlie's updated instructions
  1. Make a clean workspace:
    pwd
    /direct/phenix+workarea/hubert/cvs5/
  2. Make directories and logicals that point to them (and put them in a shell script):
    setenv CERNLIB /cern/new/lib
    setenv CVSLOCAL $PWD
    mkdir inst
    setenv INST $CVSLOCAL/inst
    mkdir wrk
    setenv WRK $CVSLOCAL/wrk
    setenv SRC $CVSLOCAL/simulation/pisa2000/src/svx
    setenv BLD $CVSLOCAL/simulation/pisa2000
    
  3. Get a copy of PISA:
    cvs checkout simulation/pisa2000
    
    You now have: 
    
    drwxr-sr-x    5 hubert         96 Jul  1 12:28 ./
    drwxr-sr-x    8 hubert       8192 Jun 29 13:48 ../
    drwxr-sr-x    2 hubert         96 Jul  1 12:28 inst/
    drwxr-sr-x    4 hubert         96 Jul  1 12:25 simulation/
    drwxr-sr-x    2 hubert         96 Jul  1 12:28 wrk/
    
  4. Build and install:
    cd $BLD
    autogen.sh --prefix=$INST 
    make [-j 6] install  [ >& autobuildpisa.log & ]
    
    The optional '-j 6' runs the compilation on 6 machines in parallel. This is faster, but 
    warning and error messages are out of order.
    
  5. Adjust $PATH etc (you can add these lines to the shell script from (2) ):
    setenv PATH $INST/lib:$INST/bin:$PATH                              
    setenv LD_LIBRARY_PATH $INST/lib:$INST/bin:$LD_LIBRARY_PATH
    
  6. Get copies of work files into $WRK:
    copy from $CVSLOCAL/simulation/pisa2000/wrk/
    pisa.kumac     (turn on SVX turn off VER) 
    gffgo.dat
    phnxSili.par, rename it to phnx.par
    event.par
    
  7. Run, and look at a few pictures:
    check you are pointing to your own pisa copy
    which pisa
    /phenix/workarea/hubert/cvs5/inst/bin/pisa
    pisa
    <CR>
    <CR>
    <CR>
    GEANT > next; dcut hall 1 0 10 10 .1 .1
    GEANT > next; draw sicg 80 0 10 10 10 0.23 0.23
    GEANT > next; draw si05 0 0 0 10 10 .3 .3
    
    
  8. Run some AuAu events:
    GEANT > hijing 100 /phenix/data02/rhphemds/events/hjievt_600auaucentsq08_042298.dat
    or
    GEANT > hijing 100 /phenix/data11/rhphemds/run2/hijing/hji135evt_20000auauminb200sq01_060602.dat
    
    GEANT > ptrig 10          (ask for 10 triggers)
    GEANT > exit
    
    
    
    

Last update 1 July 04 HvH