Difference: GlaSiDGettingStarted (3 vs. 4)

Revision 42016-09-05 - AidanRobson

Line: 1 to 1
 
META TOPICPARENT name="GlaSiD"

Getting Started with SiD DD4HEP

Changed:
<
<

At the moment, our code is committed to the DESY SVN repository, where the core DD4hep software and the CLIC and ILD models are stored as well. This is to make it easier to include SiD in the standard tests. The latest/work version is labelled SiD_o1_v01. The XML configuration is located in lcgeo/SiD/compact/SiD_o1_v01 and the C++ drivers are located in lcgeo/detector/

Browse or check out the code via https://svnsrv.desy.de/websvn/wsvn/General.ddsim/lcgeo

If needed for read access, a new basic account can be registered for anyone, by anyone else who has a grid certificate, at:
https://svnsrv.desy.de/admin/svn
>
>

At the moment, our code is committed to the DESY SVN repository, where the core DD4hep software and the CLIC and ILD models are stored as well. This is to make it easier to include SiD in the standard tests. The latest/work version is labelled SiD_o1_v03. The XML configuration is located in lcgeo/SiD/compact/SiD_o1_v01 and the C++ drivers are located in lcgeo/detector/

Browse or check out the code via https://svnsrv.desy.de/websvn/wsvn/General.ddsim/lcgeo

If needed for read access, a new basic account can be registered for anyone, by anyone else who has a grid certificate, at:
https://svnsrv.desy.de/admin/svn
 
Changed:
<
<
We are running on SL6 machines and haven't tried other architectures. Note that you must have cvmfs installed (ask your local sysadmin).

Build example:
>
>
We are running on SL6 machines and haven't tried other architectures. Note that you must have cvmfs installed (ask your local sysadmin).

Latest update: 5 Sept 16, using the latest ilcsoft release v01-17-10 for everything


Build example:

 
# [first five steps are one-time only]
svn co https://svnsrv.desy.de/basic/ddsim/lcgeo/trunk lcgeo
rm lcgeo/detector/calorimeter/SHcal*
Line: 13 to 17
 mkdir lcgeo/build # [setups you do every time: ] source /cvmfs/sft.cern.ch/lcg/releases/gcc/4.8.4/x86_64-slc6/setup.sh
Changed:
<
<
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-09/init_ilcsoft.sh
>
>
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10/init_ilcsoft.sh
 cd lcgeo/build # [cmake you only need do after you have added/removed/moved files from the directories]
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=`which g++` -DCMAKE_C_COMPILER=`which gcc` -C /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/ILCSoft.cmake ..
>
>
cmake -DCMAKE_CXX_COMPILER=`which g++` -DCMAKE_C_COMPILER=`which gcc` -C /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10/ILCSoft.cmake ..
 # [make you only need to do after you have changed files] make -j4 make install
Line: 27 to 31
 
# [assuming you are in the lcgeo directory you created above, but these instructions are for a clean login]
source /cvmfs/sft.cern.ch/lcg/releases/gcc/4.8.4/x86_64-slc6/setup.sh 
Changed:
<
<
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-09/init_ilcsoft.sh
>
>
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10/init_ilcsoft.sh
 export LCGRELEASES=/cvmfs/sft.cern.ch/lcg/releases/LCG_84 export PYTHONDIR=/cvmfs/sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt export PATH=/cvmfs/sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/bin:$PATH
Line: 37 to 41
 export PATH=$PYTOOLSDIR/bin:$PATH source bin/thislcgeo.sh python example/lcio_particle_gun.py
Changed:
<
<
ddsim --compactFile=SiD/compact/SiD_o1_v01/SiD_o1_v01.xml --runType=batch --inputFile mcparticles.slcio -N=1 --outputFile=testSiD_o1_v01.slcio
>
>
ddsim --compactFile=SiD/compact/SiD_o1_v01/SiD_o1_v03.xml --runType=batch --inputFile mcparticles.slcio -N=1 --outputFile=testSiD_o1_v03.slcio
 
Then to look at the output:
Changed:
<
<
dumpevent testSiD_o1_v01.slcio 1
>
>
dumpevent testSiD_o1_v03.slcio 1
  or
Changed:
<
<
anajob testSiD_o1_v01.slcio
>
>
anajob testSiD_o1_v03.slcio
  To run reconstruction:
Changed:
<
<
We are currently using a more recent CLIC release.
#In a fresh login shell:
source /afs/cern.ch/eng/clic/work/ilcsoft/HEAD-2016-02-19/init_ilcsoft.sh
>
>
# [assuming you are in the lcgeo directory you created above, but these instructions are for a clean login]
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10/init_ilcsoft.sh
 #use the latest SiDReconstruction.xml attached to this twiki page,
Changed:
<
<
# where you have edited the LCIOInputFiles and DD4hepXMLFile parameters for your local area:
>
>
# where you have edited the LCIOInputFiles and DD4hepXMLFile parameters for your local area. # You also need to have the basic gear_sid.xml file (attached to this twiki page) in your directory.
 Marlin SiDReconstruction_v03_160711.xml

Line: 63 to 67
 
<--/commentPlugin-->

META FILEATTACHMENT attachment="SiDReconstruction_v03_160711.xml" attr="" comment="" date="1468250213" name="SiDReconstruction_v03_160711.xml" path="SiDReconstruction_v03_160711.xml" size="39022" user="AidanRobson" version="1"
Added:
>
>
META FILEATTACHMENT attachment="gear_sid.xml" attr="" comment="basic gear file to satisfy reconstruction" date="1473083258" name="gear_sid.xml" path="gear_sid.xml" size="286" user="AidanRobson" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback