SHiP Field Service
Framework-agnostic C++20 library exposing SHiP magnetic field maps.
Loading...
Searching...
No Matches
Public Attributes | List of all members
ship::FieldRegion Struct Reference

One magnet's worth of field, tagged by a host-geometry volume pattern. More...

#include <IFieldSource.h>

Public Attributes

std::string name
 
std::string volume_pattern
 
std::shared_ptr< IFieldEvaluatorfield
 

Detailed Description

One magnet's worth of field, tagged by a host-geometry volume pattern.

volume_pattern is a substring match against the host's volume name store (Geant4 G4LogicalVolumeStore, or equivalent for reco). The host is responsible for installing the field on each matching volume.

Member Data Documentation

◆ field

std::shared_ptr<IFieldEvaluator> ship::FieldRegion::field

◆ name

std::string ship::FieldRegion::name

◆ volume_pattern

std::string ship::FieldRegion::volume_pattern

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