GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » GLAD positioning (Having issues with the GLAD positioning inside the simulator)
Re: GLAD positioning [message #21263 is a reply to message #21219] Thu, 22 June 2017 07:26 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
Quote:
As a side question: where I can find this kind of information? (except bothering you here...)


This information was sent to the mailing list of the Simulation and Analysis Working Group. If you want to be added - send a request to Hector Alvarez Pol (group leader).

If you do not pass position and angle arguments to the constructor - the values from the geometry file are taken (exception for glad - the values are hard-coded in the call to ctor of the base class).

I recommend usage of "glad_v17_flange.geo.root" geometry file - the closest to real geometry we have in the cave.

Here is how the constructor is called in run_sim.C (new simulation macro, was also announced through the mailing list):

new R3BGladMagnet("GladMagnet", "glad_v17_flange.geo.root", "R3BGlad Magnet")


and here is the part of its implementation with the default position and angle parameters:

R3BGladMagnet::R3BGladMagnet(const char* name, TString geoFile, const char* Title)
    : R3BModule(name, Title, geoFile, -42., 0., 308.8)
    , fGladAngle(14.)
{
}


And all this works properly in the central dev branch.

Best regards,
Dima
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Detector ID
Next Topic: Dynamic cast fails.
Goto Forum:
  


Current Time: Fri Apr 19 14:09:59 CEST 2024

Total time taken to generate the page: 0.01181 seconds