1 <!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
4 <!-- Author: ROOT team (rootdev@hpsalo.cern.ch) -->
6 <!-- Date: Thu Mar 9 00:11:51 2000 -->
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.">
16 <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" TEXT="#000000">
17 <a name="TopOfPage"></a>
20 <h1>AliPHOSTrackSegmentMakerv1</h1>
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>
25 <h2>class <a name="AliPHOSTrackSegmentMakerv1" href="AliPHOSTrackSegmentMakerv1.h">AliPHOSTrackSegmentMakerv1</a> : public <a href="./AliPHOSTrackSegmentMaker.html">AliPHOSTrackSegmentMaker</a></h2>
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>&)
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>& PHOSModule, <a href="ListOfTypes.html#Int_t">Int_t</a>& emcStopedAt, <a href="ListOfTypes.html#Int_t">Int_t</a>& 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>& 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& 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& 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-->()
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>
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
62 *-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
65 <!--FUNCTION--> <a name="AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:AliPHOSTrackSegmentMakerv1">AliPHOSTrackSegmentMakerv1</a>()
69 <!--FUNCTION--> <a name="AliPHOSTrackSegmentMakerv1:~AliPHOSTrackSegmentMakerv1" href="src/AliPHOSTrackSegmentMakerv1.cxx.html#AliPHOSTrackSegmentMakerv1:~AliPHOSTrackSegmentMakerv1">~AliPHOSTrackSegmentMakerv1</a>()
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)
76 <pre> Calls TMinuit to fit the energy distribution of a cluster with several maxima
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> & phosmod, <a href="ListOfTypes.html#Int_t">Int_t</a> & emcStopedAt,
81 <a href="ListOfTypes.html#Int_t">Int_t</a> & ppsdStopedAt)
83 <pre> Unfold clusters and fill xxxOut arrays with clusters from one PHOS module
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> &toofar)
87 <pre> Calculates the distance between the EMC RecPoint and the PPSD RecPoint
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)
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>
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)
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)
103 <pre> Makes the track segments out of the list of EMC and PPSD Recpoints and stores them in a list
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)
107 <pre> Shape of the shower (see PHOS TDR)
108 If you change this function, change also the gradien evaluation in ChiSquare()
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)
113 <pre> Performs the unfolding of a cluster with nMax overlapping showers
114 This is time consuming (use the (Un)SetUnfolFlag() )
116 <h3>Inline Functions</h3>
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& 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& 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>&)
131 <em>Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</em><br>
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>
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.