]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/scripts/MakeAlignment.C
debug is read from option string
[u/mrichter/AliRoot.git] / FMD / scripts / MakeAlignment.C
1 //____________________________________________________________________
2 //
3 // $Id$
4 //
5 // Make fake alignment data.
6 //
7 /** Make fake alignment data 
8     @ingroup simple_script
9  */
10 void
11 MakeAlignment()
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", 0);
20   // f.RemoveAlign(AliFMDAlignFaker::kHalves);
21   f.SetSensorDisplacement(0, 0, 0, 0, 0, 0);
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);
25   f.Exec();
26 }
27 //____________________________________________________________________
28 //
29 // EOF
30 //