Introduction

The detector definition requires the representation of its geometrical elements, their materials and electronics properties, together with visualization attributes and user defined properties. The geometrical representation of detector elements focuses on the definition of solid models and their spatial position, as well as their logical relations to one another, such as in the case of containment.

Geant4 uses the concept of “Logical Volume” to manage the representation of detector element properties. The concept of “Physical Volume” is used to manage the representation of the spatial positioning of detector elements and their logical relations. The concept of “Solid” is used to manage the representation of the detector element solid modeling. Volumes and solids must be dynamically allocated using ‘new’ in the user program; they must not be declared as local objects. Volumes and solids are automatically registered on creation to dedicated stores; these stores will delete all objects at the end of the job.