DEV14 setup and simulation(SSD)
1>Copy code from Jonathan
/star/institutions/ksu/bouchet/DEV14_DEV_UPDATE/dev14/StRoot
(all directories)
/star/institutions/ksu/bouchet/DEV14_DEV_UPDATE/dev14/StarDb
(all directories)
2>Load DEV14 from CVS(coming from Jonathan)
detp geom dev14
gexec $STAR_LIB/xgeometry.so
make gstar
gclos all
3>Code for Reconstruction
cvs co StRoot/StSsdFastSimMaker
3>
naming convention for GEANT :
IDSM --> IDS (Inner Detector Support)
PXMO --> Pixel detector
IBMO --> IST detector
SFMO --> SSD detector
IDSM = PXMO + IBMO + SFMO + PXL supports
5>Create Simulation Data
cp /star/institutions/ksu/bouchet/DEV14_August2013/howto-dev14/singlepion.kumac
This script creates 5events with 1 pion per event.
It looks like :
detp geometry dev14
gexec .$STAR_HOST_SYS/lib/xgeometry.so
make gstar
gclose all
user/vxyz 0.001 0.001 0.01
user/vsig 0.01 5
gfile o dev14_1track_5events.fz
aguser/gkine 1 8 0.1 5.0 -1.0 1.0 0 6.28
trig 10
6>to execute this file (.kumac), use starsim
starsim
enter
exe singlepion.kumac
7>Run the STAR reconstruction software
1) copy the script :
/star/institutions/ksu/bouchet/DEV14_August2013/howto-dev14/setup_geom.sh
and
/star/institutions/ksu/bouchet/DEV14_August2013/howto-dev14/makeGeomFile.kumac
to run :
sh setup_geom.sh
It creates a dev14.h file in StarDb/AgiGeometry
This is needed for reconstruction
2) Get the SSD code (that you can look at to see what if does)
Create a StRoot directory and
cp -r /star/institutions/ksu/bouchet/DEV14_August2013/StRoot/StSsdFastSimMaker
cp -r /star/institutions/ksu/bouchet/DEV14_August2013/StRoot/StSsdDbMaker
in this directory
Copy /star/institutions/ksu/bouchet/DEV14_August2013/StarDb/Geometry/ssd
(keep the same tree)
This directory contains the geometry files for the SSD
3)compile the code in order that the BFC uses this version
cons
8> to run the BFC chain
copy /star/institutions/ksu/bouchet/DEV14_August2013/howto-dev14/run.sh
to run :
sh run.sh
- zhoulong's blog
- Login or register to post comments