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

problems with geoDisplay #477

Closed
petricm opened this issue Jan 15, 2019 · 8 comments
Closed

problems with geoDisplay #477

petricm opened this issue Jan 15, 2019 · 8 comments

Comments

@petricm
Copy link

petricm commented Jan 15, 2019

From @jhrdinka

I was not using geoDisplay for a long time, since there was some problem with the last lcg-setup. Now that it is working again, I was trying to display an old geometry example of mine.
This tracking geometry consists of volumes containing layers, which contain modules and the modules are made of components. For some reason I can display the modules, but the components can not be displayed. I checked a few times and I can not find the problem. I also uncommented all layers but one and just tried to display the components of one module, in case the problem are too many components, but it is still not working again. Do you know what could be wrong?

@petricm
Copy link
Author

petricm commented Jan 15, 2019

Are you sure that in your constructor code components get assigned the correct visualization attributes, and that you set in your XML showDaughters="true" visible="true"

@jhrdinka
Copy link

Yes I checked. If that is ok, I will try to give you a minimal working example tomorrow.

@MarkusFrankATcernch
Copy link
Contributor

MarkusFrankATcernch commented Jan 15, 2019

Hi Julia,

  1. the ROOT display stops (by default) displaying after 4 levels of the geometry hierarchy.
    Probably the items you do not see are further down the hierarchy.
  2. When trying out I noticed that geoDisplay has a bug :-((( ; the default works, but overriding the default level fails. I will fix this asap.
  3. as an intermediate measure you can run e.g.:
    geoPluginRun -input checkout/examples/CLICSiD/compact/compact.xml -interactive -plugin DD4hep_GeometryDisplay -level 8

further optional arguments are: -visopt ogl -detector SiTrackerBarrel

  • -visopt ogl is default
  • -detector <det-name> allows you to display selectively only one subdetector as they are declared in the constructors default is everything.

@jhrdinka
Copy link

Hi Markus,

thanks a lot for your answer. Using geoPluginRun works now perfectly fine and displays all components. It was the geometry depth. Since I also had some problems with correctly displaying even simpler geometries with geoDisplay I am happy to use this :)

Cheers,
Julia

@petricm petricm closed this as completed Jan 16, 2019
@jhrdinka
Copy link

Hello,

I have another question:

with geoDisplay it was possible to have more than one input file. Is this also possible for the geoPluginRun and if yes, how?

Cheers,
Julia

@MarkusFrankATcernch
Copy link
Contributor

Just as a reminder: if you use the head, you can also specify the -level argument to geoDisplay.
It is a bit more 'handy'.

@MarkusFrankATcernch
Copy link
Contributor

MarkusFrankATcernch commented Jan 16, 2019

Calling:
geoPluginRun -input file-name -input file-name -input file-name ....
should work the same way as with geoDisplay.

At the end of the day geoDisplay calls geoPluginRun....

@jhrdinka
Copy link

Thanks, that works. It was not clear to me that I need to add a second -input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants