]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/html/AliPHOSDigit.html
clustering version one
[u/mrichter/AliRoot.git] / PHOS / html / AliPHOSDigit.html
CommitLineData
aa7c9120 1<!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
2<html>
3<!-- -->
4<!-- Author: ROOT team (rootdev@hpsalo.cern.ch) -->
5<!-- -->
6<!-- Date: Mon Mar 26 12:09:35 2001 -->
7<!-- -->
8<head>
9<title>AliPHOSDigit</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, windows, 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>AliPHOSDigit</h1>
21<hr width=300>
22<!--SDL--><em><a href=#AliPHOSDigit:description>class description</a> - <a href="src/AliPHOSDigit.cxx.html">source file</a> - <a href="AliPHOSDigit_Tree.ps">inheritance tree</a></em>
23<hr width=300>
24</center>
25<h2>class <a name="AliPHOSDigit" href="AliPHOSDigit.h">AliPHOSDigit</a> : public AliDigitNew</h2>
26<pre>
27<!--TAB4--> <b>private:</b><br>
28
29<!--TAB4--> <b>public:</b><br>
30<!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a><!--PLAIN-->()
31<!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a> primary, <a href="ListOfTypes.html#Int_t">Int_t</a> id, <a href="ListOfTypes.html#Int_t">Int_t</a> DigEnergy, <a href="ListOfTypes.html#Int_t">Int_t</a> index = -1)
32<!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a><!--PLAIN-->(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a>&amp; digit)
33<!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:~AliPHOSDigit">~AliPHOSDigit</a><!--PLAIN-->()
34<!--TAB6--> static TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Class">Class</a><!--PLAIN-->()
35<!--TAB6--> virtual <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Compare">Compare</a><!--PLAIN-->(const TObject* obj) const
36<!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:GetNprimary">GetNprimary</a><!--PLAIN-->() const
37<!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:GetPrimary">GetPrimary</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a> index) const
38<!--TAB6--> virtual TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:IsA">IsA</a><!--PLAIN-->() const
39<!--TAB6--> virtual <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:IsSortable">IsSortable</a><!--PLAIN-->() const
40<!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a>&amp; <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:operator+">operator+</a><!--PLAIN-->(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const&amp; rValue)
41<!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:operator==">operator==</a><!--PLAIN-->(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a>&amp; rValue) const
42<!--TAB6--> <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:SetAmp">SetAmp</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a> Amp)
43<!--TAB6--> <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:ShiftPrimary">ShiftPrimary</a><!--PLAIN-->(<a href="ListOfTypes.html#Int_t">Int_t</a> shift)
44<!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:ShowMembers">ShowMembers</a><!--PLAIN-->(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
45<!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Streamer">Streamer</a><!--PLAIN-->(TBuffer&amp; b)
46<!--TAB6--> <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:StreamerNVirtual">StreamerNVirtual</a><!--PLAIN-->(TBuffer&amp; b)
47
48<h3><!--TAB2--> <a name="AliPHOSDigit:Data Members">Data Members</a></h3>
49<!--TAB4--> <b>private:</b><br>
50<!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fNprimary">fNprimary</a><!--PLAIN--> <!--TAB--><i><a name="Title:fNprimary">Number of primaries</a></i>
51<!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fNMaxPrimary">fNMaxPrimary</a><!--PLAIN--> <!--TAB--><i><a name="Title:fNMaxPrimary">! Max Number of primaries</a></i>
52<!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fPrimary">fPrimary[5]</a><!--PLAIN--> <!--TAB--><i><a name="Title:fPrimary">Array of primaries </a></i>
53
54<!--TAB4--> <b>public:</b><br>
55</pre>
56<!--END-->
57<hr>
58<!--DESCRIPTION--><h2><a name="AliPHOSDigit:description">Class Description</a></h2>
59<pre> PHOS digit: Id
60 energy
61 3 identifiers for the primary particle(s) at the origine of the digit
62 The digits are made in FinishEvent() by summing all the hits in a single PHOS crystal or PPSD gas cell
63 It would be nice to replace the 3 identifiers by an array, but, because digits are kept in a TClonesQArray,
64 it is not possible to stream such an array... (beyond my understqnding!)
65
66*-- Author: Laurent Aphecetche &amp; Yves Schutz (SUBATECH)
67</pre><hr>
68<!--FUNCTION--> <a name="AliPHOSDigit:AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a>()
69<br>
70<pre> default ctor
71</pre><hr>
72<!--FUNCTION--> <a name="AliPHOSDigit:AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> primary, <a href="ListOfTypes.html#Int_t">Int_t</a> id, <a href="ListOfTypes.html#Int_t">Int_t</a> DigEnergy, <a href="ListOfTypes.html#Int_t">Int_t</a> index)
73<br>
74<pre> ctor with all data
75</pre><hr>
76<!--FUNCTION--> <a name="AliPHOSDigit:AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a>(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a> &amp; digit)
77<br>
78<pre> copy ctor
79</pre><hr>
80<!--FUNCTION--> <a name="AliPHOSDigit:~AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:~AliPHOSDigit">~AliPHOSDigit</a>()
81<br>
82<pre> Delete array of primiries if any
83</pre><hr>
84<!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSDigit:Compare" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:Compare">Compare</a>(const TObject * obj) const
85<br>
86<pre> Compares two digits with respect to its Id
87 to sort according increasing Id
88</pre><hr>
89<!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSDigit:GetPrimary" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:GetPrimary">GetPrimary</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> index) const
90<br>
91<pre> retrieves the primary particle <a href="ListOfTypes.html#number">number</a> given its index in the list
92</pre><hr>
93<!--FUNCTION--><a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:ShiftPrimary" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:ShiftPrimary">ShiftPrimary</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> shift)<br>
94<pre>shifts primary nimber to BIG offset, to separate primary in different TreeK
95</pre><br><br><br>
96<h3>Inline Functions</h3>
97<hr>
98<pre>
99<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSDigit:operator==" href="AliPHOSDigit.h">operator==</a>(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a>&amp; rValue) const
100<!--INLINE FUNCTION--><!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a>&amp; <a name="AliPHOSDigit:operator+" href="AliPHOSDigit.h">operator+</a>(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const&amp; rValue)
101<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSDigit:GetNprimary" href="AliPHOSDigit.h">GetNprimary</a>() const
102<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSDigit:IsSortable" href="AliPHOSDigit.h">IsSortable</a>() const
103<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:SetAmp" href="AliPHOSDigit.h">SetAmp</a>(<a href="ListOfTypes.html#Int_t">Int_t</a> Amp)
104<!--INLINE FUNCTION--><!--TAB6--> TClass* <a name="AliPHOSDigit:Class" href="AliPHOSDigit.h">Class</a>()
105<!--INLINE FUNCTION--><!--TAB6--> TClass* <a name="AliPHOSDigit:IsA" href="AliPHOSDigit.h">IsA</a>() const
106<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:ShowMembers" href="AliPHOSDigit.h">ShowMembers</a>(TMemberInspector&amp; insp, <a href="ListOfTypes.html#char">char</a>* parent)
107<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:Streamer" href="AliPHOSDigit.h">Streamer</a>(TBuffer&amp; b)
108<!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:StreamerNVirtual" href="AliPHOSDigit.h">StreamerNVirtual</a>(TBuffer&amp; b)
109</pre>
110
111<hr><br>
112<!--SIGNATURE-->
113<em>Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</em><br>
114<br>
115<address>
116<hr>
117<center>
118<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>
119</center>
120<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.
121</address>
122</body>
123</html>