corrected TRD/TOF MV position
[u/mrichter/AliRoot.git] / TOF / TestTOFSurvey.C
CommitLineData
7635cae2 1void TestTOFSurvey()
2{
3 /////////////////////////////////////////////////////////////////////////
4 //
5 // Simple Test macro for Conversion of Survey Data into AlignObj for TOF
6 // Author: S.Arcelli
7 // root[1] AliTOFtestProb("match-6KevPYTHIA-0.2T.root")
8 /////////////////////////////////////////////////////////////////////////
9 AliTOFAlignment *al = new AliTOFAlignment();
10 Float_t mis[6]={0.,0.,5.,10.,0.,0.}; //+5 cm shift z and 10 deg rot in phi
11 al->BuildGeomForSurvey();
12 al->InsertMisAlignment(mis);
13 al->AlignFromSurvey();
14}