8 const Int_t mNTrays = 120;
11 double x0[mNTrays], phi0[mNTrays], z0[mNTrays];
12 double x1[mNTrays], phi1[mNTrays], z1[mNTrays];
14 inData.open(
"/star/u/dongx/lbl/tof/Run10/GeomAlign/dat/yOffset.dat");
15 for(
int i=0;i<mNTrays;i++) {
16 inData >> phi0[i] >> tmp;
19 inData.open(
"/star/u/dongx/lbl/tof/Run10/GeomAlign/dat/yOffset1.dat");
20 for(
int i=0;i<mNTrays;i++) {
21 inData >> phi1[i] >> tmp;
25 inData.open(
"/star/u/dongx/lbl/tof/Run10/GeomAlign/dat/xOffset.dat");
26 for(
int i=0;i<mNTrays;i++) {
27 inData >> z0[i] >> tmp >> x0[i] >> tmp;
30 inData.open(
"/star/u/dongx/lbl/tof/Run10/GeomAlign/dat/xOffset1.dat");
31 for(
int i=0;i<mNTrays;i++) {
32 inData >> z1[i] >> tmp >> x1[i] >> tmp;
39 outData.open(
"geomAlign.txt");
40 for(
int i=0;i<mNTrays;i++) {
41 outData << setw(15) << phi0[i] << setw(15) << -z0[i] << setw(15) << x0[i] << endl;