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:48 2000 -->
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, 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>
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>
25 <h2>class <a name="AliPHOSDigit" href="AliPHOSDigit.h">AliPHOSDigit</a> : public AliDigitNew</h2>
28 <!--TAB4--> <b>public:</b><br>
29 <!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a><!--PLAIN-->()
30 <!--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)
31 <!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a><!--PLAIN-->(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a>& digit)
32 <!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:~AliPHOSDigit">~AliPHOSDigit</a><!--PLAIN-->()
33 <!--TAB6--> TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Class">Class</a><!--PLAIN-->()
34 <!--TAB6--> virtual <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Compare">Compare</a><!--PLAIN-->(TObject* obj)
35 <!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:GetNprimary">GetNprimary</a><!--PLAIN-->() const
36 <!--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
37 <!--TAB6--> virtual TClass* <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:IsA">IsA</a><!--PLAIN-->() const
38 <!--TAB6--> virtual <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:IsSortable">IsSortable</a><!--PLAIN-->() const
39 <!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a>& <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:operator+">operator+</a><!--PLAIN-->(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const& rValue)
40 <!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:operator==">operator==</a><!--PLAIN-->(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const& rValue) const
41 <!--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)
42 <!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:ShowMembers">ShowMembers</a><!--PLAIN-->(TMemberInspector& insp, <a href="ListOfTypes.html#char">char</a>* parent)
43 <!--TAB6--> virtual <a href="ListOfTypes.html#void">void</a> <!--TAB--><!--BOLD--><a href="#AliPHOSDigit:Streamer">Streamer</a><!--PLAIN-->(TBuffer& b)
45 <h3><!--TAB2--> <a name="AliPHOSDigit:Data Members">Data Members</a></h3>
46 <!--TAB4--> <b>private:</b><br>
47 <!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fPrimary1">fPrimary1</a><!--PLAIN--> <!--TAB--><i><a name="Title:fPrimary1">first primary (because I do not know how to stream *fPrimary) </a></i>
48 <!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fPrimary2">fPrimary2</a><!--PLAIN--> <!--TAB--><i><a name="Title:fPrimary2">second primary (because I do not know how to stream *fPrimary) </a></i>
49 <!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <!--TAB--><!--BOLD--><a name="AliPHOSDigit:fPrimary3">fPrimary3</a><!--PLAIN--> <!--TAB--><i><a name="Title:fPrimary3">third primary (because I do not know how to stream *fPrimary) </a></i>
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>
54 <!--DESCRIPTION--><h2><a name="AliPHOSDigit:description">Class Description</a></h2>
57 3 identifiers for the primary particle(s) at the origine of the digit
58 The digits are made in FinishEvent() by summing all the hits in a single PHOS crystal or PPSD gas cell
59 It would be nice to replace the 3 identifiers by an array, but, because digits are kept in a TClonesQArray,
60 it is not possible to stream such an array... (beyond my understqnding!)
62 *-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
64 <!--FUNCTION--> <a name="AliPHOSDigit:AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a>()
68 <!--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)
70 <pre> ctor with all data
72 <!--FUNCTION--> <a name="AliPHOSDigit:AliPHOSDigit" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:AliPHOSDigit">AliPHOSDigit</a>(const <a href="./AliPHOSDigit.html">AliPHOSDigit</a> & digit)
76 <!--FUNCTION--><a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSDigit:Compare" href="src/AliPHOSDigit.cxx.html#AliPHOSDigit:Compare">Compare</a>(TObject * obj)
78 <pre> Compares two digits with respect to its Id
79 to sort according increasing Id
81 <!--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
83 <pre> Returns the primary particle id index =1,2,3
85 <h3>Inline Functions</h3>
88 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSDigit:operator==" href="AliPHOSDigit.h">operator==</a>(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const& rValue) const
89 <!--INLINE FUNCTION--><!--TAB6--> <a href="./AliPHOSDigit.html">AliPHOSDigit</a>& <a name="AliPHOSDigit:operator+" href="AliPHOSDigit.h">operator+</a>(<a href="./AliPHOSDigit.html">AliPHOSDigit</a> const& rValue)
90 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Int_t">Int_t</a> <a name="AliPHOSDigit:GetNprimary" href="AliPHOSDigit.h">GetNprimary</a>() const
91 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#Bool_t">Bool_t</a> <a name="AliPHOSDigit:IsSortable" href="AliPHOSDigit.h">IsSortable</a>() const
92 <!--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)
93 <!--INLINE FUNCTION--><!--TAB6--> TClass* <a name="AliPHOSDigit:Class" href="AliPHOSDigit.h">Class</a>()
94 <!--INLINE FUNCTION--><!--TAB6--> TClass* <a name="AliPHOSDigit:IsA" href="AliPHOSDigit.h">IsA</a>() const
95 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:ShowMembers" href="AliPHOSDigit.h">ShowMembers</a>(TMemberInspector& insp, <a href="ListOfTypes.html#char">char</a>* parent)
96 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:Streamer" href="AliPHOSDigit.h">Streamer</a>(TBuffer& b)
97 <!--INLINE FUNCTION--><!--TAB6--> <a href="ListOfTypes.html#void">void</a> <a name="AliPHOSDigit:~AliPHOSDigit" href="AliPHOSDigit.h">~AliPHOSDigit</a>()
102 <em>Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</em><br>
107 <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>
109 <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.