Glasgow SiD howto
The starting point is the
sidloi3 model in
lcgeo
implemented by F. Gaede and based on the original
sidloi3
compact file.
This was tested by simulating single muons and reconstructing them (see
lcgeo/example/run_sid_reco.xml
).
Building the model
The model is using the generic detector drivers in DD4hep. For the calorimeters (Ecal/Hcal) the current (Oct 2015) CLIC drivers were used in order to have the DDRec extensions that will eventually be needed by DDMarlinPandora.
To compile, from the local
lcgeo/
directory:
source /cvmfs/sft.cern.ch/lcg/external/gcc/4.8.1/x86_64-slc6-gcc48-opt/setup.sh
export PATH=/cvmfs/sft.cern.ch/lcg/external/Python/2.7.4/x86_64-slc6-gcc48-opt/bin/:$PATH
export LD_LIBRARY_PATH=/cvmfs/sft.cern.ch/lcg/external/Python/2.7.4/x86_64-slc6-gcc48-opt/lib/:$LD_LIBRARY_PATH
make -C build -j4 install
To check the geometry:
source ../config_dd4hep.sh
source ../dd4hep/bin/thisdd4hep.sh
source bin/thislcgeo.sh
geoDisplay SiD/compact/sidloi3/sidloi3_v00.xml
then from root prompt
root [1] gGeoManager->CheckOverlaps(0.01);
Info in <TGeoNodeMatrix::CheckOverlaps>: Checking overlaps for world_volume and daughters within 0.01
Check overlaps: [==========] 129404 [100.00 %] 01
Info in <TGeoNodeMatrix::CheckOverlaps>: Number of illegal overlaps/extrusions : 6
Checking simulation+reconstruction chain
From
lcgeo
:
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-07/Marlin/v01-06/build_env.sh
Marlin example/run_sid_reco.xml
Implementing custom SiD ECal drivers
The initial implementations uses
GenericCalBarrel_o1_v01
and
GenericCalEndcap_o1_v01
drivers. The generic drivers will build the main detection volumes but will not include detailed structural components and/or subcomponents (e.g. stacks, towers, gaps, support elements).
Development version is located in
SiD/compact/SiD_o1_v01
in the
DESY SVN repo
. Naming convention for compact files is "DET_oX_vYY_ZZ.xml", e.g.
EcalEndcap_o1_v01_00.xml
.

Use
svn mv DET.xm DET_oX_vYY_ZZ.xml
to rename compact files while preserving SVN history.
View with:
geoDisplay SiD/compact/SiD_o1_v01/SiD_o1_v01.xml
Test with ECals only (other subdetectors commented in
SiD_o1_v01.xml
):
root [0] gGeoManager->CheckOverlaps(0.01);
Info in <TGeoNodeMatrix::CheckOverlaps>: Checking overlaps for world_volume and daughters within 0.01
Check overlaps: [==========] 3039 [100.00 %] 00:00
Info in <TGeoNodeMatrix::CheckOverlaps>: Number of illegal overlaps/extrusions : 0
This is work in progress - watch this wiki (and the SVN repo) for updates.