GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » shape of a volume
Re: shape of a volume - always TGeoBBox ? [message #11309 is a reply to message #11308] Mon, 13 December 2010 16:53 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi Olaf,
in stt/PndSttMapCreator.cxx I retrieve the geometry of the TGeoTube, but the very starting point is the list of FairGeoNodes from the PndGeoSttPar...
The code does:
FairGeoNode *pnode = (FairGeoNode*) geoPassNodes->FindObject(tubename);
...
TGeoVolume* rootvol = pnode->getRootVolume();
TGeoTube *tube = (TGeoTube*) rootvol->GetShape();

...I don' t know if this may be helpful...
Lia.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Implementation of PndGemMCPoint::SetSensorId(int) is missing
Next Topic: macro/param/*.root for Fwd EMC
Goto Forum:
  


Current Time: Fri Apr 19 08:17:35 CEST 2024

Total time taken to generate the page: 0.01024 seconds