1 <!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
4 <!-- Author: ROOT team (rootdev@hpsalo.cern.ch) -->
6 <!-- Date: Mon Mar 26 12:10:34 2001 -->
9 <title>AliPHOSv2 - source file</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.">
16 <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" TEXT="#000000">
17 <a name="TopOfPage"></a>
19 /**************************************************************************
20 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
22 * Author: The ALICE Off-line Project. *
23 * Contributors are mentioned in the code where appropriate. *
25 * Permission to use, copy, modify and distribute this software and its *
26 * documentation strictly for non-commercial purposes is hereby granted *
27 * without fee, provided that the above copyright notice appears in all *
28 * copies and that both the copyright notice and this permission notice *
29 * appear in the supporting documentation. The authors make no claims *
30 * about the suitability of this software for any purpose. It is *
31 * provided "as is" without express or implied warranty. *
32 **************************************************************************/
34 <b>//_________________________________________________________________________</b>
35 <b>// Version of <a href=".././AliPHOSv1.html">AliPHOSv1</a> which keeps all hits in TreeH</b>
36 <b>// AddHit, StepManager,and FinishEvent are redefined </b>
38 <b>//*-- Author: Gines MARTINEZ (SUBATECH)</b>
39 <b>//*-- Modified Nov. 22 2000 by Dmitri Peressounko</b>
40 <b>// All hits are stored.</b>
41 <b>// Note, that primaries will not be assigned to digits:</b>
42 <b>// because of tiny energy deposition at each step.</b>
45 <b>// --- ROOT system ---</b>
46 #include "TClonesArray.h"
48 <b>// --- Standard library ---</b>
51 <b>// --- AliRoot header files ---</b>
53 #include "<a href="../AliPHOSv2.h">AliPHOSv2.h</a>"
54 #include "AliPHOSHit.h"
58 <b>//____________________________________________________________________________</b>
59 <a name="AliPHOSv2:AliPHOSv2"> </a><a href=".././AliPHOSv2.html#AliPHOSv2:AliPHOSv2">AliPHOSv2::AliPHOSv2</a>()
61 <b> // default ctor</b>
65 <b>//____________________________________________________________________________</b>
66 <a name="AliPHOSv2:AliPHOSv2"> </a><a href=".././AliPHOSv2.html#AliPHOSv2:AliPHOSv2">AliPHOSv2::AliPHOSv2</a>(const <a href="../ListOfTypes.html#char">char</a> *name, const <a href="../ListOfTypes.html#char">char</a> *title):
67 <a href=".././AliPHOSv1.html">AliPHOSv1</a>(name,title)
71 <b>//__________________________________________________________________________</b>
72 <a name="AliPHOSv2:~AliPHOSv2"> </a><a href=".././AliPHOSv2.html">AliPHOSv2</a>::~<a href=".././AliPHOSv2.html">AliPHOSv2</a>()
77 <b>//____________________________________________________________________________</b>
78 <a name="AliPHOSv2:AddHit"> </a><a href="../ListOfTypes.html#void">void</a> <a href=".././AliPHOSv2.html#AliPHOSv2:AddHit">AliPHOSv2::AddHit</a>(<a href="../ListOfTypes.html#Int_t">Int_t</a> shunt, <a href="../ListOfTypes.html#Int_t">Int_t</a> primary, <a href="../ListOfTypes.html#Int_t">Int_t</a> tracknumber, <a href="../ListOfTypes.html#Int_t">Int_t</a> Id, <a href="../ListOfTypes.html#Float_t">Float_t</a> * hits)
80 <b> // Add a hit to the hit list.</b>
82 <a href=".././AliPHOSHit.html">AliPHOSHit</a> *newHit ;
84 newHit = new <a href=".././AliPHOSHit.html">AliPHOSHit</a>(shunt, primary, tracknumber, Id, hits) ;
86 new((*fHits)[fNhits]) <a href=".././AliPHOSHit.html">AliPHOSHit</a>(*newHit) ;
101 <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>
103 <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.