Skip to content
Snippets Groups Projects
background.md 1.42 KiB
Newer Older
---
title: "Background"
---

Whitney Armstrong's avatar
Whitney Armstrong committed
Some of the instructions in this tutorial may be outdated. Please feel free to [leave an issue to correct these](https://eicweb.phy.anl.gov/EIC/tutorials/eic_tutorial/-/issues).
## The "Framework" Question

In the nuclear and particle physics communities many software frameworks exists.
They come in all sizes and scopes. 
It is important to remember why frameworks exist: to solve a problem that is more difficult without the framework. 
That said, adopting a framework introduces tight coupling in software which makes it inflexible and difficult to maintain.
Therefore, ***adopting a framework for the sake of using a framework is never a good idea***.

### The "geometry problem"

The detector description framework called `DD4hep`, at its core, is aimed at 
solving the "geometry problem". The geometry problem relates the detector 
description used in simulation or experiment and the reconstruction geometry.
An illustrative example is the following. Give a channel number representing a 
pixel in a silicon detector, a hit in that channel represents a 3D point with 
an uncertainty equal to dimensions of the pixel. Constructing the pixel in 
simulation and providing a robust look of the geometry based on a channel 
number are very different tasks.

A tool or framework that allows this look up of geometry from channel number is 
important for flexible use of independent tracking and reconstruction tools.