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 2
017 # Define Generic b hadron production
018 Define -idhep=-5 -name=bbar -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 Define -idhep=5 -name=b -mass=4.75 -life=0.0 \
022 -spec_file=$env(CDFDAB_DIR)/dab/mrst_2000_4750_mu_total.root \
023 -spec_name=dsigma_dydpt
024 # Setup the mixture
025 SetBMixture -mixu=1.0
026 # Setup the fragmentation
027 SetBEps -epsu=0.006
028 # Specify the particles to generate
029 Generate -idhep=-5 -frac=0.5 -rapmin=-2.0 -rapmax=2.0 -ptmin=0.2
030 Generate -idhep=5 -frac=0.5 -rapmin=-2.0 -rapmax=2.0 -ptmin=0.2
031 exit
032 RandomNumberMenu
033 RandomSeed1 set $env(SEED1)
034 RandomSeed2 set $env(SEED2)
035 exit
036 exit
037 #-------------------------------------------------------------------------------
038 # QQ
039 #-------------------------------------------------------------------------------
040 module enable QQModule
041 module talk QQModule
042 Decay_B_Baryons set 1
043 Decay_K_s_Lambda set 1
044 exit
045 #-------------------------------------------------------------------------------
046 # Deal with input
047 #-------------------------------------------------------------------------------
048 module output DHOutput
049 module enable DHOutput
050 module talk DHOutput
051 output clear
052 exit
053 #-------------------------------------------------------------------------------
054 # Analysis talk-tos
055 #-------------------------------------------------------------------------------
056 module enable HepRootManager
057 module talk HepRootManager
058 histfile set $env(NAME).root
059 exit
060 # filtering interesting events
061 module enable GenTrigBFilter
062 module talk GenTrigBFilter
063 GenTrigBFilter
064 Reject set 0
065 CodePDG set 531
066 PtMin set 6
067 RapMin set -1
068 RapMax set 1
069 exit
070 exit
071 # trigger simulation
072 module enable GenTrigModule
073 module talk GenTrigModule
074 GenTrigModule
075 Verbose set 0
076 UsePair set 1
077 UseDiMu set 1
078 UseDMuX set 1
079 UseL3Simp set 1
080 BanksSVT set 0
081 exit
082 L2Bs
083 D0Min set 0.120
084 D0Max set 1.000
085 BD0Max set 9e30
086 DPhiMin set 2.000
087 DPhiMax set 90.000
088 exit
089 L2Bd
090 D0Min set 0.100
091 D0Max set 1.000
092 BD0Max set 0.140
093 DPhiMin set 20.000
094 DPhiMax set 135.000
095 exit
096 L2DM
097 DPhiMax set 135.000
098 exit
099 Fidu
100 CodePDG set 531
101 Fiducial set 1
102 exit
103 exit
104 # ------------------------------------------------------------------------------
105 # Define the Path
106 # ------------------------------------------------------------------------------
107 path disable AllPath
108 path create B_Path ManagerSequence HepRootManager \
109 HardScatGenSequence DecayPackageSequence GenOutputManager \
110 GenPrimVert GenTrigSequence
111 path enable B_Path
112 # ------------------------------------------------------------------------------
113 # Go for it
114 # ------------------------------------------------------------------------------
115 action off "Timer Action"
116 show
117 ev begin -nev 1000
118 exit
Send problems or questions to cdfcode@fnal.gov