]>
Commit | Line | Data |
---|---|---|
15d1512c | 1 | \documentclass[12pt,a4paper]{article} |
2 | ||
3 | \usepackage{vmargin} | |
4 | \usepackage{listings} | |
5 | ||
6 | \renewcommand{\rmdefault}{cmss} | |
7 | \newcommand{\inlinecode}[2]{\mbox{{\bf #1(}#2{\bf)}}} | |
8 | \newcommand{\classb}[1]{\mbox{{\bf #1}}} | |
9 | \newcommand{\classi}[1]{\mbox{{\em #1}}} | |
10 | ||
11 | \setpapersize{A4} | |
12 | \setmarginsrb{10mm}{10mm}{10mm}{10mm}{0mm}{10mm}{0mm}{10mm} | |
13 | ||
14 | \title{ALICE resonance analysis package - Reference Guide} | |
15 | \author{A. Pulvirenti} | |
16 | \date{\tt alberto.pulvirenti@ct.infn.it} | |
17 | ||
18 | \begin{document} | |
19 | \lstset{language=C++} | |
20 | \lstset{basicstyle=\tiny} | |
21 | ||
22 | \maketitle | |
23 | ||
24 | \section{Introduction} | |
25 | ||
26 | This document contains a reference guide for all classes in the package, which complements what is explained | |
27 | in the online reference class guide which is automatically available from AliRoot code pages. | |
28 | ||
29 | \section{AliRsnDaughter} | |
30 | ||
31 | This object is used to have a unique access point to all informations coming from candidate daughters of a resonance. | |
32 | Such a candidate can be of any object type which can be related to a single particle: track, V0, cascade. | |
33 | In fact, \classb{AliRsnDaughter} contains the enumeration \classb{ERefType} which tells what kind of object is linked to it. | |
34 | This class does not contain any real processing function, because it just provides a pointer to an \classi{AliVParticle} object | |
35 | and eventually to its related MC particle, but it does not execute any specific computation. | |
36 | ||
37 | Unique exception is the \inlinecode{SetMass}{Double_t} method, which is used to assign a mass hypothesis to it. | |
38 | This is needed since the 4-momentum of the related particle is stored into a \classi{TLorentzVector} datamember, and it | |
39 | is filled by this function, which adopts the vector momentum from the referenced \classi{AliVParticle} and uses that mass | |
40 | to compute the fourth component of this 4-momentum. | |
41 | The user is not allowed to set directly the vector momentum, since it must always be coherent with that of the referenced object. | |
42 | ||
43 | ||
44 | \end{document} |