GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Moving the Geometry from data file to the parameters
Re: Moving the Geometry from data file to the parameters [message #9604 is a reply to message #9443] Fri, 23 October 2009 16:21 Go to previous messageGo to previous message
Elena Litvinenko is currently offline  Elena Litvinenko
Messages: 20
Registered: March 2004
Location: JINR, Dubna
occasional visitor
From: *jinr.ru
Hello,

I performed a simulation using "cbmroot/trunk/macro/run/run_sim.C" and tried to display geometry using correspondingly updated "eventDisplay.C" macro. The result is here:

- RTDB container factory FairBaseContFact 
- RTDB container factory CbmFieldContFact 
- RTDB container factory CbmPassiveContFact 
- RTDB container factory CbmMvdContFact 
- RTDB container factory CbmStsContFact 
- RTDB container factory CbmRichContFact 
- RTDB container factory CbmTofContFact 
- RTDB container factory CbmEcalContFact 
-I- FairRunAna: Opening Input file: data/test.mc.root
Warning in <TClass::TClass>: no dictionary for class CbmTrd is available

-I- FairRunAna::Init : 
data/test.mc.root  is connected with:

-I-  Geometry was not found in the input file we will look in the friends if any!
create CbmFieldPar container CbmFieldPar

*************************************************************
     initialisation for run id 1501042957
*************************************************************
Error in <TBufferFile::ReadObject>: trying to read an emulated class (CbmTrd) to store in a compiled pointer (TObject)
Info in <TGeoManager::TGeoManager>: Geometry Geometry, default geometry created
Warning in <TGeoManager::Init>: Deleting previous geometry: Geometry/default geometry
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CloseGeometry>: 827935 nodes/ 235 volume UID's in FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Container FairBaseParSet initialized from ROOT file.
Container CbmFieldPar initialized from ROOT file.
New field at 0x2e6bdb0, type 3
-I- CbmFieldMap: Reading field map from ROOT file /u/litvinen/cbm/trunk/input/FieldMuonMagnet.root
======================================================
----   : FieldMuonMagnet
----
----  Field type     : Map sym3
----
----  Field map grid : 
----  x = 0.000 to 300.0 cm, 151 grid points, dx = 2.000 cm
----  y = 0.000 to 300.0 cm, 151 grid points, dy = 2.000 cm
----  z = 0.000 to 448.0 cm, 225 grid points, dz = 2.000 cm

----  Field centre position: (  0.000,  0.000,  50.00) cm
----  Field scaling factor: 1.000
----
----  Field at origin is (  0.000, -7.275, -2.727e-09) kG
======================================================
-E- FairRootManager Branch: GeoTracks not found in Tree
-E- FairRootManager Branch: GeoTracks not found in Tree
FairMCPointDraw::Init()  branch Monte-Carlo Tracks Not found! Task will be deactivated 
Info in <TGeoManager::SetVisLevel>: Automatic visible depth disabled
Warning in <TGLScene::RenderElements>: Timeout reached, not all elements rendered.
root [1] Warning in <TGLScene::RenderElements>: Timeout reached, not all elements rendered.



In other tests I also can not find the geometry information. Which class is now responsible for the real writing this information to the parameter file? My "cbmroot/trunk" revision number is 6780


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Control of Cuts for Geant4 in CBMRoot
Next Topic: CBMROOT release DEC09
Goto Forum:
  


Current Time: Wed Apr 24 08:40:42 CEST 2024

Total time taken to generate the page: 0.00940 seconds