]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/doc/comparison/userguide.tex
Removed dependency on the PWG0
[u/mrichter/AliRoot.git] / PWG1 / doc / comparison / userguide.tex
CommitLineData
20552425 1\documentclass{elsart}
2\usepackage{epsfig,amsmath}
3
4\begin{document}
5
6\subsection{Reconstruction Performance}
7
8A comparison of Monte-Carlo (MC) and reconstruction information is necessary to
9check the performance of the reconstruction algorithms. The PWG1 library has been started to make
10MC vs reconstruction comparison, to tune selection criteria (cuts) and to find the best representation
11of the data (observables, correlations between observables, parametrisations, etc.). The main goal is to
12get the best track reconstruction performance in the central barrel.
13
14\subsection{PWG1 library}
15
16Current implementation of PWG1 allows us to run comparison for TPC and TPC-tracks.
17The comparison of MC and reconstructed tracks is done in 4 steps:
18
19\begin{itemize}
20\item[1.] Collection of MC information
21\item[2.] Correlation of MC and reconstruction information
22\item[3.] Filling of comparison objects
23\item[4.] Analysis of comparison objects
24\end{itemize}
25
26In order to perform these steps the following
27components (classes) have been implemented in PWG1 library:
28
29\begin{itemize}
30\item The $AliGenInfoMaker$ collects MC information stored in
31 several simulation trees. It creates $AliMCInfo$, $AliMCKinkInfo$ and $AliMCV0Info$ objects for each MC track.
32\item The $AliRecInfoMaker$ correlates MC and reconstruction information (ESDs) and creates for each MC object (e.g. $AliMCInfo$) corresponding reconstruction object ($AliESDRecInfo$).
33\item In the third step, the comparison objects ($AliComparisonObject$) are filled in $AliComparisonTask$ task. In this step the cuts ($AliMCInfoCuts$, $AliRecInfoCuts$) are applied. The comparison objects keep control histograms and cuts.
34\item Finally, the analysis of the comparison objects is done by using their own $Analyse()$
35 functions. The result analyzed histograms can be saved for further studies.
36\end{itemize}
37
38The advantage of such analysis scheme is that the most time consuming
39tasks (steps 1 and 2) can be run only once. It can be done during
40ESD production. Then the comparison task can be run many times (e.g. on Proof)
41to tune selection criteria and to find the best representation of data.
42
43The basic components of the PWG1 library are: makers ($AliGenInfoMaker$, $AliRecInfoMaker$),
44tasks ($AliAnalysisTask$), cuts ($AliAnalysisCuts$) and comparison objects ($AliComparisonObject$).
45
46The makers derive from TObject ROOT class and have functionality to collect and correlate MC and reconstruction
47information for ITS, TPC, TRD and TOF detectors. They can be run locally/batch. The comparison tasks derive from $AliAnalysisTask$ and must implement its virtual methods. They can be run locally/batch, on Proof and on Grid. The cut objects derive from $AliAnalysisCut$ and must implement its virtual methods. The comparison objects derive from $AliComparisonObject$ base class and must implement its virtual methods.
48
49\subsection{User implementation}
50
51One has to implement the following classes to run its own analysis using PWG1 library:
52
53\begin{itemize}
26e10df5 54\item[1.] Implement comparison object which contains control histograms and its own cut object (ex: $PWG1/AliComparisonDCA.h$)
55\item[2.] Implement (if needed) cut object which contains all cuts which will be applied while filling comparison object. It is recommended to use $IsSelected(TObject*)$ method of the cut object while applying the cuts (ex: $PWG1/AliMCInfoCuts.h$).
20552425 56\end{itemize}
57
58\subsection{Quick Start}
59
60\begin{itemize}
61\item[1.] Prepare input by running $AliGenInfoMaker$ and then $AliRecInfoMaker$ makers ($PWG1/Macros/RunMakers.C$)
62\item[2.] Create comparison objects
63\item[3.] Create cut objects and pass them to corresponding comparison objects
64\item[4.] Add comparison objects to comparison task \newline ($PWG1/Macros/RunAliComparisonTask.C$)
65\item[5.] Run comparison analysis ($PWG1/Macros/RunGSI.C$)
66
67\end{itemize}
68
69\end{document}