001 #-------------------------------------------------------------------------------
002 #
003 # GenTrig Test for Bs -> J/Psi Phi using muon and track triggers.
004 #
005 # Ch.Paus, Mar 16, 2001
006 #-------------------------------------------------------------------------------
007
008 #-------------------------------------------------------------------------------
009 # HeavyQuarkGen
010 #-------------------------------------------------------------------------------
011 module input GenInputManager
012 #
013 module enable HeavyQuarkGen
014 module talk HeavyQuarkGen
015 HeavyQuarkGen
016 Verbose set 1
017 # Define Generic b hadron production
018 Define -idhep=5 -name=b -mass=4.75 -life=0.0 \
019 -spec_file=$env(CDFDAB_DIR)/dab/mrst_2000_4750_mu_total.root \
020 -spec_name=dsigma_dydpt
021 # Setup the mixture
022 SetBMixture -mixu=0.389 -mixd=0.389 -mixs=0.107 -mixc=0.007 -mixl=0.116
023 # Setup the fragmentation parameter
024 SetBEps -epsu=0.006 -epsd=0.006 -epss=0.006 -epsc=0.006 -epsl=0.006
025 # Specify the particles to generate
026 Generate -idhep=5 -rapmin=-2.0 -rapmax=2.0 -ptmin=0.2
027 exit
028 RandomNumberMenu
029 RandomSeed1 set $env(SEED1)
030 RandomSeed2 set $env(SEED2)
031 exit
032 exit
033 #-------------------------------------------------------------------------------
034 # QQ
035 #-------------------------------------------------------------------------------
036 module enable QQModule
037 module talk QQModule
038 Decay_B_Baryons set 1
039 Decay_K_s_Lambda set 1
040 exit
041 #-------------------------------------------------------------------------------
042 # Deal with input
043 #-------------------------------------------------------------------------------
044 module output DHOutput
045 module enable DHOutput
046 module talk DHOutput
047 output clear
048 exit
049 #-------------------------------------------------------------------------------
050 # Analysis talk-tos
051 #-------------------------------------------------------------------------------
052 module enable HepRootManager
053 module talk HepRootManager
054 histfile set $env(NAME).root
055 exit
056 # filtering interesting events
057 module enable GenTrigBFilter
058 module talk GenTrigBFilter
059 GenTrigBFilter
060 Reject set 0
061 CodePDG set 531
062 PtMin set 6
063 RapMin set -1
064 RapMax set 1
065 exit
066 exit
067 # trigger simulation
068 module enable GenTrigModule
069 module talk GenTrigModule
070 GenTrigModule
071 Verbose set 0
072 UsePair set 1
073 UseDiMu set 1
074 UseDMuX set 1
075 UseL3Simp set 1
076 BanksSVT set 0
077 exit
078 L2Bs
079 D0Min set 0.120
080 D0Max set 1.000
081 BD0Max set 9e30
082 DPhiMin set 2.000
083 DPhiMax set 90.000
084 exit
085 L2Bd
086 D0Min set 0.100
087 D0Max set 1.000
088 BD0Max set 0.140
089 DPhiMin set 20.000
090 DPhiMax set 135.000
091 exit
092 L2DM
093 DPhiMax set 135.000
094 exit
095 Fidu
096 CodePDG set 531
097 Fiducial set 1
098 exit
099 exit
100 # ------------------------------------------------------------------------------
101 # Define the Path
102 # ------------------------------------------------------------------------------
103 path disable AllPath
104 path create B_Path ManagerSequence HepRootManager \
105 HardScatGenSequence DecayPackageSequence GenOutputManager \
106 GenPrimVert GenTrigSequence
107 path enable B_Path
108 # ------------------------------------------------------------------------------
109 # Go for it
110 # ------------------------------------------------------------------------------
111 action off "Timer Action"
112 show
113 ev begin -nev 1000
114 exit
Send problems or questions to cdfcode@fnal.gov