GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » MVD not visible
MVD not visible [message #10109] Fri, 05 February 2010 11:28 Go to next message
Lars Schmitt is currently offline  Lars Schmitt
Messages: 47
Registered: April 2004
Location: GSI
continuous participant
From: *gsi.de
Hi everyone,

I hope that's not a stupid beginner's question:
I created a geometry based on the macro sim_complete_stt.C
and try to visualize with the drawGeo.C macro.

It looks nice (apart from some details I don't want to
discuss now) but the MVD is completely absent although
it is apparently loaded: At the initialisation stage
"RTDB container factory PndMvdContFact" is printed.

Also in sim_complete_stt.C the MVD is clearly present,
where it is initialized via:

Mvd->SetGeometryFileName("MVD_v1.0_woPassiveTraps.root");

Any clues what's going wrong?

Thanks for the help.

Cheers,

Lars
Re: MVD not visible [message #10110 is a reply to message #10109] Fri, 05 February 2010 11:31 Go to previous messageGo to next message
Lars Schmitt is currently offline  Lars Schmitt
Messages: 47
Registered: April 2004
Location: GSI
continuous participant
From: *gsi.de
Just for completeness here a picture.

Lars
index.php?t=getfile&id=5823&private=0
  • Attachment: viewer.png
    (Size: 87.82KB, Downloaded 379 times)
Re: MVD not visible [message #10111 is a reply to message #10109] Fri, 05 February 2010 11:34 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ep1.ruhr-uni-bochum.de
Dear Lars,

the problem ist the VisLevel(3) setting in the macro. The vis level tells you down to which hierarchy level a geometry is drawn.
Change it to 10 and it should work:

gGeoManager->SetVisLevel(10);

Cheers,

Tobias
Re: MVD not visible [message #10112 is a reply to message #10111] Fri, 05 February 2010 11:37 Go to previous messageGo to next message
Lars Schmitt is currently offline  Lars Schmitt
Messages: 47
Registered: April 2004
Location: GSI
continuous participant
From: *gsi.de
Dear Tobias,

Thanks for the fast help. I had tried level 4, but that did
not change it.

So I was right: It was a beginner's question Laughing

Many thanks again.

Cheers,

Lars
Re: MVD not visible [message #10128 is a reply to message #10112] Mon, 08 February 2010 14:58 Go to previous messageGo to next message
Lars Schmitt is currently offline  Lars Schmitt
Messages: 47
Registered: April 2004
Location: GSI
continuous participant
From: *gsi.de
Hi Tobias,

One more follow-up: I would like to visualize events in the MVD
using Eve. I started with the eventDisplay.C macro but again
cannot see the MVD. I can see hits of previously simulated events,
even for the MVD, but not the detector itself.

Trying to do gGeoManager->SetVisLevel(10) does not work, since at
each update it is reset somewhere.

I was trying your DisplayGeometry.C but there the event part
is missing. There is no FairEventManager.

Any hints would be helful. Thanks a lot in advance.

Cheers,

Lars
Re: MVD not visible [message #10134 is a reply to message #10128] Mon, 08 February 2010 15:55 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear Lars,

the problem is the same but the cure is different. You have to set the vis level for Eve and not for the GeoManager.

This can be done in the Eve Main Window. Open Scenes/Geometry scene/cave_1. Here you have the settings for VisLevel. Change it to 10 and it should work.

Cheers,

Tobias
Re: MVD not visible [message #10139 is a reply to message #10109] Mon, 08 February 2010 17:42 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *hiskp.uni-bonn.de
Hello,



There is the possibility to set the VisLevel to 10 by default:
In FairEventManager.cxx:54 the constructor TEveGeoTopNode(TGeoManager* manager, TGeoNode* node, Int_t visopt=1, Int_t vislvl=3, Int_t maxvisnds=10000); is called without providing a value for vislvl.
Changing this will influencd CBM. Is a higher VisLevel a problem there, Mohammad?
Just give me green light and I commit it.

Regards, Ralf.
Re: MVD not visible [message #10140 is a reply to message #10139] Mon, 08 February 2010 17:47 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
With a high visualization level, drawing the geometry starts to become slow for some machines. I don't know if it is good to have a higher vis level by default, maybe only the user who wants to see particular details should set this flag by hands.

Just my opinion.
Re: MVD not visible [message #10143 is a reply to message #10109] Mon, 08 February 2010 18:46 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hi,

I would agree with Stefano, few months ago we had a default value 10 for the Vislevel, and with this some people had problems that some detectors in both PANDA and CBM need long time to display. So we have to find a convenient way to make it easier to change the vis level!


regards

Mohammad


Re: MVD not visible [message #10145 is a reply to message #10109] Tue, 09 February 2010 08:30 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *hiskp.uni-bonn.de
Well. Then I suggest to add a SetVisLevel() function to FairEventManager which has to be called before the FairEventManager::Init().

Ralf.
Previous Topic: PndMvdStripClusterTask constructor problem
Next Topic: to use the real STT Pattern Recognition
Goto Forum:
  


Current Time: Thu Dec 12 17:23:48 CET 2024

Total time taken to generate the page: 0.00861 seconds