4.5.0 out of the box will have some problems running Production. In ProductionExe.tcl you need to change the lines:
# # Define the entry in USED_SETS that we want to load.
# ProcessName set PROD_PHYSICS_CDF
# Version set 15
# parmSetName set PROD_PHYSICS_CDF15
# It's time to use the pass tables instead...
PassName set 02
parmSetName set Pass02
to:
# Define the entry in USED_SETS that we want to load.
ProcessName set PROD_PHYSICS_CDF
Version set 15
parmSetName set PROD_PHYSICS_CDF15
# # It's time to use the pass tables instead...
# PassName set 02
# parmSetName set Pass02
Using Pythia with the CDF software is a bit different in 4.3.0. Here's what the new syntax looks like:
module enable Pythia
talk Pythia
# Produce t tbar
PythiaMenu
msel set 6
commonMenu
# commonMenu commands here, e.g.:
set_mdme -channelIndex=200 -decayType=0
exit
exit
exit
Note that "msel" is lower-case, and you must specifically invoke the "PythiaMenu." This is opposed to the older code which looks like:
module enable Pythia
talk Pythia
# Produce t tbar
MSEL set 6
exit
| Production/ |
Copied from $CDFSOFT2_DIR/Production/ - be sure
to copy the version that corresponds to the release you are running! |
| Production/ProductionExe.tcl |
The .tcl file that controls Production. As noted
above, you must alter the line "creator set USRP" to read "creator
set PROD" or you won't be able to read the track block in the Stntuple. |
| Production/setup_*.tcl |
Various files that set up parameters for ProductionExe
to run. You probably won't need to change these. |
| generic_cdfsim.tcl |
Sets up the detector simulation. Talks to the GeometryManager,
SimInitManager, SimulationControlMod, and DHOutput modules. |
| run_stnmaker_mc.tcl |
Sets up the stnmaker.exe program. The only change
from the default here (at the moment) is to set "makeGenp" to 1.
The file $CDFSOFT2_DIR/Stntuple/mod/StntupleMakerModule.cc determines what
options are on by default (in the constructor, beginning with the line "
fMakeCalData ("makeCalData",this,0) ". |
| ttbar/ |
In this folder I set up a specific example: running
Pythia+Tauola to simulate ttbar production. |
| ttbar/tt_pythia_generate.tcl |
This sets up the Monte Carlo: it talks to Pythia
and sets msel to 6 for ttbar production, and then talks to Tauola to
turn on all decays. You will need to determine which options to use for what
you wish to simulate. The DHOutput section sets up the output stream, and
probably will not need to be changed. |
| ttbar/tt_pythia_generate.sh |
This runs cdfSim on the .tcl file above. Edit the
value assigned to MCGEN_OUTPUT to change the name of your .root file for
the simulation. |
| ttbar/tt_pythia_cdfsim.sh |
This just runs cdfSim on the generic_cdfsim.tcl
file, taking the data generated by Pythia. Be sure to make the MC_INPUT_FILE
name here the same as your output file from Pythia. |
| ttbar/tt_pythia_production.sh |
Calls ProductionExe on the default ProductionExe.tcl
file described above. Again, make your input file here match the output
from cdfSim. |
| ttbar/tt_pythia_stnmaker.sh |
Runs stnmaker.exe on the data from ProductionExe,
using the run_stnmaker_mc.tcl file. |