Ideal 5-module PHOS geometry
[u/mrichter/AliRoot.git] / PHOS / macros / AlignmentDB / README
CommitLineData
49c37ad8 1// $Id$
2
3
4This directory contains a set of scripts related to PHOS alignment.
5
6The PHOS alignment object (AliPHOSAlignData) contans as data members 3
7parameters:
8 number of modules
9 center position of each module in MARS
10 module orientation in MARS
11
12The script AliPHOSSetAlignment.C allows to set PHOS align object for
13two cases:
14 1) PHOS geometry for the first LHC run 2007, one module with ideal
15 position;
16 2) Full PHOS geometry with all 5 modules randomly displaced.
17The align object is being written to CBD to the local directory
18InitAlignDB/PHOS/Alignment/Geometry for the case 1 and directory
19DisAlignDB/PHOS/Alignment/Geometry for the case 2.
20This script uses a menu (TControlBar) to set and read the align
21object.
22
23The script AliPHOSDisalign.C runs simulations described in Config.C
24(100 electrons towards the PHOS apperture, all detectors but PHOS are
25switched off). Before running simulations, the PHOS align object is
26read from the CDB. The first argument of the function AliPHOSDisalign
27sets the upper level directory name containing the CBD object.
28
29When the disaligned PHOS geometry was created, one has to check it for
30oberlaps:
31 gGeoManager->CheckOverlaps(0.1);
32 gGeoManager->PrintOverlaps();
33
34Yuri Kharlov
355 March 2006