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 #9612 is a reply to message #9443] Mon, 26 October 2009 11:30 Go to previous messageGo to previous message
Arun Prakash is currently offline  Arun Prakash
Messages: 11
Registered: March 2008
Location: Department of Physics,BHU...
occasional visitor
From: *gsi.de
I am performing the simulations for MuCh. I could successfully perform the transport and segmnetation. Now when I am running the much_hits_gem.C (with simple gem) I am getting the following error .

Processing much_hits_gem.C...

PSaid instance created... access via gSaid->f()

- RTDB container factory FairBaseContFact
- RTDB container factory CbmFieldContFact
- RTDB container factory CbmPassiveContFact
- RTDB container factory CbmStsContFact
- RTDB container factory CbmRichContFact
- RTDB container factory CbmTrdContFact
- RTDB container factory CbmTofContFact
- RTDB container factory CbmEcalContFact
- RTDB container factory CbmMuchContFact
-I- FairRunAna: Opening Input file: /u/cbmgast5/arun/cbmroot/macro/much/data/mc.box.0009.root
Info in <CbmMuchGeoScheme::CbmMuchGeoScheme>: CbmMuchGeoScheme created

-I- FairRunAna::Init :
/u/cbmgast5/arun/cbmroot/macro/much/data/mc.box.0009.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 1456339567
*************************************************************
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>: 5512 nodes/ 4513 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 0xad00308, type 3
-I- CbmFieldMap: Reading field map from ROOT file /u/cbmgast5/arun/cbmroot/input/FieldMuonMagnet.root
======================================================
---- : FieldMuonMagnet
----
---- Field type : Map sym3
----
---- Field map grid :
---- x = 0.000 to 150.0 cm, 151 grid points, dx = 1.000 cm
---- y = 0.000 to 150.0 cm, 151 grid points, dy = 1.000 cm
---- z = 0.000 to 250.0 cm, 251 grid points, dz = 1.000 cm

---- Field centre position: ( 0.000, 0.000, 50.00) cm
---- Field scaling factor: 1.000
----
---- Field at origin is ( 0.000, -7.272, -2.724e-09) kG
======================================================

*** Break *** segmentation violation
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc

Kindly advise me as how to rectify this error
 
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: Fri Dec 03 02:09:15 CET 2021

Total time taken to generate the page: 0.02340 seconds