6 if ( gClassTable->GetID(
"StTpcCoordinateTransform") < 0) {
7 gROOT->LoadMacro(
"bfc.C");
8 bfc(-1,
"tpcDb,sdt20140201,nodefault");
21 const Double_t zGG = 208.707;
22 const Double_t zI = zGG + 1.0;
23 const Double_t zO = zGG + 1.4;
32 for (Int_t sector = 3; sector <= 24; sector += 12) {
33 for (Int_t row = 13; row <= 14; row++) {
34 cout <<
"=============== sec " << sector <<
" ====== row " << row <<
" ===============" << endl;
36 Double_t x = tran.yFromRow(row);
37 if (sector > 12) x = -x;
39 for (Int_t iz = 0; iz < 3; iz++) {
45 if (sector > 12) z = -z;
46 if (iz == 2) z *= 0.5;
48 cout <<
"============ z " << z <<
" ===============" << endl;
52 if (iz == 1) tb = 100;
53 else if (iz == 2) tb = 350;
54 cout <<
"============ tb " << tb <<
" ===============" << endl;
57 tran(padP,lSec); cout <<
"padP => lSec\t" << lSec << endl;
58 tran(lSec,padP); cout <<
"lSec => padP\t" << padP << endl;
60 tran(lSec,lTpc); cout <<
"lSec => lTpc\t" << lTpc << endl;
62 tran(lTpc,lSec); cout <<
"lTpc => lSec\t" << lSec << endl;
63 tran(lTpc,glob); cout <<
"lTpc => glob\t" << glob << endl;
65 tran(lTpc,lSec); cout <<
"lTpc => lSec\t" << lSec << endl;
66 tran(lSec,padP); cout <<
"lSec => padP\t" << padP << endl;
67 tran(padP,lSec); cout <<
"padP => lSec\t" << lSec << endl;
68 tran(lSec,lTpc); cout <<
"lSec => lTpc\t" << lTpc << endl;
69 tran(lTpc,glob); cout <<
"lTpc => glob\t" << glob << endl;
70 tran(glob,lTpc,sector,row); cout <<
"glob => lTpc\t" << lTpc << endl;
71 tran(lTpc,lSec); cout <<
"lTpc => lSec\t" << lSec << endl;
72 tran(glob,lSec,sector,row); cout <<
"glob => lSec\t" << lSec << endl;
73 tran(lSec,padP); cout <<
"lSec => padP\t" << padP << endl;