Fixes for reading zero-suppressed data. These should be propagated to
[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();
d98fbfa5 16 if(!cdb->IsDefaultStorageSet())
17 cdb->SetDefaultStorage("local://$ALICE_ROOT");
18 cdb->SetRun(0);
c4af9ef5 19 AliLog::SetModuleDebugLevel("FMD", 1);
1e8f773e 20 gSystem->Load("libFMDutil.so");
c2fc1258 21 AliFMDAlignFaker f(AliFMDAlignFaker::kAll, "geometry.root", 0);
22 // f.RemoveAlign(AliFMDAlignFaker::kHalves);
d760ea03 23 f.SetSensorDisplacement(0, 0, 0, 0, 0, 0);
c2fc1258 24 f.SetSensorRotation(0, 0, 0, 0, 0, 0);
25 f.SetHalfDisplacement(0, 0, 0, 0, 0, 0);
26 f.SetHalfRotation(0, 0, 0, 0, 0, 0);
1e8f773e 27 f.Exec();
28}
29//____________________________________________________________________
30//
31// EOF
32//