@@ -8,6 +8,9 @@ This version includes:
88 are no longer loaded.
99- A new ` asciimap ` field plugin (` type: asciimap ` ) that loads ASCII field maps from data-only files
1010 with the grid defined in YAML — the GEMC3 successor of the clas12 ` asciiField ` .
11+ - Field-only runs now initialize against the default ROOT world when no detector system is selected.
12+ - New source examples under ` examples/fields/ ` for torus, dipole, solenoid, and constant fields.
13+ - New visualization startup options, ` -show_field_lines=<n> ` and ` -show_auxiliary_edges=<bool> ` .
1114- Field-line visualization now derives the sampling extent from the configured ROOT ` G4Box ` before
1215 adding Geant4's magnetic-field model.
1316- A ` -log_every=N[-NTH] ` option for periodic per-event progress logging with the running average rate.
@@ -55,6 +58,14 @@ This version includes:
5558 the ` dipole-{x,y,z} ` , ` cylindrical-{x,y,z} ` , ` phi-segmented ` , and ` cartesian_3D[_quadrant] `
5659 symmetries, ` linear ` /` none ` interpolation, a ` scale ` factor, and ` vx,vy,vz ` / ` rx,ry,rz ` map
5760 placement. The map file is resolved next to its YAML definition, so a plain ` .yaml ` runs directly.
61+ - Field-only configurations can now start without selecting a detector system. GEMC treats configured
62+ field definitions as startup geometry, attaches a single configured field to ROOT when appropriate,
63+ and adds a visible viewer volume for the default ROOT world so ` -gui ` has an extent to frame.
64+ - Added ` -show_field_lines=<n> ` to add Geant4 magnetic-field lines during visualization startup. A
65+ value of ` 0 ` disables the model; positive values are passed to ` /vis/scene/add/magneticField ` .
66+ - Added ` -show_auxiliary_edges=<bool> ` to enable auxiliary volume edges at visualization startup. The
67+ option accepts ` true/false/yes/no/on/off/1/0 ` and also enables hidden edges, matching the GUI button
68+ behavior.
5869
5970<br />
6071
@@ -74,6 +85,11 @@ This version includes:
7485- Added ` asciimap ` examples under the gfields module: ` asciimap_dipole.yaml ` (dipole-z), and the
7586 clas12 ` solenoid.yaml ` (cylindrical-z) and ` torus.yaml ` (phi-segmented) maps translated from their
7687 legacy ` <mfield> ` headers, each with a small but complete data-only map file.
88+ - Added a top-level ` examples/fields/ ` category with runnable torus, dipole, solenoid, and constant
89+ field display examples. The torus and solenoid examples use ASCII field maps, and each example has
90+ a simple enclosing solid chosen to make the field region visible in the Geant4 viewer.
91+ - Added ` show_field_lines ` and ` show_auxiliary_edges ` entries to the example YAML files. General
92+ examples leave them disabled, while the field-display examples enable them by default.
7793
7894<br />
7995
@@ -133,6 +149,9 @@ Both x86_64 and ARM64 platforms are supported.
133149 or by ` -global_field ` ), instead of every configured ` gmultipoles ` /` gfields ` entry. A field that no
134150 volume references — including any reset via ` -no_field ` — has its plugin and map skipped. The
135151 ` -fieldAt ` / ` -fieldMapPoints ` query path is unaffected and still loads all configured fields.
152+ - Field-only GUI runs no longer require selecting a detector system first. If exactly one configured
153+ field is present and no explicit ` global_field ` is set, GEMC attaches that field to the default
154+ ROOT world for visualization startup.
136155
137156<br />
138157
@@ -193,3 +212,17 @@ Both x86_64 and ARM64 platforms are supported.
193212 the YAML that defined the field.
194213- The gfields example driver now probes every configured field by name (` GMagneto::getFieldNames ` )
195214 instead of a hardcoded ` dipole ` , so it works for the multipole, solenoid, and torus examples alike.
215+ - Startup now proceeds for field-only configurations even when no detector system is selected. The
216+ detector construction can auto-attach a single configured field to ROOT when no explicit
217+ ` global_field ` is set, and the default ROOT-only scene includes a visible viewer box so Geant4 has
218+ an extent for camera setup.
219+ - Added ` examples/fields/constant ` , ` examples/fields/dipole ` , ` examples/fields/solenoid ` , and
220+ ` examples/fields/torus ` . The examples cover constant and multipole fields plus solenoid and torus
221+ ASCII field maps, each with a simple visible enclosing solid suited to its field shape.
222+ - Added the scalar display option ` show_field_lines ` , available as ` -show_field_lines=<n> ` and from
223+ YAML. Positive values emit ` /vis/scene/add/magneticField <n> ` after setting the field extent from
224+ the configured ROOT ` G4Box ` ; ` 0 ` keeps field lines disabled.
225+ - Added the scalar display option ` show_auxiliary_edges ` , available as ` -show_auxiliary_edges=<bool> `
226+ and from YAML. When enabled, startup emits ` /vis/viewer/set/auxiliaryEdge 1 ` and
227+ ` /vis/viewer/set/hiddenEdge 1 ` , preserving the same paired behavior as the GUI auxiliary-edges
228+ toggle.
0 commit comments