You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ced2go is expected to work with DST files if one specifies a -v flag to choose DSTViewer.
This modifies the default template steering file ced2go-template.xml to use DSTViewer instead of the default one.
If the user specifies the detector geometry with a flag -d, the default template steering file is changed to ced2go-template-DD4.xml, which does not work with DST files.
The ced2go-template-DD4.xml looks very different and incomplete compared to ced2go-template.xml.
It doesn't have the DSTViewer processor defined and always uses the default CEDViewer, thus also ignoring the -v flag completely.
Note that a user is required to define the detector geometry with a flag -d; otherwise, the code exits.
But it doesn't work with dd4hep geometry and requires obsolete Gear geometry files.
Additionally, a user should know where the MarlinStdRecoViewerDST.xml is located.
Using the iLCSoft environment, I managed to find it, but using key4hep, I did not.
Another workaround is to add a DSTViewer processor to the user's steering file.
How to fix
Add -v flag support to the ced2go-template-DD4.xml like in the ced2go-template.xml.
An even better option would be to use only one general template file and not have two.
They don't seem very different, so compressing them into a single steering file should be straightforward.
P.S.
Is there a viewer option for mini-DSTs?
The text was updated successfully, but these errors were encountered:
Issue
ced2go
is expected to work with DST files if one specifies a-v
flag to chooseDSTViewer
.This modifies the default template steering file
ced2go-template.xml
to useDSTViewer
instead of the default one.If the user specifies the detector geometry with a flag
-d
, the default template steering file is changed toced2go-template-DD4.xml
, which does not work withDST
files.The
ced2go-template-DD4.xml
looks very different and incomplete compared toced2go-template.xml
.It doesn't have the
DSTViewer
processor defined and always uses the defaultCEDViewer
, thus also ignoring the-v
flag completely.Note that a user is required to define the detector geometry with a flag
-d
; otherwise, the code exits.CEDViewer/ced2go/ced2go
Lines 108 to 110 in eec6d23
This means
ced2go
is completely unusable forDST
files.Workarounds
Run the
DSTViewer
steering file directly withMarlin
, e.g.:But it doesn't work with
dd4hep
geometry and requires obsoleteGear
geometry files.Additionally, a user should know where the
MarlinStdRecoViewerDST.xml
is located.Using the
iLCSoft
environment, I managed to find it, but usingkey4hep
, I did not.Another workaround is to add a
DSTViewer
processor to the user's steering file.How to fix
Add
-v
flag support to theced2go-template-DD4.xml
like in theced2go-template.xml
.An even better option would be to use only one general template file and not have two.
They don't seem very different, so compressing them into a single steering file should be straightforward.
P.S.
Is there a viewer option for mini-DSTs?
The text was updated successfully, but these errors were encountered: