Download lcgeo from GitHub (delete any older installation of lcgeo, if the case)
git
...
Configure ILCSoft v02-00-02
cd
...
lcgeo
mkdir
...
build
cd
...
build
source /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/v02-00-02/init_ilcsoft.sh
rm
...
../plugins/LinearSortingPolicy.cpp
cmake
...
-DCMAKE_CXX_COMPILER=`which
...
g++`
...
-DCMAKE_C_COMPILER=`which
...
gcc`
...
-C
...
$ILCSOFT/ILCSoft.cmake
...
..
make
...
-w
...
-j4
...
install
cd
...
..
source
...
bin/thislcgeo.sh
If you want, you can visualise the model with
geoDisplay SiD/compact/SiD_o2_v03/SiD_o2_v03.xml
and check volume overlaps with the TGeo command (while in ROOT):
root [0] gGeoManager->CheckOverlaps(0.01);
Run simulation with the SiD_o2_v03 model, e.g.
ddsim --compactFile SiD/compact/SiD_o2_v03/SiD_o2_v03.xml --runType batch --inputFile example/mcparticles.slcio --outputFile=testSiD_o2_v03.slcio --numberOfEvents 100
Check the output, e.g.
anajob testSiD_o2_v03.slciodumpevent testSiD_o2_v03.slcio 1
Edit it to use the above testSiD_o2_v03.slcio as input file and point to the correct PandoraSettings*, gear XML, etc.
Then run
anajob tracksSiD_o2_v03.slciodumpevent tracksSiD_o2_v03.slcio 1
View file | ||||
---|---|---|---|---|
|