Skip to content

No Constant Properties exported for Optical surfaces #19592

@KoljaFrahm

Description

@KoljaFrahm

Check duplicate issues.

  • Checked for duplicates

Description

If I look at TGDMLWrite.cxx, in XMLNodePointer_t TGDMLWrite::CreateOpticalSurfaceN(TGeoOpticalSurface *geoSurf), there is no geoSurf->GetConstProperties() part which means no Constant properties are written to the gdml.
(An equivalent with GetConstProperties() exists in XMLNodePointer_t TGDMLWrite::CreateMaterialN(TGeoMaterial *material, TString mname))
Is this a bug or am I missing something?

Reproducer

Export an Optical Surface with constant properties

ROOT version

master

Installation method

all

Operating system

all

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions