Bug fix in treatment of the vertex finder covariance matrix (Andrea)
[u/mrichter/AliRoot.git] / FMD / MakeFMDFullMisAlignment.C
CommitLineData
1895a097 1void MakeFMDFullMisAlignment(){
2 // Create TClonesArray of full misalignment objects for FMD
3 //
4 if(!gGeoManager) TGeoManager::Import("geometry.root");
5 // needed for the constructors with local coordinates not to fail
6
7 gSystem->Load("libFMDutil.so");
5bd470e1 8 if( gSystem->Getenv("TOCDB") != TString("kTRUE") ){
1895a097 9 // save on file
10 AliFMDAlignFaker faker(AliFMDAlignFaker::kAll, "geometry.root","FMDfullMisalignment.root");
11 }else{
12 // save in CDB storage
5bd470e1 13 const char* Storage = gSystem->Getenv("STORAGE");
1895a097 14 AliFMDAlignFaker faker(AliFMDAlignFaker::kAll, "geometry.root", Storage);
15 }
16
17 // fRunMax should be changed in the constructor
18
19 faker.SetSensorDisplacement(-0.005, -0.005, -0.005, 0.005, 0.005, 0.005);
20 faker.SetSensorRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5);
21 faker.SetHalfDisplacement(-0.25, -0.25, -0.25, 0.25, 0.25, 0.25);
22 faker.SetHalfRotation(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5);
23 faker.Exec();
24
25}