GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » Definiton of Glad center of Glad magnetic field map center (two questions on the Glad geometry definition and field map definition)
Definiton of Glad center of Glad magnetic field map center [message #19495] Wed, 31 August 2016 17:46 Go to next message
sunny is currently offline  sunny
Messages: 1
Registered: July 2016
occasional visitor
From: *extra.cea.fr
Hello,

I have two questions on the Glad geometry definition and field map definition:

1)
From the create_glad_geo.C,
>>>Double_t DistanceToTarget = 350.0; //cm
>>>Double_t Correction = -119.94; //cm
>>>...
>>>t0->RotateY(+7.3);

Therefore, I think the distance of glad to the target-center will be 350-119.94 = 230.06cm, with an angle of 7.3deg.
But I'm not sure this distance is relative to which point of Glad. To be specific, what is the coordinate definition in the create_glad_geo.C macro ?

2) There is one magnetic field map under R3BROOT/field/magField/R3B/R3BGladMap.dat, the format is x/y/z/Bx/By/Bz. The x/y/z definition is relative to which frame ? Is it the same as the geometry definition in question 1 ?
In the R3BGladFieldMap.cxx, the translation from lab to local frame of the magnet is done using 14*deg rotation and the transporation gTrans is (0,0,-113.4), which seems not consistent with the values in the geometry defition. I'm confused. Smile

Best regards,
Yelei

Re: Definiton of Glad center of Glad magnetic field map center [message #19548 is a reply to message #19495] Wed, 14 September 2016 14:53 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
Hello Yelei,

1) These coordinates are global with respect to the target. It is the center of keeping volume for GLAD, which actually defines the rotation point. The coordinates of daughter volumes are then defined relative to the keeping box.

2) Part of this question is answered here

Concerning the rotation angle, the mismatch has been fixed, now it is 14 deg in both cases. Consult https://www.r3broot.gsi.de/r3broot-update on how to obtain the changes.

Best regards,
Dima
Previous Topic: Geant3 crash on ions
Next Topic: Geant4 seeds in R3BRoot
Goto Forum:
  


Current Time: Mon Jan 30 23:18:29 CET 2023

Total time taken to generate the page: 0.00794 seconds