GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Problem with including targets in simulation
items: Re: Problem with including targets in simulation

Problem with including targets in simulation
type: item
description: Hi, I try to run a very simple simulation with R3BRoot. For this I downloaded and installed the newest R3BRoot version and used the macro r3bsim.C as described on the webpage. Furthermore, I tried to create my own target with the provided script create_target_geo.C and it seemed to work (= produced a root-file in R3BRoot/geometry). When I run the simulation with target4 (default value), it works. But if I try to change the target either to target1 (predefined lead target) or to target5 (CH2target, created as described above), the script stops with a segmentation violation and the error message below occurs. Now my question is: What am I doing wrong? Is there a better way to create new targets? And why is the predefined target1 not working, too? Cheers, Ina Processing r3bsim.C... [INFO ] FairRootManager::OpenOutFile("r3bsim_test.root") [INFO ] Media file used : /u/syndikus/R3BRoot/geometry/media_r3b.geo [INFO ] ============== FairRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created [INFO ] FairGeoMedia: Read media ************************************************************* initialisation for run id 1445346130 ************************************************************* [INFO ] Create visualisation manager [INFO ] R3BAladinFieldMap ---> 0: cos 0.9993 sin 0.0385 [INFO ] R3BAladinFieldMap ---> 1: cos 0.9991 sin -0.0419 [INFO ] R3BAladinFieldMap opening Field Map file : /u/syndikus/R3BRoot/field/magField/Aladin/newmap/ala_0500.dat [INFO ] R3BAladinFieldMap: Reading field map: ala_0500.dat [INFO ] R3BAladinFieldMap opening Field Map file : /u/syndikus/R3BRoot/field/magField/Aladin/newmap/ala_1100.dat [INFO ] R3BAladinFieldMap: Reading field map: ala_1100.dat [INFO ] R3BAladinFieldMap opening Field Map file : /u/syndikus/R3BRoot/field/magField/Aladin/newmap/ala_1300.dat [INFO ] R3BAladinFieldMap: Reading field map: ala_1300.dat [INFO ] R3BAladinFieldMap opening Field Map file : /u/syndikus/R3BRoo…
creator: Ina Syndikus
date: 2015-10-20T13:27:04-00:00

Re: Problem with including targets in simulation
type: item
description: Hi Ina, geometry files and macros for target need to be updated. The problem that the logical volume can not be placed directly into the TOP volume. All nodes of a detector have to go to the keeping volume. The fix in the file create_target_geo.C (lines 194 - 195) Previously: TGeoCombiTrans* pGlobal = GetGlobalPosition(pMatrix); gTop->AddNode(pleadTarget_log, 0, pGlobal); Fixed: TGeoVolumeAssembly *target_top = new TGeoVolumeAssembly("LeadTarget"); target_top->AddNode(pleadTarget_log, 0, pMatrix); TGeoCombiTrans* pGlobal = GetGlobalPosition(pMatrix); gTop->AddNode(target_top, 0, pGlobal); We will also put the changes to the repository, including modifications for ROOT 6 support. Best regards, Dima
creator: Dmytro Kresan
date: 2015-10-21T08:19:15-00:00

Re: Problem with including targets in simulation
type: item
description: Hi, fixes to geometry macros for target are now in dev branch of main R3BRoot repository. The *.geo.root files have been also updated. Please test it and write back in case the crash still happens. Best regards, Dima
creator: Dmytro Kresan
date: 2015-11-18T13:35:13-00:00