]>
Commit | Line | Data |
---|---|---|
9234535e | 1 | //____________________________________________________________________ |
2 | // | |
3 | // $Id$ | |
4 | // | |
5 | // Make fake residual alignment data. | |
6 | // | |
7 | /** Make fake residual alignment data | |
8 | @ingroup simple_script | |
9 | */ | |
10 | void | |
11 | MakeResidualAlignment() | |
12 | { | |
13 | if (!TGeoManager::Import("geometry.root")) | |
14 | gAlice->Init("$ALICE_ROOT/FMD/Config.C"); | |
15 | AliCDBManager* cdb = AliCDBManager::Instance(); | |
65af05bc | 16 | if(!cdb->IsDefaultStorageSet()) |
162637e4 | 17 | cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
65af05bc | 18 | cdb->SetRun(0); |
19 | AliLog::SetModuleDebugLevel("FMD", 1); | |
9234535e | 20 | gSystem->Load("libFMDutil.so"); |
21 | AliFMDAlignFaker f(AliFMDAlignFaker::kAll, "geometry.root", "residual.root"); | |
22 | f.SetComment("Residual alignment for PDC06"); | |
23 | // f.RemoveAlign(AliFMDAlignFaker::kHalves); | |
24 | f.SetSensorDisplacement(-0.005, -0.005, -0.005, 0.005, 0.005, 0.005); | |
25 | f.SetSensorRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5); | |
26 | f.SetHalfDisplacement(-0.25, -0.25, -0.25, 0.25, 0.25, 0.25); | |
27 | f.SetHalfRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5); | |
28 | f.Exec(); | |
29 | } | |
30 | //____________________________________________________________________ | |
31 | // | |
32 | // EOF | |
33 | // |