############################################################################### # this example shows how to generate and simulate in the detector # ppbar --> ttbar process # # CDF2SIM defaults: - path AllPath is enabled # - all the modules are disabled # so one needs to enable the modules he needs # # to run cdf2sim in batch mode one needs to add "-b" flag to disable # initialization of ROOT graphics : # cdf2sim.exe input_file.tcl -b ############################################################################### # # Select the Generator as Pythia module input Pythia # # Setup Pythia talk Pythia MSEL set 0 commonMenu # generate gg -> psi g set_msub -index=86 -value=1 set_msub -index=87 -value=1 set_msub -index=88 -value=1 set_msub -index=89 -value=1 # tell Pythia to decay psi only # into mu+mu- set_mdme -index=976 -decayChannel=0 set_mdme -index=977 -decayChannel=1 set_mdme -index=978 -decayChannel=0 exit exit # # Setup GEANT3 module enable GEANT3 talk GEANT3 DETECTORS OFF PIPE source $env(CDFSOFT2_DIR)/RootMods/examples/cdf2sim/tcl/geant3_output_banks.tcl exit # Disable plotting package module disable g3hist # Show the path path list # # Set up the output module output FileOutput talk FileOutput output create AA ./results/psimumu.rt output path AA AllPath source $env(CDFSOFT2_DIR)/RootMods/examples/cdf2sim/tcl/cdf2sim_AA_keepList.tcl output list exit # # Run this bad boy... begin -nev 100 # Show the statistics show exit