]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/doc/comparison/userguide.tex
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGPP / 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
2bfe5463 9check the performance of the reconstruction algorithms. The PWGPP library has been started to make
20552425 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
2bfe5463 14\subsection{PWGPP library}
20552425 15
2bfe5463 16Current implementation of PWGPP allows us to run comparison for TPC and TPC-tracks.
20552425 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
2bfe5463 27components (classes) have been implemented in PWGPP library:
20552425 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
2bfe5463 43The basic components of the PWGPP library are: makers ($AliGenInfoMaker$, $AliRecInfoMaker$),
20552425 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
2bfe5463 51One has to implement the following classes to run its own analysis using PWGPP library:
20552425 52
53\begin{itemize}
2bfe5463 54\item[1.] Implement comparison object which contains control histograms and its own cut object (ex: $PWGPP/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: $PWGPP/AliMCInfoCuts.h$).
20552425 56\end{itemize}
57
58\subsection{Quick Start}
59
60\begin{itemize}
2bfe5463 61\item[1.] Prepare input by running $AliGenInfoMaker$ and then $AliRecInfoMaker$ makers ($PWGPP/Macros/RunMakers.C$)
20552425 62\item[2.] Create comparison objects
63\item[3.] Create cut objects and pass them to corresponding comparison objects
2bfe5463 64\item[4.] Add comparison objects to comparison task \newline ($PWGPP/Macros/RunAliComparisonTask.C$)
65\item[5.] Run comparison analysis ($PWGPP/Macros/RunGSI.C$)
20552425 66
67\end{itemize}
68
69\end{document}