GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » NUSTAR » NUSTAR PRESPEC » AGATA Crystal positions (Look-Up Table)
Re: AGATA Crystal positions (Look-Up Table) [message #18020 is a reply to message #18019] Thu, 19 March 2015 15:05 Go to previous messageGo to previous message
miree is currently offline  miree
Messages: 71
Registered: June 2014
continuous participant
From: *ikp.physik.tu-darmstadt.de
In the prespec package, the transformation looks like this (prespec/plugins/AGATA/process/AgataAdapter.cpp)
void AgataAdapter::Orientation::transform(int crystal_id, double x, double y, double z, double &x_lab, double &y_lab, double &z_lab)
{
  // perform the full transformation: 
  // crystal coordinate sytem -> agata array coordinate system -> frs cooridinate system
  y_lab = -(crystal_ori[crystal_id][0][0] * x  + crystal_ori[crystal_id][1][0] * y + crystal_ori[crystal_id][2][0] * z + crystal_pos[crystal_id][0]);
  x_lab = -(crystal_ori[crystal_id][0][1] * x  + crystal_ori[crystal_id][1][1] * y + crystal_ori[crystal_id][2][1] * z + crystal_pos[crystal_id][1]);
  z_lab =   crystal_ori[crystal_id][0][2] * x  + crystal_ori[crystal_id][1][2] * y + crystal_ori[crystal_id][2][2] * z + crystal_pos[crystal_id][2] ;
}

You can see that swapping and minus signs are explicitly put here and are not part of the transformation matrices in CrystalPositionLookupTable.

As far as I know, the CrystalPositionLookupTable did change from Legnaro to GSI.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scattering Angle Cut
Next Topic: Multihit TDCs in the PreSPEC setup (CAENv1290)
Goto Forum:
  


Current Time: Sun Dec 05 00:36:09 CET 2021

Total time taken to generate the page: 0.02397 seconds