Difference: GlaSiD (18 vs. 19)

Revision 192016-10-19 - DanProtopopescu

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

Glasgow SiD howto

The starting point is the sidloi3 model in lcgeo implemented by F. Gaede and based on the original sidloi3 compact file.

Changed:
<
<
This was tested by simulating single muons and reconstructing them (see lcgeo/example/run_sid_reco.xml, or better: SiDReconstruction.xml attached to this page: GlaSiDGettingStarted).
>
>
This was tested by simulating single muons and reconstructing them (see lcgeo/example/run_sid_reco.xml).
 
Changed:
<
<
There is a 'getting started' guide at GlaSiDGettingStarted.
>
>

Getting Started Tutorial

Tip, idea A detailed step by step tutorial can be found here: GlaSiDGettingStarted. If you are new to ilcsoft and DD4hep, it's best to start there.

Versions and paths

Note that some paths used in these wiki pages will change when various software components are upgraded (e.g. from gcc 4.8.1 to 4.8.4, ilcsoft v01-17-09 to v01-17-10 etc.). Always make sure you use the correct versions.

 

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.

full-SiD.png

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

See GlaSiDGettingStarted for recent SiDReconstruction.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).

ecal.png

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

Note that general ECal parameters are defined in SiD_o1_v01.xml, e.g.

<constant name="EcalBarrel_half_length" value="1765.0*mm" />
<constant name="EcalBarrel_rmin" value="1265.0*mm" />
<constant name="EcalBarrel_rmax" value="1403.0*mm" />
<constant name="EcalBarrel_symmetry" value="12" />

etc., and used in EcalBarrel_o1_v01_00.xml.

Repository

The development version of the code is located in lcgeo/SiD/compact/SiD_o1_v01 in the DESY SVN repo, where the core DD4hep software and the CLIC and ILD models are stored as well. The naming convention for compact files is "DET_oX_vYY_ZZ.xml", e.g. EcalEndcap_o1_v01_00.xml. ALERT! Use svn cp DET.xm DET_oX_vYY_ZZ.xml to rename compact files while preserving SVN history. The C++ drivers can be found in lcgeo/detector/.

Adding HCal

Using the naming convention explained above, we add HcalBarrel_o1_v01_00.xml and HcalEndcap_o1_v01_00.xml. We also need to edit SiD_o1_v01.xml to add general HCal parameters. See the result here. Checked for illegal overlaps or extrusions and found none.

Adding other subdetectors

Plugins and readouts are now included in the individual detector's XML descriptions to make the model more modular (i.e. so that one can comment out sub-detectors from SiD_o1_v01.xml, if necessary).

Both LumiCal_o1_v01_00.xml and BeamCal_o1_v01_00.xl use DD4hep default drivers and some overlaps between the default envelopes have to be solved. See result here. Updated and tested MuonBarrel_o1_v01_00.xml, MuonEndcap_o1_v01_00.xml and Solenoid_o1_v01_00.xml were added (see table below).

The silicon trackers were updated and SiTrackerBarrel_o1_v01_00.xml and SiTrackerEndcap_o1_v01_00.xml were added to the SVN repo.

AllSiTrackersLumiCal.png

This is work in progress - watch this wiki (and the SVN repo) for updates.

StatusTable.png

Troubleshooting

META FILEATTACHMENT attachment="full-SiD.png" attr="" comment="Full sidloi3 model" date="1450196016" name="full-SiD.png" path="full-SiD.png" size="152712" user="DanProtopopescu" version="3"
META FILEATTACHMENT attachment="SiDparSep2015Model.pdf" attr="" comment="SiD engineering driver (Sep 2015)" date="1450178474" name="SiDparSep2015Model.pdf" path="SiDparSep2015Model.pdf" size="156718" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="SiDLoI3-compact.tgz" attr="" comment="Initial XML configuration (Oct 2015) from SVN" date="1450179057" name="SiDLoI3-compact.tgz" path="SiDLoI3-compact.tgz" size="31528" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="ecal.png" attr="" comment="ECal modules only" date="1450196030" name="ecal.png" path="ecal.png" size="26906" user="DanProtopopescu" version="2"
META FILEATTACHMENT attachment="def.png" attr="" comment="Inner and outer radii definitions" date="1450273618" name="def.png" path="def.png" size="12016" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="EcalHcalBarrel.png" attr="" comment="Ecal + barrel Hcal" date="1452703480" name="EcalHcalBarrel.png" path="EcalHcalBarrel.png" size="28256" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="AllCals.png" attr="" comment="All calorimeters" date="1453912992" name="AllCals.png" path="AllCals.png" size="41583" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="StatusTable.png" attr="" comment="Implementation progress" date="1463654187" name="StatusTable.png" path="StatusTable.png" size="189996" user="DanProtopopescu" version="4"
META FILEATTACHMENT attachment="DriversTable.png" attr="h" comment="Implementation progress" date="1463405752" name="DriversTable.png" path="DriversTable.png" size="194115" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="AllSiTrackersLumiCal.png" attr="" comment="All silicon trackers (Forward, Encap and Barrel) and LumiCal" date="1463660222" name="AllSiTrackersLumiCal.png" path="AllSiTrackersLumiCal.png" size="218786" user="DanProtopopescu" version="2"
 
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