Notes on simulation runs


How to build PYTHIA
Log in to rcas (rcas2067) 
topythia cd's you to /phenix/workarea/hubert/event_gen/src/pythia/
make -f gen_pythia_muon.mk builds executable gen_pythia_muon from the local gen_pythia_muon.f. In the .f file you can determine what particles to produce etc.
How to run PYTHIA
Log in to rcas (rcas2067)  
topythia cd's you to /phenix/workarea/hubert/event_gen/src/pythia/
cd linux to the 'run' directory
emacs pythia.par to set the # of events
gen_pythia_muon produces /phenix/data07/hubert/pythia/pythia_xxx.dat where xxx is a sequence number (stored in sequence.dat). Also produces pythia_027.hist, which is copied to /data07/
How to build PISA
  See the Pisa home page, about pisaLinker.csh
also these notes, which are an update of this page from John
How to run PISA
topisa cd's you to /phenix/workarea/hubert/cvs4/simulation/pisa2000/wrk/myrun/
ln -sf <file> pythia.dat where is /phenix/data07... from above
edit pisa.input change the #events
pisa <pisa.input >pisa_xxx.out     run PISA.
Produces file PISAEvent.root
pisaRootRead produces several files ancxxx.root from PISAEvent.root , where xxx is the subsystem name.
Rename ancsvx.root to ancsvx_nnn.root, and
make a softlink from ancsvx.root to ancsvx_nnn.root. Here is a decription of what is in ancsvx.root
How to analyze the root file
ln -sf ancsvx_nnn.root ancsvx_softlink.rootmacro below looks for ancsvx_softlink.root.
root -l
.x beauty05.C
runs through the anc output file, produces beauty05.root
rename to beauty05_xxx.root


Notes:
Vertex distribution is as shown on the right:
ctau for B mesons is 388 um, with a boost of 2-3 gives a mean of 1.15 um for the decay distance.
Root script beauty01.C (origin: Pat's Charm2.C) was modified to look at output root file ancsvx.root. The top of the macro is semi-automatically generated using MakeCode.C

Assignment of 'layers' has changed. Layer numbers 5-8 are the North Si lampshades, and 9-12 are the South lampshades.


Radiograph of all hits on all layers. Looks like the barrel here has 3 layers, at 6, 8 and 10 cm.


Radiograph of all hits on the North, requiring that all 4 planes are hit


The geometry is the old one, with 2x4 identical lampshades.
In the original, the total thickness of the lampshades is 224 um of Silicon.

In the analysis, the r-positions of the hits are 'integerized' to simulate 50 um wide strips.



Nonzero histograms from 10K events, with only North muon arm active; Tracks are straight lines extrapolated from planes 1 and 4.

g01-06_p14.ps g07-19_p14.ps g20-27_p14.ps g31-37_p14.ps

next: resolution (1)
Last update 6 May 2005 - HvH
back