SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
SHiP::geometry::SubsystemDescriptor Struct Reference

A subsystem's self-description: everything the assembler needs. More...

#include <SubsystemDescriptor.h>

Public Attributes

const char * name
 registry key / CLI name, e.g. "Calorimeter"
const char * node
 GeoNameTag, e.g. "/SHiP/calorimeter".
int id
 GeoIdentifierTag.
double x_mm
 placement translation X (mm)
double y_mm
 placement translation Y (mm)
double z_mm
 placement translation Z, beam direction (mm)
bool isWorld = false
 true for the mother/world volume (the cavern)

Detailed Description

A subsystem's self-description: everything the assembler needs.

This is the "required input to the geometry builder" that each subsystem yields about itself. It is a plain data type with no GeoModel or standard- library dependency, so it is cheap to include from the factory headers (which only need it as the return type of descriptor()). The registry machinery that consumes it lives in SubsystemRegistry.h, included by the factory implementations.

Translations are in millimetres from the world origin.

Member Data Documentation

◆ id

int SHiP::geometry::SubsystemDescriptor::id

GeoIdentifierTag.

◆ isWorld

bool SHiP::geometry::SubsystemDescriptor::isWorld = false

true for the mother/world volume (the cavern)

◆ name

const char* SHiP::geometry::SubsystemDescriptor::name

registry key / CLI name, e.g. "Calorimeter"

◆ node

const char* SHiP::geometry::SubsystemDescriptor::node

GeoNameTag, e.g. "/SHiP/calorimeter".

◆ x_mm

double SHiP::geometry::SubsystemDescriptor::x_mm

placement translation X (mm)

◆ y_mm

double SHiP::geometry::SubsystemDescriptor::y_mm

placement translation Y (mm)

◆ z_mm

double SHiP::geometry::SubsystemDescriptor::z_mm

placement translation Z, beam direction (mm)


The documentation for this struct was generated from the following file: