CDF II
CDF KITS
source navigation ]
diff markup ]
identifier search ]
freetext search ]
file search ]
 
Architecture: i386 ]
Version: 4.10.4 ] [ 4.10.5 ] [ 4.8.4 ] [ 4.8.4l3s ] [ 4.8.5 ] [ 4.9.0 ] [ 4.9.1 ] [ 4.9.1.hpt3 ] [ 4.9.1hpt3 ] [ 4.9.1top1 ] [ 5.0.0 ] [ 5.1.0 ] [ 5.1.0beamonly ] [ 5.1.1 ] [ 5.2.0 ] [ 5.3.0 ] [ 5.3.1 ] [ 5.3.1dsp ] [ 5.3.3 ] [ 5.3.3_nt ] [ 5.3.4 ] [ 6.1.1 ] [ 6.1.1b ] [ 6.1.2 ] [ 6.1.3 ] [ 6.1.4 ] [ 6.1.4int3 ] [ 6.1.4mc ] [ 6.1.4mc_a ] [ 6.1.6 ] [ development ]

001 #####################################################################
002 # Example Tcl File                                                  #
003 #                                                                   #
004 # tcl file for generating and simulating top events using           #
005 # PYTHIA in cdfGen or cdfSim                                        #         
006 #####################################################################
007 path enable AllPath
008 creator set NSIM
009 
010 module input GenInputManager
011 module talk GenInputManager
012 # default run number
013   run_number set 151435
014 exit 
015 
016 exec rm -f run_pythia_test.root
017 module enable HepRootManager
018 mod talk HepRootManager
019   verbose set true
020   histfile set run_pythia_test.root
021   createHistoFile set  t
022 exit
023 
024 talk RandomGenManager
025   SaveRandomStreams set true
026   RandomNumberMenu
027     RandomSeedPYTHIA1 set 12345
028     RandomSeedPYTHIA2 set 98765
029   exit
030 exit 
031 
032 mod enable Pythia 
033 # Pythia talk-to fragment
034 # use this tcl fragment first to set pythia masses as per EvtGen 
035 # version of Oct2004
036 source $env(CDFSOFT2_DIR)/pythia_i/test/EvtGen_mass.tcl 
037 # Pythia talk-to fragment to generate top events
038 source $env(CDFSOFT2_DIR)/pythia_i/test/Pythia_top1.tcl
039 
040 talk GeometryManager
041 # Use the defaults but substitute the detailed for the simple Si detector
042 # The following set up is to be added to the default GeometryManager set up.
043   DetectorMenu
044      enableTof set true
045      enablePassive set true
046      enableBeampipeC set true   # central part of the beampipe
047      show
048   exit
049 # TOF geometry model
050   TofGeometryMenu
051     GeometryModel set Survey   # options: Nominal, Naive
052   exit
053 exit
054 
055 mod enable GenOutputManager
056 talk FileOutput
057   output create main_stream pythia_wwee_test.root
058   output path main_stream AllPath
059   output keepList main_stream \
060                     LRIH_StorableBank EVCL_StorableBank HEPG_StorableBank \
061                     TL2D_StorableBank OBSP_StorableBank OBSV_StorableBank \
062                     COTD_StorableBank CMPD_StorableBank CMUD_StorableBank \
063                     CSPD_StorableBank CMXD_StorableBank IMUE_StorableBank \
064                     SIXD_StorableBank MSVX_StorableBank ISLD_StorableBank \
065                     MISL_StorableBank MCOT_StorableBank TOFD_StorableBank \
066                     COTQ COTM_StorableObject \
067                     PESD_StorableBank CESD_StorableBank CPRD_StorableBank \
068                     CEMD_StorableBank PEMD_StorableBank CHAD_StorableBank \
069                     WHAD_StorableBank PHAD_StorableBank PPRD_StorableBank \
070                     MuonXHitColl MuonTHitColl MuonXZHitColl \
071                     TOFD_StorableBank \
072                     TofPulse TofPulseColl TofMatch TofMatchColl
073 exit
074 
075 begin -nev 10
076 show timer
077 
078 exit
079 
080 
081 
082 

source navigation ] diff markup ] identifier search ] freetext search ] file search ]

This page was automatically generated by the LXR engine.
The LXR team
Valid HTML 4.01!

Send problems or questions to cdfcode@fnal.gov