Sector-to-Sector Alignment Check

Both global and local figures are listed. Name with "L" suffix is for local and "G" is for global.  Figures named with “TPS” are results after Thin Plate Spline correction.

Pixel Geometry table applied :
Full Survey tables
HalfOnPxl / SectorOnHalf alignment tables (Alex) 

Global rest misalignments seen after Thin Plate Spline correction :

                alpha(mrad)     beta(mrad)     gamma(mrad)    dX(micron)    dY(micron)   dZ(micron)

Sector 1 :   0.03                  -0.08                0.02                2.79             -1.54           10.02 
Sector 2 :   0.23                  -0.14                0.57               -8.35            -3.49            6.53
Sector 3 :    NA                     NA                   NA                   NA                  NA               NA
Sector 4 :   -0.06                -0.08                0.27               -5.08            -19.9            10.82
Sector 5 :   -0.03                -0.11               -0.55              -4.14              3.14             9.33
Sector 6 :   -0.01                 0.00                 0.48               -1.45              1.5              9.24
Sector 7 :   -0.17                 0.08                -0.67              -17.7            -11.14          15.01
Sector 8 :    NA                     NA                   NA                   NA                  NA               NA
Sector 9 :   0.19                   0.04                0.33                 1.40               3.67            8.94
Sector 10 : 0.06                   0.12                0.61                -2.83              2.56            5.05

One finding : There seems to be an overall shift about 10 microns in global Z (beam direction). Should be corrected in HalfOnPxl or PxlOnPst table?

SectorOnHalf table updated :

TDataSet *CreateTable() {
if (!gROOT->GetClass("St_Survey")) return 0;
Survey_st row[10] = {

{1,0.999998, -0.00209943, -0.000706531, 0.00209832, 0.999998, -0.00152955, 0.000709729, 0.00152806, 0.999999, 0.0113868, 0.00231929, -0.00812481}, 
{2, 0.999983, -0.00556186, 0.000971365, 0.00556174, 0.999985, 1.46349e-05, -0.000971438, -9.23084e-06, 1, 0.0407499, 0.0560453 ,-0.00352996 },
{3,1, 0.000135467 ,0.00100506, -0.000136512, 1, 0.00129063, -0.0010049 ,-0.00129076, 0.999999 ,0.00482683, 0.030171, -0.00824332 },
{4, 0.999992, 0.00355191, 0.000344151, -0.00355169, 0.999993, -0.000631458, -0.000346399, 0.000630233, 1, 0.00130955, -0.0545459, 0.00760984 },
{5, 0.999999, -0.000518529, -0.00152052, 0.000518674, 1, 0.000147078, 0.00152043, -0.000147868, 0.999999, -0.0534934, -0.0335076, 0.00404168 },
{6, 0.999998, 0.000123666, 0.00210061, -0.000134722, 0.999986, 0.00529284, -0.00209992, -0.00529311, 0.999984, 0.0415069, 0.096264, 0.00330037 },
{7, 0.999997, -0.00356163, -0.000449373, 0.00356344, 0.999992, 0.002415, 0.00044078, -0.00241659, 0.999996, -0.0219511, 0.022537, 0.0019251 },
{8, 0.999998, -0.00232604, -0.00223499, 0.00232485, 1, -0.000681433, 0.0022366, 0.000676261, 0.999997, -0.0382632, -0.0152386, -0.00859115 },
{9, 0.999998, -0.00150393, -0.000861152, 0.00150201, 0.999994, -0.00312591, 0.000865861, 0.00312464, 0.999994, 0.000979758, -0.0607843, 0.000140982 },
{10, 1, 0.00182227, 0.00143854, -0.00181625, 0.99999 ,-0.00446668, -0.00144666, 0.00446406, 0.999988, 0.0152495, -0.0593561 ,0.00177613},
};
 Int_t n = 10;
 St_Survey *tableSet = new St_Survey("PxlSectorsOnHalfs",n);
 for (Int_t i = 0; i < n; i++) {
         tableSet->AddAt(&row[i].Id, i);
 }
 return (TDataSet *)tableSet;
}