Added documentation of each file.
[u/mrichter/AliRoot.git] / FMD / scripts / MakeAlignment.C
CommitLineData
1e8f773e 1//____________________________________________________________________
2//
3// $Id$
4//
5// Make fake alignment data.
6//
9b48326f 7/** Make fake alignment data
8 @ingroup simple_script
9 */
1e8f773e 10void
11MakeAlignment()
12{
13 if (!TGeoManager::Import("geometry.root"))
14 gAlice->Init("$ALICE_ROOT/FMD/Config.C");
15 AliCDBManager* cdb = AliCDBManager::Instance();
c2fc1258 16 cdb->SetDefaultStorage("local://$ALICE_ROOT");
17
1e8f773e 18 gSystem->Load("libFMDutil.so");
c2fc1258 19 AliFMDAlignFaker f(AliFMDAlignFaker::kAll, "geometry.root", 0);
20 // f.RemoveAlign(AliFMDAlignFaker::kHalves);
d760ea03 21 f.SetSensorDisplacement(0, 0, 0, 0, 0, 0);
c2fc1258 22 f.SetSensorRotation(0, 0, 0, 0, 0, 0);
23 f.SetHalfDisplacement(0, 0, 0, 0, 0, 0);
24 f.SetHalfRotation(0, 0, 0, 0, 0, 0);
1e8f773e 25 f.Exec();
26}
27//____________________________________________________________________
28//
29// EOF
30//