]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/scripts/MakeResidualAlignment.C
Bug fix for reading raw data - thanks Frederic YERMIA, Diego, and Gines MARTINEZ
[u/mrichter/AliRoot.git] / FMD / scripts / MakeResidualAlignment.C
CommitLineData
9234535e 1//____________________________________________________________________
2//
3// $Id$
4//
5// Make fake residual alignment data.
6//
7/** Make fake residual alignment data
8 @ingroup simple_script
9 */
10void
11MakeResidualAlignment()
12{
13 if (!TGeoManager::Import("geometry.root"))
14 gAlice->Init("$ALICE_ROOT/FMD/Config.C");
15 AliCDBManager* cdb = AliCDBManager::Instance();
16 cdb->SetDefaultStorage("local://$ALICE_ROOT");
17
18 gSystem->Load("libFMDutil.so");
19 AliFMDAlignFaker f(AliFMDAlignFaker::kAll, "geometry.root", "residual.root");
20 f.SetComment("Residual alignment for PDC06");
21 // f.RemoveAlign(AliFMDAlignFaker::kHalves);
22 f.SetSensorDisplacement(-0.005, -0.005, -0.005, 0.005, 0.005, 0.005);
23 f.SetSensorRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5);
24 f.SetHalfDisplacement(-0.25, -0.25, -0.25, 0.25, 0.25, 0.25);
25 f.SetHalfRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5);
26 f.Exec();
27}
28//____________________________________________________________________
29//
30// EOF
31//