Environment: (where does this bug occur, have you tried other environments)
Which branch (often main for latest released):
Which version (or HEAD for the most recent on git):
Any specific OS or system where the issue occurs? eic-shell
Any special versions of ROOT or Geant4?
Steps to reproduce: (give a step by step account of how to trigger the bug)
In eic-shell, with /opt/detector/setup.sh
npdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xml
Expected Result: (what do you expect when you execute the steps above)
Should export STEP file.
Actual Result: (what do you get when you execute the steps above)
nightly> wdconinc@menelaos:~/git/npsim$ npdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xml
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Missing FileEntry for include/TGeoToStep.h
requested to autoload type TGeoToStep
terminate called after throwing an instance of 'std::domain_error'
what(): Unknown Shape
Aborted (core dumped)
Environment: (where does this bug occur, have you tried other environments)
main
for latest released):HEAD
for the most recent on git):Steps to reproduce: (give a step by step account of how to trigger the bug)
/opt/detector/setup.sh
npdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xml
Expected Result: (what do you expect when you execute the steps above)
Should export STEP file.
Actual Result: (what do you get when you execute the steps above)
Due to https://github.com/eic/npsim/blob/c3bde047048b2d62e00844daafeda10bb020fa3e/src/geocad/src/TGeoToOCC.cxx#L223.
Two step resolution: