Line: 1 to 1 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Glasgow SiD howtoThe starting point is the sidloi3 model inlcgeo 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![]() Versions and pathsNote 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 modelThe 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.![]() 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 installTo check the geometry: source ../config_dd4hep.sh source ../dd4hep/bin/thisdd4hep.sh source bin/thislcgeo.sh geoDisplay SiD/compact/sidloi3/sidloi3_v00.xmlthen 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 chainFromlcgeo :
source /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-07/Marlin/v01-06/build_env.sh Marlin example/run_sid_reco.xmlSee GlaSiDGettingStarted for recent SiDReconstruction.xml. Implementing custom SiD ECal driversThe initial implementations usesGenericCalBarrel_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).
![]() geoDisplay SiD/compact/SiD_o1_v01/SiD_o1_v01.xmlTest 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 : 0Note 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 .
RepositoryThe development version of the code is located inlcgeo/SiD/compact/SiD_o1_v01 in the DESY SVN repo![]() EcalEndcap_o1_v01_00.xml . ![]() 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 HCalUsing the naming convention explained above, we addHcalBarrel_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 subdetectorsPlugins 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 fromSiD_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.
![]() ![]() Troubleshooting
|