Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while executing plugin DD4hep_DetectorVolumeDump #1224

Closed
atolosadelgado opened this issue Feb 8, 2024 · 3 comments
Closed

Exception while executing plugin DD4hep_DetectorVolumeDump #1224

atolosadelgado opened this issue Feb 8, 2024 · 3 comments
Labels
bug Fixed Problem is solved Testing

Comments

@atolosadelgado
Copy link
Contributor

Hi,

I was using the plugin DD4hep_DetectorVolumeDump to inspect a subdetector, but it throws the following error message if the option for printing volume ID is used

geoPluginRun -input $K4GEO/FCCee/CLD/compact/CLD_o2_v05/CLD_o2_v05.xml -plugin DD4hep_DetectorVolumeDump  --volids
...
RunPlugin        ERROR ++ Exception while executing plugin DD4hep_DetectorVolumeDump:
		dd4hep: Attempt to access invalid handle of type: PlacedVolume
dd4hep: with plugin:DD4hep_DetectorVolumeDump
geoPluginRun: Got uncaught exception: RunPlugin: ++ Exception while executing plugin DD4hep_DetectorVolumeDump:
		dd4hep: Attempt to access invalid handle of type: PlacedVolume
dd4hep: with plugin:DD4hep_DetectorVolumeDump
  • OS version: alma9
  • Compiler version: gcc 11.4
  • Reproduced by: I tried with several subdetectors and it fails in the same way in all cases
source /cvmfs/sw.hsf.org/key4hep/setup.sh
geoPluginRun -input $K4GEO/FCCee/CLD/compact/CLD_o2_v05/CLD_o2_v05.xml -plugin DD4hep_DetectorVolumeDump  --volids
  • Goal: Print volume identifiers of placements using this plugin
@MarkusFrankATcernch
Copy link
Contributor

MarkusFrankATcernch commented Feb 8, 2024

You must have a DetElement, which has no placement.
--> NO bug. Desired.

@MarkusFrankATcernch
Copy link
Contributor

Fix is included in PR #1226
commit: e8cba55

@MarkusFrankATcernch MarkusFrankATcernch added Testing Fixed Problem is solved labels Feb 13, 2024
@MarkusFrankATcernch
Copy link
Contributor

Implemented in release tag v01-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixed Problem is solved Testing
Projects
None yet
Development

No branches or pull requests

2 participants