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

A registered subsystem: its descriptor plus how to build it. More...

#include <SubsystemRegistry.h>

Collaboration diagram for SHiP::geometry::SubsystemInfo:
[legend]

Public Attributes

SubsystemDescriptor desc
 name, tree node, id and placement
std::function< GeoVPhysVol *(Materials &)> build
 builds it in its local frame

Detailed Description

A registered subsystem: its descriptor plus how to build it.

One entry per subsystem in the global registry(). The callback builds the subsystem in its own local frame; the descriptor says where that frame goes in the world.

Member Data Documentation

◆ build

std::function<GeoVPhysVol*(Materials&)> SHiP::geometry::SubsystemInfo::build

builds it in its local frame

◆ desc

SubsystemDescriptor SHiP::geometry::SubsystemInfo::desc

name, tree node, id and placement


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