GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: FairRunAna::SetGeomFile seems not to work
items: Re: FairRunAna::SetGeomFile seems not to work
items: Still some problems
items: Re: Still some problems

FairRunAna::SetGeomFile seems not to work
type: item
description: The method SetGeomFile of FairRunAna should enable to use a different geometry in the analysis run than was used in the simulation and stored in the parameter database, a feature which is needed e.g. for studying the effects of mis-alignment. Unfortunately, the implementation seems not to be correct. Whatever geometry file is set in this method, what you get in the end is the geometry from the parameters. This can be seen from the screen output: Quote: [INFO ] Opening Geometry input file: data/000.geofile.root Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100 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 <TGeoManager::CloseGeometry>: 2640 nodes/ 63 volume UID's in FAIR geometry Info in <TGeoManager::CloseGeometry>: ----------------modeler ready---------------- [INFO ] The input consists out of the following trees and files: [INFO ] - cbmsim [INFO ] - data/x200.mc.root [INFO ] - FriendTree_1 [INFO ] - data/x200.raw.root [INFO ] Parameter and input file are available, Assure that basic info is there for the run! [INFO ] The number of entries in chain is 100 ************************************************************* initialisation for run id 1370261320 ************************************************************* -I- FairRunTimeDB::InitContainer() FairBaseParSet Warning in <TGeoManager::Init>: Deleting previous geometry: FAIRGeom/FAIR 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 <TGeoManager::CloseGeometry>: 2640 nodes/ 63 volume UID's in FAIR geometry Info in <TGeoManager::CloseGeometry>: ----------------modeler ready---------------- Container FairBaseParSet initialized from ROOT file. Evidently, the geometry is first read fro…
creator: Volker Friese
date: 2013-06-05T20:08:15-00:00

Re: FairRunAna::SetGeomFile seems not to work
type: item
description: Hallo Volker, Yes, this is true! This method was implemented at the time where the the geometry was saved in the data file, and as we move the geometry to the parameters we did not think about it (Sorry!!). Anyway, I created a new Parameter container for the the geometry now and this will be filled by the simulation and case you do not set your geometry manually it will be initialized. So nothing should changed for you except that it should work now! (Fairbase Trunk 20129) I test it with our tutorials: runing run_digi macro in example/Tutorial3 Quote: root run_digi.C -l root [0] Processing run_digi.C... FairRootManager::OpenOutFile("data/testdigi.root") [INFO ] The input consists out of the following trees and files: [INFO ] - cbmsim [INFO ] - data/testrun.root [INFO ] Parameter and input file are available, Assure that basic info is there for the run! [INFO ] The number of entries in chain is 10 [INFO ] Branch: EventHeader. not found in Tree [INFO ] Branch: EventHeader. not found in Tree [INFO ] No event Header was found!!! [INFO ] Branch: EventHeader. not found in Tree [INFO ] Branch: EventHeader. not found in Tree ************************************************************* initialisation for run id 1370503422 ************************************************************* -I- FairRunTimeDB::InitContainer() FairGeoParSet Info in <TGeoManager::CloseGeometry>: Geometry loaded from file... Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100 Info in <TGeoManager::Voxelize>: Voxelizing... Info in <TGeoManager::CountLevels>: max level = 1, max placements = 8 Info in <TGeoManager::CloseGeometry>: 9 nodes/ 5 volume UID's in FAIR geometry Info in <TGeoManager::CloseGeometry>: ----------------modeler ready---------------- Container FairGeoParSet initialized from ROOT file. -I- FairRunTimeDB::InitContainer() FairBaseParSet Container FairBaseParSet initialized from ROOT file.…
creator: Mohammad Al-Turany
date: 2013-06-06T07:43:38-00:00

Still some problems
type: item
description: Hi Mohammad, thanks for the quick help! I tried with the fairbase trunk, but still have some problems. When I now set a geometry file to run_ana, it seems to work (see log_with_geofile), although there is a strange error message in the initialisation of FairBaseParSet: Quote: ************************************************************* initialisation for run id 1370260005 ************************************************************* -I- FairRunTimeDB::InitContainer() FairBaseParSet Error in <TBufferFile::ReadClass>: got wrong class: TGeoManager Error in <TBufferFile::ReadObject>: got object of wrong class! requested TObjArray but got TGeoManager Error in <TBufferFile::CheckByteCount>: object of class FairBaseParSet read too few bytes: 69750 instead of 69833 Container FairBaseParSet initialized from ROOT file. When, however, I try to run without explicitely specifying a geometry file, the program crashes (see log_without_geofile.txt).
creator: Volker Friese
date: 2013-06-10T17:06:12-00:00

Re: Still some problems
type: item
description: Hallo Volker, I just try it with the standard macros in cbmroot/macro/run and the trunk of today, it works fine for me. Could it be that something went wrong with switching cbmroot to use the trunk of FairRoot in your local repository! cheers, Mohammad Quote: run_reco.C... [INFO ] Opening Geometry input file: geo.root FairRootManager::OpenOutFile("data/test.eds.root") Starting CbmMvdDigitizeL::CbmMvdDigitizeL() CbmTofHitProducerNew instantiated with verbose = 1 Info in <TGeoManager::CloseGeometry>: Geometry loaded from file... Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100 Info in <TGeoManager::Voxelize>: Voxelizing... Error in <TGeoVoxelFinder::SortAll>: Cannot voxelize pole_alu :less than 2 boundaries on Z Info in <TGeoManager::CountLevels>: max level = 6, max placements = 286 Info in <TGeoManager::CloseGeometry>: 419024 nodes/ 184 volume UID's in FAIR geometry Info in <TGeoManager::CloseGeometry>: ----------------modeler ready---------------- [INFO ] The input consists out of the following trees and files: [INFO ] - cbmsim [INFO ] - data/test.mc.root [INFO ] Parameter and input file are available, Assure that basic info is there for the run! [INFO ] The number of entries in chain is 2 [INFO ] Branch: EventHeader. not found in Tree [INFO ] Branch: EventHeader. not found in Tree [INFO ] No event Header was found!!! [INFO ] Branch: EventHeader. not found in Tree [INFO ] Branch: EventHeader. not found in Tree ************************************************************* initialisation for run id 1370892023 ************************************************************* -I- FairRunTimeDB::InitContainer() FairBaseParSet Container FairBaseParSet initialized from ROOT file. -I container name CbmMvdGeoPar -I container name CbmGeoStsPar -I container name CbmStsDigiPar -I container name CbmGeoMuchPar -I container name CbmGeoTofPar Error in <FairRuntimeDb::getContainer(Te…
creator: Mohammad Al-Turany
date: 2013-06-10T19:53:41-00:00