]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/PHOS-HTML/AliPHOSEmcRecPoint.html
Better Print()
[u/mrichter/AliRoot.git] / PHOS / PHOS-HTML / AliPHOSEmcRecPoint.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:48 2000            -->
7 <!--                                             -->
8 <head>
9 <title>AliPHOSEmcRecPoint</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>AliPHOSEmcRecPoint</h1>
21 <hr width=300>
22 <!--SDL--><em><a href=#AliPHOSEmcRecPoint:description>class description</a> - <a href="src/AliPHOSEmcRecPoint.cxx.html">source file</a> - <a href="AliPHOSEmcRecPoint_Tree.ps">inheritance tree</a></em>
23 <hr width=300>
24 </center>
25 <h2>class <a name="AliPHOSEmcRecPoint" href="AliPHOSEmcRecPoint.h">AliPHOSEmcRecPoint</a> : public <a href="./AliPHOSRecPoint.html">AliPHOSRecPoint</a></h2>
26 <pre>
27 <!--TAB4-->    <b>private:</b><br>
28 <!--TAB6-->      <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:AreNeighbours">AreNeighbours</a><!--PLAIN-->(<a href="./AliPHOSDigit.html">AliPHOSDigit</a>* digit1, <a href="./AliPHOSDigit.html">AliPHOSDigit</a>* digit2)
29
30 <!--TAB4-->    <b>public:</b><br>
31 <!--TAB6-->      <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:AliPHOSEmcRecPoint">AliPHOSEmcRecPoint</a><!--PLAIN-->()
32 <!--TAB6-->      <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:AliPHOSEmcRecPoint">AliPHOSEmcRecPoint</a><!--PLAIN-->(<a href="ListOfTypes.html#Float_t">Float_t</a> W0, <a href="ListOfTypes.html#Float_t">Float_t</a> LocMaxCut)
33 <!--TAB6-->      <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:AliPHOSEmcRecPoint">AliPHOSEmcRecPoint</a><!--PLAIN-->(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>&amp;)
34 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:~AliPHOSEmcRecPoint">~AliPHOSEmcRecPoint</a><!--PLAIN-->()
35 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:AddDigit">AddDigit</a><!--PLAIN-->(AliDigitNew&amp; digit, <a href="ListOfTypes.html#Float_t">Float_t</a> Energy)
36 <!--TAB6-->                 TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:Class">Class</a><!--PLAIN-->()
37 <!--TAB6-->           virtual <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:Compare">Compare</a><!--PLAIN-->(TObject* obj)
38 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:ExecuteEvent">ExecuteEvent</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a> event, <a href="ListOfTypes.html#Int_t">Int_t</a> px, <a href="ListOfTypes.html#Int_t">Int_t</a> py)
39 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetDelta">GetDelta</a><!--PLAIN-->()
40 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetDispersion">GetDispersion</a><!--PLAIN-->()
41 <!--TAB6-->                    <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetElipsAxis">GetElipsAxis</a><!--PLAIN-->(<a href="ListOfTypes.html#Float_t">Float_t</a>* lambda)
42 <!--TAB6-->                <a href="ListOfTypes.html#Float_t">Float_t</a>* <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetEnergiesList">GetEnergiesList</a><!--PLAIN-->()
43 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetLocalPosition">GetLocalPosition</a><!--PLAIN-->(TVector3&amp; Lpos)
44 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetLocMaxCut">GetLocMaxCut</a><!--PLAIN-->()
45 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetLogWeightCut">GetLogWeightCut</a><!--PLAIN-->()
46 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetMaximalEnergy">GetMaximalEnergy</a><!--PLAIN-->()
47 <!--TAB6-->                   <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetMaximumMultiplicity">GetMaximumMultiplicity</a><!--PLAIN-->()
48 <!--TAB6-->                   <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetMultiplicity">GetMultiplicity</a><!--PLAIN-->() const
49 <!--TAB6-->                   <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetMultiplicityAtLevel">GetMultiplicityAtLevel</a><!--PLAIN-->(const <a href="ListOfTypes.html#Float_t">Float_t</a> level)
50 <!--TAB6-->                   <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetNumberOfLocalMax">GetNumberOfLocalMax</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a>* maxAt, <a href="ListOfTypes.html#Float_t">Float_t</a>* maxAtEnergy)
51 <!--TAB6-->                 <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:GetTotalEnergy">GetTotalEnergy</a><!--PLAIN-->() const
52 <!--TAB6-->         virtual TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:IsA">IsA</a><!--PLAIN-->() const
53 <!--TAB6-->          virtual <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:IsEmc">IsEmc</a><!--PLAIN-->()
54 <!--TAB6-->          virtual <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:IsSortable">IsSortable</a><!--PLAIN-->() const
55 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:Print">Print</a><!--PLAIN-->(<a href="ListOfTypes.html#Option_t">Option_t</a>* opt = <a href="ListOfTypes.html#void">void</a>)
56 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:ShowMembers">ShowMembers</a><!--PLAIN-->(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
57 <!--TAB6-->            virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSEmcRecPoint:Streamer">Streamer</a><!--PLAIN-->(TBuffer&amp; b)
58
59 <h3><!--TAB2-->  <a name="AliPHOSEmcRecPoint:Data Members">Data Members</a></h3>
60 <!--TAB4-->    <b>private:</b><br>
61 <!--TAB6-->       <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSEmcRecPoint:fDelta">fDelta</a><!--PLAIN-->       <!--TAB--><i><a name="Title:fDelta">parameter used to sort the clusters    </a></i>
62 <!--TAB6-->       <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSEmcRecPoint:fLocMaxCut">fLocMaxCut</a><!--PLAIN-->   <!--TAB--><i><a name="Title:fLocMaxCut">minimum energy difference to distinguish two maxima </a></i>
63 <!--TAB6-->      <a href="ListOfTypes.html#Float_t">Float_t</a>* <!--TAB--><!--BOLD--><a name="AliPHOSEmcRecPoint:fEnergyList">fEnergyList</a><!--PLAIN-->  <!--TAB--><i><a name="Title:fEnergyList">energy of digits</a></i>
64 <!--TAB6-->       <a href="ListOfTypes.html#Float_t">Float_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSEmcRecPoint:fW0">fW0</a><!--PLAIN-->          <!--TAB--><i><a name="Title:fW0">logarithmic weight factor for center of gravity calculation</a></i>
65 </pre>
66 <!--END-->
67 <hr>
68 <!--DESCRIPTION--><h2><a name="AliPHOSEmcRecPoint:description">Class Description</a></h2>
69 <pre>  RecPoint implementation for PHOS-EMC
70   An EmcRecPoint is a cluster of digits
71
72 *-- Author: Dmitri Peressounko (RRC KI &amp; SUBATECH)
73 </pre><hr>
74 <!--FUNCTION--> <a name="AliPHOSEmcRecPoint:AliPHOSEmcRecPoint" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:AliPHOSEmcRecPoint">AliPHOSEmcRecPoint</a>(<a href="ListOfTypes.html#Float_t">Float_t</a> W0, <a href="ListOfTypes.html#Float_t">Float_t</a> LocMaxCut)
75   : <a href="./AliPHOSRecPoint.html">AliPHOSRecPoint</a>()
76 <br>
77 <pre> ctor
78 </pre><hr>
79 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:AddDigit" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:AddDigit">AddDigit</a>(AliDigitNew &amp; digit, <a href="ListOfTypes.html#Float_t">Float_t</a> Energy)
80 <br>
81 <pre> Adds a digit to the RecPoint
82   and accumulates the total amplitude and the multiplicity
83 </pre><hr>
84 <!--FUNCTION--><a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSEmcRecPoint:AreNeighbours" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:AreNeighbours">AreNeighbours</a>(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> * digit1, <a href="./AliPHOSDigit.html">AliPHOSDigit</a> * digit2 ) 
85 <br>
86 <pre> Tells if (true) or not (false) two digits are neighbors)
87 </pre><hr>
88 <!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSEmcRecPoint:Compare" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:Compare">Compare</a>(TObject * obj)
89 <br>
90 <pre> Compares two RecPoints according to their position in the PHOS modules
91 </pre><hr>
92 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:ExecuteEvent" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:ExecuteEvent">ExecuteEvent</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> event, <a href="ListOfTypes.html#Int_t">Int_t</a> px, <a href="ListOfTypes.html#Int_t">Int_t</a> py)
93 <br>
94 <pre> Execute action corresponding to one event
95   This member function is called when a <a href="./AliPHOSRecPoint.html">AliPHOSRecPoint</a> is clicked with the locator
96
97   If Left button is clicked on <a href="./AliPHOSRecPoint.html">AliPHOSRecPoint</a>, the digits are switched on
98   and switched off when the mouse button is released.
99
100 </pre><hr>
101 <!--FUNCTION--><a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetDispersion" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetDispersion">GetDispersion</a>() 
102 <br>
103 <pre> Calculates the dispersion of the shower at the origine of the RecPoint
104 </pre><hr>
105 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:GetElipsAxis" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetElipsAxis">GetElipsAxis</a>(<a href="ListOfTypes.html#Float_t">Float_t</a> * lambda)
106 <br>
107 <pre> Calculates the axis of the shower ellipsoid
108 </pre><hr>
109 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:GetLocalPosition" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetLocalPosition">GetLocalPosition</a>(TVector3 &amp;LPos)
110 <br>
111 <pre> Calculates the center of gravity in the local PHOS-module coordinates
112 </pre><hr>
113 <!--FUNCTION--><a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetMaximalEnergy" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetMaximalEnergy">GetMaximalEnergy</a>(<a href="ListOfTypes.html#void">void</a>)
114 <br>
115 <pre> Finds the maximum energy in the cluster
116 </pre><hr>
117 <!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSEmcRecPoint:GetMultiplicityAtLevel" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetMultiplicityAtLevel">GetMultiplicityAtLevel</a>(<a href="ListOfTypes.html#Float_t">Float_t</a> H) 
118 <br>
119 <pre> Calculates the multiplicity of digits with energy larger than H*energy
120 </pre><hr>
121 <!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSEmcRecPoint:GetNumberOfLocalMax" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:GetNumberOfLocalMax">GetNumberOfLocalMax</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> *  maxAt, <a href="ListOfTypes.html#Float_t">Float_t</a> * maxAtEnergy) 
122 <br>
123 <pre> Calculates the number of local maxima in the cluster using fLocalMaxCut as the minimum
124   energy difference between two local maxima
125 </pre><hr>
126 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:Print" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:Print">Print</a>(<a href="ListOfTypes.html#Option_t">Option_t</a> * option) 
127 <br>
128 <pre> Print the list of digits belonging to the cluster
129 </pre><hr>
130 <!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:Streamer" href="src/AliPHOSEmcRecPoint.cxx.html#AliPHOSEmcRecPoint:Streamer">Streamer</a>(TBuffer &amp;R__b)
131 <br>
132 <pre> Stream an object of class <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>.
133  Needed because of the array <a href="./AliPHOSEmcRecPoint.html#AliPHOSEmcRecPoint:fEnergyList">fEnergyList</a>
134 </pre><br><br><br>
135 <h3>Inline Functions</h3>
136 <hr>
137 <pre>
138 <!--INLINE FUNCTION--><!--TAB6-->        <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> <a name="AliPHOSEmcRecPoint:AliPHOSEmcRecPoint" href="AliPHOSEmcRecPoint.h">AliPHOSEmcRecPoint</a>(<a href="ListOfTypes.html#Float_t">Float_t</a> W0, <a href="ListOfTypes.html#Float_t">Float_t</a> LocMaxCut)
139 <!--INLINE FUNCTION--><!--TAB6-->                   <a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetDelta" href="AliPHOSEmcRecPoint.h">GetDelta</a>()
140 <!--INLINE FUNCTION--><!--TAB6-->                  <a href="ListOfTypes.html#Float_t">Float_t</a>* <a name="AliPHOSEmcRecPoint:GetEnergiesList" href="AliPHOSEmcRecPoint.h">GetEnergiesList</a>()
141 <!--INLINE FUNCTION--><!--TAB6-->                   <a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetLocMaxCut" href="AliPHOSEmcRecPoint.h">GetLocMaxCut</a>()
142 <!--INLINE FUNCTION--><!--TAB6-->                   <a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetLogWeightCut" href="AliPHOSEmcRecPoint.h">GetLogWeightCut</a>()
143 <!--INLINE FUNCTION--><!--TAB6-->                     <a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSEmcRecPoint:GetMaximumMultiplicity" href="AliPHOSEmcRecPoint.h">GetMaximumMultiplicity</a>()
144 <!--INLINE FUNCTION--><!--TAB6-->                     <a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSEmcRecPoint:GetMultiplicity" href="AliPHOSEmcRecPoint.h">GetMultiplicity</a>() const
145 <!--INLINE FUNCTION--><!--TAB6-->                   <a href="ListOfTypes.html#Float_t">Float_t</a> <a name="AliPHOSEmcRecPoint:GetTotalEnergy" href="AliPHOSEmcRecPoint.h">GetTotalEnergy</a>() const
146 <!--INLINE FUNCTION--><!--TAB6-->                    <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSEmcRecPoint:IsEmc" href="AliPHOSEmcRecPoint.h">IsEmc</a>()
147 <!--INLINE FUNCTION--><!--TAB6-->                    <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSEmcRecPoint:IsSortable" href="AliPHOSEmcRecPoint.h">IsSortable</a>() const
148 <!--INLINE FUNCTION--><!--TAB6-->                   TClass* <a name="AliPHOSEmcRecPoint:Class" href="AliPHOSEmcRecPoint.h">Class</a>()
149 <!--INLINE FUNCTION--><!--TAB6-->                   TClass* <a name="AliPHOSEmcRecPoint:IsA" href="AliPHOSEmcRecPoint.h">IsA</a>() const
150 <!--INLINE FUNCTION--><!--TAB6-->                      <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:ShowMembers" href="AliPHOSEmcRecPoint.h">ShowMembers</a>(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
151 <!--INLINE FUNCTION--><!--TAB6-->        <a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a> <a name="AliPHOSEmcRecPoint:AliPHOSEmcRecPoint" href="AliPHOSEmcRecPoint.h">AliPHOSEmcRecPoint</a>(<a href="./AliPHOSEmcRecPoint.html">AliPHOSEmcRecPoint</a>&amp;)
152 <!--INLINE FUNCTION--><!--TAB6-->                      <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSEmcRecPoint:~AliPHOSEmcRecPoint" href="AliPHOSEmcRecPoint.h">~AliPHOSEmcRecPoint</a>()
153 </pre>
154
155 <hr><br>
156 <!--SIGNATURE-->
157 <em>Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</em><br>
158 <br>
159 <address>
160 <hr>
161 <center>
162 <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>
163 </center>
164 <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.
165 </address>
166 </body>
167 </html>