Toy MC Event Generation Documentation

Last Update: 02-Feb-06

Index

  1. Comments
  2. Input File Format
  3. Data Variables Generated

Input Data File Format

Parameter Description
Pmix
  • < 0 (time dep mixing)
    use function mix_prob to calculate the time dep mixing probability
    Input parameter = dm
  • >= 0 (constant mixing)
    use function mix_cnst with value of Pmix as input param
Smearing See smearing docs for details
use_Eff starting in v7.0
  • = UseNoEff (0): no eff used in generation
  • = UseStdEff (1): standard (1 - exp) form for eff
Next parameter after this is Neffpars, followed by parameter values if use_Eff is non-zero

Input Data File Format

Variable list from v7.1 of the code. Variable list in data_io.cpp, generated in gen_evt.cpp.
Variable Index Description
Primary Generation
Source ind_src Source number for this event
Based on requested source fractions
t0 ind_t0 Proper time
From source's physics function
Pt(B) --- Pt(B)
From source's Pt(B) histogram
K ind_kf K-factor
From source's K-factor histogram
1 for cc, combinatoric, etc. bgrd's
Tag ind_mix 1=Unmixed, 0=Mixed
From source's mixing probability function or constant mixing prob
sigma(Lxy) ind_errl Decay Length error
From common sigma(Lxy) histogram
Dilution ind_dil Event's Dilution
Currently a constant from read-in P(mis-tag) parameter
M(obs) ind_mobs Ds-Mu Mass
Currently a placeholder
Derived Variables
Ptm ind_ptm Pt(Ds+mu) = K * Pt(B)
Lxy ind_lxy Lxy = c * t0 * Pt(B) / M(src)
VPDL ind_vpdl X = M(Bs) * Lxy / Ptm
Note: Bs mass used for all VPDL variables - must be corrected for in likelihood
VPDL-smear ind_vpdl_smr X = M(Bs) * Lxy(smear) / Ptm
VPDL Error ind_errx sigma(X) = M(Bs) * sigma(Lxy) / Ptm
Smeared Variables
Smeared Tag ind_mix_smr Smeared tag
Tag randomly flipped based in P(mis-tag)
P(mis-tag) derived from event's Dilution
Smeared Lxy ind_lxy_smr Smeared Decay Length
Smeared by gaussian with width = sigma(Lxy) for this event