GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » Problem with including targets in simulation
Re: Problem with including targets in simulation [message #18576 is a reply to message #18573] Wed, 21 October 2015 10:19 Go to previous messageGo to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
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
 
Read Message
Read Message
Read Message
Previous Topic: Info about NeuLAND simulations
Next Topic: More track information
Goto Forum:
  


Current Time: Mon May 23 23:00:55 CEST 2022

Total time taken to generate the page: 0.01142 seconds