]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/PHOS-HTML/AliPHOSTrackSegmentMakerv1.html
Debug statement removed.
[u/mrichter/AliRoot.git] / PHOS / PHOS-HTML / AliPHOSTrackSegmentMakerv1.html
1 <!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
2 <html>
3 <!--                                             -->
4 <!-- Author: ROOT team (rootdev@hpsalo.cern.ch)  -->
5 <!--                                             -->
6 <!--   Date: Thu Mar  9 00:11:51 2000            -->
7 <!--                                             -->
8 <head>
9 <title>AliPHOSTrackSegmentMakerv1</title>
10 <link rev=made href="mailto:rootdev@root.cern.ch">
11 <meta name="rating" content="General">
12 <meta name="objecttype" content="Manual">
13 <meta name="keywords" content="software development, oo, object oriented, unix, x11, motif, windows nt, c++, html, rene brun, fons rademakers">
14 <meta name="description" content="ROOT - An Object Oriented Framework For Large Scale Data Analysis.">
15 </head>
16 <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" TEXT="#000000">
17 <a name="TopOfPage"></a>
18 <!--BEGIN-->
19 <center>
20 <h1>AliPHOSTrackSegmentMakerv1</h1>
21 <hr width=300>
22 <!--SDL--><em><a href=#AliPHOSTrackSegmentMakerv1:description>class description</a> - <a href="src/AliPHOSTrackSegmentMakerv1.cxx.html">source file</a> - <a href="AliPHOSTrackSegmentMakerv1_Tree.ps">inheritance tree</a></em>
23 <hr width=300>
24 </center>
25 <h2>class <a name="AliPHOSTrackSegmentMakerv1" href="AliPHOSTrackSegmentMakerv1.h">AliPHOSTrackSegmentMakerv1</a> : public <a href="./AliPHOSTrackSegmentMaker.html">AliPHOSTrackSegmentMaker</a></h2>
26 <pre>
27
28 <!--TAB4-->    <b>public:</b><br>
29 <!--TAB6-->      <a href="./AliPHOSTrackSegmentMakerv1.html">AliPHOSTrackSegmentMakerv1</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1">AliPHOSTrackSegmentMakerv1</a><!--PLAIN-->()
30 <!--TAB6-->      <a href="./AliPHOSTrackSegmentMakerv1.html">AliPHOSTrackSegmentMakerv1</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1">AliPHOSTrackSegmentMakerv1</a><!--PLAIN-->(<a href="./AliPHOSTrackSegmentMakerv1.html">AliPHOSTrackSegmentMakerv1</a>&amp;)
31 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:~AliPHOSTrackSegmentMakerv1">~AliPHOSTrackSegmentMakerv1</a><!--PLAIN-->()
32 <!--TAB6-->                         TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:Class">Class</a><!--PLAIN-->()
33 <!--TAB6-->                            <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:FillOneModule">FillOneModule</a><!--PLAIN-->(<a href="ListOfTypes.html#DigitsList">DigitsList</a>* Dl, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a>* emcIn, TObjArray* emcOut, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a>* ppsdIn, TObjArray* ppsdOutUp, TObjArray* ppsdOutLow, <a href="ListOfTypes.html#Int_t">Int_t</a>&amp; PHOSModule, <a href="ListOfTypes.html#Int_t">Int_t</a>&amp; emcStopedAt, <a href="ListOfTypes.html#Int_t">Int_t</a>&amp; ppsdStopedAt)
34 <!--TAB6-->                          <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:FindFit">FindFit</a><!--PLAIN-->(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>* emcRP, <a href="ListOfTypes.html#int">int</a>* MaxAt, <a href="ListOfTypes.html#Float_t">Float_t</a>* maxAtEnergy, <a href="ListOfTypes.html#Int_t">Int_t</a> NPar, <a href="ListOfTypes.html#Float_t">Float_t</a>* FitParametres)
35 <!--TAB6-->                         <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:GetDistanceInPHOSPlane">GetDistanceInPHOSPlane</a><!--PLAIN-->(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>* EmcClu, <a href="./AliPHOSPpsdRecPoint.html">AliPHOSPpsdRecPoint</a>* Ppsd, <a href="ListOfTypes.html#Bool_t">Bool_t</a>&amp; TooFar)
36 <!--TAB6-->                 virtual TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:IsA">IsA</a><!--PLAIN-->() const
37 <!--TAB6-->                            <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:MakeLinks">MakeLinks</a><!--PLAIN-->(TObjArray* EmcRecPoints, TObjArray* PpsdRecPointsUp, TObjArray* PpsdRecPointsLow, TClonesArray* LinkLowArray, TClonesArray* LinkUpArray)
38 <!--TAB6-->                            <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:MakePairs">MakePairs</a><!--PLAIN-->(TObjArray* EmcRecPoints, TObjArray* PpsdRecPointsUp, TObjArray* PpsdRecPointsLow, TClonesArray* LinkLowArray, TClonesArray* LinkUpArray, <a href="ListOfTypes.html#TrackSegmentsList">TrackSegmentsList</a>* trsl)
39 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:MakeTrackSegments">MakeTrackSegments</a><!--PLAIN-->(<a href="ListOfTypes.html#DigitsList">DigitsList</a>* DL, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a>* emcl, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a>* ppsdl, <a href="ListOfTypes.html#TrackSegmentsList">TrackSegmentsList</a>* trsl)
40 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:SetMaxEmcPpsdDistance">SetMaxEmcPpsdDistance</a><!--PLAIN-->(<a href="ListOfTypes.html#Float_t">Float_t</a> r)
41 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:SetUnfoldFlag">SetUnfoldFlag</a><!--PLAIN-->()
42 <!--TAB6-->                        <a href="ListOfTypes.html#Double_t">Double_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:ShowerShape">ShowerShape</a><!--PLAIN-->(<a href="ListOfTypes.html#Double_t">Double_t</a> r)
43 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:ShowMembers">ShowMembers</a><!--PLAIN-->(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
44 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:Streamer">Streamer</a><!--PLAIN-->(TBuffer&amp; b)
45 <!--TAB6-->                            <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:UnfoldClusters">UnfoldClusters</a><!--PLAIN-->(<a href="ListOfTypes.html#DigitsList">DigitsList</a>* DL, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a>* emcIn, <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>* iniEmc, <a href="ListOfTypes.html#Int_t">Int_t</a> Nmax, <a href="ListOfTypes.html#int">int</a>* maxAt, <a href="ListOfTypes.html#Float_t">Float_t</a>* maxAtEnergy, TObjArray* emclist)
46 <!--TAB6-->                    virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSTrackSegmentMakerv1:UnsetUnfoldFlag">UnsetUnfoldFlag</a><!--PLAIN-->()
47
48 <h3><!--TAB2-->  <a name="AliPHOSTrackSegmentMakerv1:Data Members">Data Members</a></h3>
49 <!--TAB4-->    <b>private:</b><br>
50 <!--TAB6-->       <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSTrackSegmentMakerv1:fDelta">fDelta</a><!--PLAIN-->       <!--TAB--><i><a name="Title:fDelta">parameter used for sorting</a></i>
51 <!--TAB6-->      TMinuit* <!--TAB--><!--BOLD--><a name="AliPHOSTrackSegmentMakerv1:fMinuit">fMinuit</a><!--PLAIN-->      <!--TAB--><i><a name="Title:fMinuit">Minuit object needed by cluster unfolding</a></i>
52 <!--TAB6-->       <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSTrackSegmentMakerv1:fR0">fR0</a><!--PLAIN-->          <!--TAB--><i><a name="Title:fR0">Maximum distance between a EMC RecPoint and a PPSD RecPoint   </a></i>
53 <!--TAB6-->        <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSTrackSegmentMakerv1:fUnfoldFlag">fUnfoldFlag</a><!--PLAIN-->  <!--TAB--><i><a name="Title:fUnfoldFlag">Directive to unfold or not the clusters in case of multiple maxima</a></i>
54 </pre>
55 <!--END-->
56 <hr>
57 <!--DESCRIPTION--><h2><a name="AliPHOSTrackSegmentMakerv1:description">Class Description</a></h2>
58 <pre> Implementation version 1 of algorithm class to construct PHOS track segments
59  Associates EMC and PPSD clusters
60  Unfolds the EMC cluster
61
62 *-- Author: Dmitri Peressounko (RRC Ki &amp; SUBATECH)
63
64 </pre><hr>
65 <!--FUNCTION-->  <a name="AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1">AliPHOSTrackSegmentMakerv1</a>() 
66 <br>
67 <pre> ctor
68 </pre><hr>
69 <!--FUNCTION-->  <a name="AliPHOSTrackSegmentMakerv1:~AliPHOSTrackSegmentMakerv1" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:~AliPHOSTrackSegmentMakerv1">~AliPHOSTrackSegmentMakerv1</a>()
70 <br>
71 <pre> dtor
72 </pre><hr>
73 <!--FUNCTION--><a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSTrackSegmentMakerv1:FindFit" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:FindFit">FindFit</a>(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> * emcRP, <a href="ListOfTypes.html#int">int</a> * maxAt, <a href="ListOfTypes.html#Float_t">Float_t</a> * maxAtEnergy,
74                                     <a href="ListOfTypes.html#Int_t">Int_t</a> nPar, <a href="ListOfTypes.html#Float_t">Float_t</a> * fitparameters)
75 <br>
76 <pre> Calls TMinuit to fit the energy distribution of a cluster with several maxima
77 </pre><hr>
78 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:FillOneModule" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:FillOneModule">FillOneModule</a>(<a href="ListOfTypes.html#DigitsList">DigitsList</a> * Dl, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a> * emcIn, TObjArray * emcOut, 
79                                         <a href="ListOfTypes.html#RecPointsList">RecPointsList</a> * ppsdIn, TObjArray * ppsdOutUp,
80                                         TObjArray * ppsdOutLow, <a href="ListOfTypes.html#Int_t">Int_t</a> &amp; phosmod, <a href="ListOfTypes.html#Int_t">Int_t</a> &amp; emcStopedAt, 
81                                         <a href="ListOfTypes.html#Int_t">Int_t</a> &amp; ppsdStopedAt)
82 <br>
83 <pre> Unfold clusters and fill xxxOut arrays with clusters from one PHOS module
84 </pre><hr>
85 <!--FUNCTION--><a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSTrackSegmentMakerv1:GetDistanceInPHOSPlane" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:GetDistanceInPHOSPlane">GetDistanceInPHOSPlane</a>(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> * emcclu,<a href="./AliPHOSPpsdRecPoint.html">AliPHOSPpsdRecPoint</a> * PpsdClu, <a href="ListOfTypes.html#Bool_t">Bool_t</a> &amp;toofar)
86 <br>
87 <pre> Calculates the distance between the EMC RecPoint and the PPSD RecPoint
88 </pre><hr>
89 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:MakeLinks" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:MakeLinks">MakeLinks</a>(TObjArray * emcRecPoints, TObjArray * ppsdRecPointsUp, 
90                                      TObjArray * ppsdRecPointsLow, TClonesArray * linklowArray, 
91                                      TClonesArray *linkupArray) 
92 <br>
93 <pre> Finds distances (links) between all EMC and PPSD clusters, which are not further apart from each other than <a href="./AliPHOSTrackSegmentMakerv1.html#AliPHOSTrackSegmentMakerv1:fR0">fR0</a>
94 </pre><hr>
95 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:MakePairs" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:MakePairs">MakePairs</a>(TObjArray * emcRecPoints, TObjArray * ppsdRecPointsUp, 
96                                     TObjArray * ppsdRecPointsLow, TClonesArray * linklowArray, 
97                                     TClonesArray * linkupArray, <a href="ListOfTypes.html#TrackSegmentsList">TrackSegmentsList</a> * trsl) 
98 <br>
99 <hr>
100 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:MakeTrackSegments" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:MakeTrackSegments">MakeTrackSegments</a>(<a href="ListOfTypes.html#DigitsList">DigitsList</a> * DL, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a> * emcl, 
101                                         <a href="ListOfTypes.html#RecPointsList">RecPointsList</a> * ppsdl, <a href="ListOfTypes.html#TrackSegmentsList">TrackSegmentsList</a> * trsl)
102 <br>
103 <pre> Makes the track segments out of the list of EMC and PPSD Recpoints and stores them in a list
104 </pre><hr>
105 <!--FUNCTION--><a href="ListOfTypes.html#Double_t">Double_t</a> <a name="AliPHOSTrackSegmentMakerv1:ShowerShape" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:ShowerShape">ShowerShape</a>(<a href="ListOfTypes.html#Double_t">Double_t</a> r)
106 <br>
107 <pre> Shape of the shower (see PHOS TDR)
108  If you change this function, change also the gradien evaluation  in ChiSquare()
109 </pre><hr>
110 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:UnfoldClusters" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:UnfoldClusters">UnfoldClusters</a>(<a href="ListOfTypes.html#DigitsList">DigitsList</a> * DL, <a href="ListOfTypes.html#RecPointsList">RecPointsList</a> * emcIn,  <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> * iniEmc, 
111                                          <a href="ListOfTypes.html#Int_t">Int_t</a> nMax, <a href="ListOfTypes.html#int">int</a> * maxAt, <a href="ListOfTypes.html#Float_t">Float_t</a> * maxAtEnergy, TObjArray * emcList)
112 <br>
113 <pre> Performs the unfolding of a cluster with nMax overlapping showers
114  This is time consuming (use the (Un)SetUnfolFlag()  )
115 </pre><br><br><br>
116 <h3>Inline Functions</h3>
117 <hr>
118 <pre>
119 <!--INLINE FUNCTION--><!--TAB6-->                              <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:SetMaxEmcPpsdDistance" href="AliPHOSTrackSegmentMakerv1.h">SetMaxEmcPpsdDistance</a>(<a href="ListOfTypes.html#Float_t">Float_t</a> r)
120 <!--INLINE FUNCTION--><!--TAB6-->                              <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:SetUnfoldFlag" href="AliPHOSTrackSegmentMakerv1.h">SetUnfoldFlag</a>()
121 <!--INLINE FUNCTION--><!--TAB6-->                              <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:UnsetUnfoldFlag" href="AliPHOSTrackSegmentMakerv1.h">UnsetUnfoldFlag</a>()
122 <!--INLINE FUNCTION--><!--TAB6-->                           TClass* <a name="AliPHOSTrackSegmentMakerv1:Class" href="AliPHOSTrackSegmentMakerv1.h">Class</a>()
123 <!--INLINE FUNCTION--><!--TAB6-->                           TClass* <a name="AliPHOSTrackSegmentMakerv1:IsA" href="AliPHOSTrackSegmentMakerv1.h">IsA</a>() const
124 <!--INLINE FUNCTION--><!--TAB6-->                              <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:ShowMembers" href="AliPHOSTrackSegmentMakerv1.h">ShowMembers</a>(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
125 <!--INLINE FUNCTION--><!--TAB6-->                              <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSTrackSegmentMakerv1:Streamer" href="AliPHOSTrackSegmentMakerv1.h">Streamer</a>(TBuffer&amp; b)
126 <!--INLINE FUNCTION--><!--TAB6-->        <a href="./AliPHOSTrackSegmentMakerv1.html">AliPHOSTrackSegmentMakerv1</a> <a name="AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1" href="AliPHOSTrackSegmentMakerv1.h">AliPHOSTrackSegmentMakerv1</a>(<a href="./AliPHOSTrackSegmentMakerv1.html">AliPHOSTrackSegmentMakerv1</a>&amp;)
127 </pre>
128
129 <hr><br>
130 <!--SIGNATURE-->
131 <em>Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</em><br>
132 <br>
133 <address>
134 <hr>
135 <center>
136 <a href="http://root.cern.ch/root/Welcome.html">ROOT page</a> - <a href="ClassIndex.html">Class index</a> - <a href="#TopOfPage">Top of the page</a><br>
137 </center>
138 <hr>This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to <a href="mailto:rootdev@root.cern.ch">ROOT support</a>, or contact <a href="mailto:rootdev@root.cern.ch">the developers</a> with any questions or problems regarding ROOT.
139 </address>
140 </body>
141 </html>