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 c hadron production
018 Define -idhep=4 -name=c -mass=1.50 -life=0.0 \
019 -spec_file=$env(CDFDAB_DIR)/dab/cq_mrst_2000_1500_mu_total.root \
020 -spec_name=dsigma_dydpt
021 # Setup the mixture
022 SetDMixture -mixu=0.611 -mixd=0.195 -mixs=0.114 -mixl=0.060
023 # Setup the fragmentation parameter
024 SetDEps -epsu=0.100 -epsd=0.100 -epss=0.100 -epsl=0.100
025 # Specify the particles to generate
026 Generate -idhep=4 -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 Decay_prompt_charm set 1
041 exit
042 #-------------------------------------------------------------------------------
043 # Deal with input
044 #-------------------------------------------------------------------------------
045 module output DHOutput
046 module enable DHOutput
047 module talk DHOutput
048 output clear
049 exit
050 #-------------------------------------------------------------------------------
051 # Analysis talk-tos
052 #-------------------------------------------------------------------------------
053 module enable HepRootManager
054 module talk HepRootManager
055 histfile set $env(NAME).root
056 exit
057 # filtering interesting events
058 module enable GenTrigBFilter
059 module talk GenTrigBFilter
060 GenTrigBFilter
061 Reject set 0
062 CodePDG set 431
063 PtMin set 2
064 RapMin set -1
065 RapMax set 1
066 exit
067 exit
068 # trigger simulation
069 module enable GenTrigModule
070 module talk GenTrigModule
071 GenTrigModule
072 Verbose set 0
073 UsePair set 1
074 UseDiMu set 1
075 UseDMuX set 1
076 UseL3Simp set 1
077 BanksSVT set 0
078 exit
079 L2Bs
080 D0Min set 0.120
081 D0Max set 1.000
082 BD0Max set 9e30
083 DPhiMin set 2.000
084 DPhiMax set 90.000
085 exit
086 L2Bd
087 D0Min set 0.100
088 D0Max set 1.000
089 BD0Max set 0.140
090 DPhiMin set 20.000
091 DPhiMax set 135.000
092 exit
093 L2DM
094 DPhiMax set 135.000
095 exit
096 Fidu
097 CodePDG set 531
098 Fiducial set 1
099 exit
100 exit
101 # ------------------------------------------------------------------------------
102 # Define the Path
103 # ------------------------------------------------------------------------------
104 path disable AllPath
105 path create B_Path ManagerSequence HepRootManager \
106 HardScatGenSequence DecayPackageSequence GenOutputManager \
107 GenPrimVert GenTrigSequence
108 path enable B_Path
109 # ------------------------------------------------------------------------------
110 # Go for it
111 # ------------------------------------------------------------------------------
112 action off "Timer Action"
113 show
114 ev begin -nev 1000
115 exit
Send problems or questions to cdfcode@fnal.gov