Running svtsim in cdfsoft2 environment: $Date: 2002/07/30 01:45:44 $

# This has been tested on fcdflnx2.fnal.gov
source ~cdfsoft/cdf2.cshrc
setenv USESHLIBS 1
setup cdfsoft2 4.9.1
newrel -t $SRT_BASE_RELEASE trigsim
cd trigsim
# this hack is to build cdfSim, which may or may not exist in your frozen
# offline release; skip it if you have cdfSim built
addpkg SimulationMods
gmake SimulationMods.bin
rm -rf SimulationMods
# need this to get TRGSim++; skip it if you have TRGSim++ built already
addpkg TriggerMods
# need this to make svtsim_diag executable
addpkg -h svtsim
gmake
gmake svtsim.tbin
#
# you can use the actual SVT configuration from a given run (say
# run 140000) with the following two svtsim talk-to parameters:
# useDB set t ; DBRunNumber set 140000
#
# run simulation jobs, make plots
svtsim/test/cdfsim_run.csh
svtsim/test/xftsim_run.csh
svtsim/test/svtsim_ntuple.csh
svtsim/test/plots.csh
# if instead you want to run on data, edit svtsim/test/svtsim_data.tcl
# to point to your input file(s), and then
svtsim/test/svtsim_data.csh
# you can then look at a simple ntuple with 'exec svtsim/test/svtsim' in paw