DD4Hep Geometry development guide

Getting started

The easiest way to get started with the LHCb geometry is to use the LHCb hackathon setup. The current stack uses LCG 101 and the platform x86_64-centos7-gcc11-(opt|dbg):

source /cvmfs/lhcb.cern.ch/lib/LbEnv
git clone https://gitlab.cern.ch/lhcb/upgrade-hackathon-setup.git
cd upgrade-hackathon-setup
make Detector

Developing detectors

Some training material was prepared for the 18th hackathon for the upgrade (Feb 2020, c.f. https://indico.cern.ch/event/878896/), with details on:

The compact/debug directory contains compact files that allow loading and visualizing individually some sub-detectors.

Extra information about the integration of DD4hep in the LHCb project was presented at the 23rd Hackathon in July 2021: https://indico.cern.ch/event/1043362/contributions/4426286/attachments/2278660/3871298/Hackathon-20210712-LHCb-DD4hep.pdf