- Adding check and flagging for HG present
[u/mrichter/AliRoot.git] / MUON / READMEcalign.txt
CommitLineData
6c960a43 1// $Id$
2
3/*!
4
5\page README_calign Offline Calibration and Alignment
6
7\section calign_s1 Offline monitoring of the Alignment and Calibration
8
9The macro MUONClusterInfo.C reads the ESDs or RecPoints and creates a tree of
10AliMUONClusterInfo objects which can be conveniently used to plot track to
11cluster residuals, cluster and pads properties.
12
13Usage:
14<pre>
15root [0] .L $ALICE_ROOT/MUON/MUONClusterInfo.C+
16root [1] MUONClusterInfo(nevents, esdFileName, inFileName, outFileName);
17</pre>
18
19 1) <code> if ( esdFileName != "" ) </code>:
20
21 Loop over ESD event and fill AliMUONClusterInfo object with cluster +
22 corresponding track parameters.
23
24 2) <code> if ( inFileName != "" ) </code>:
25
26 Loop over RecPoints and fill AliMUONClusterInfo object with cluster not
27 attached to a track;
28
29 3) Write results in a new root file.
30
31\section calign_s2 How to run offline calibration and alignment tasks
32
33AliMUONAlignmentTask:
34
35It is an AliAnalysisTask to align the MUON spectrometer. The Task reads
36as input ESDs and feeds the MUONTracks to AliMUONAlignment. The alignment
37itself is performed by AliMillepede. A OCDB entry is written with the
38alignment parameters. A list of graph are written to monitor the alignment
39parameters.
40
41AliMUONReAlignTask:
42
43It is an AliAnalysisTask to realign the MUON spectrometer. The Task reads
44as input ESDs moves the clusters of a MUONTrack acoording to the re aligned
45geometry taken from a misalignment file in the OCDB and refit the track.
46Then it produces a AliMUONClusterInfo object for each cluster. The output is
47a TTree of AliMUONClusterInfo.
48
49AliMUONChamberCalibrationTask:
50
51It is a AliAnalysisTaskSE to recalibrate the MUON spectrometers. The output is
52a TTree of AliMUONClusterInfo.
53
54
55The AliMUON*Task are designed to run in an analyis train of the Analysis
56Framework. The macros AddTaskMuon*.C can be used to add the task to an
57analysis train. An usage example based on the new standard AnalysisTrainNew.C
58will be provided soon.
59
60
61This chapter is defined in the READMEcalign.txt file.
62
63*/