+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-// IETF/DTD HTML 2.0// EN">
-<html>
-<!-- -->
-<!-- Author: ROOT team (rootdev@hpsalo.cern.ch) -->
-<!-- -->
-<!-- Date: Tue Apr 3 16:13:23 2001 -->
-<!-- -->
-<head>
-<title>AliPHOSRecParticle - source file</title>
-<link rev=made href="mailto:rootdev@root.cern.ch">
-<meta name="rating" content="General">
-<meta name="objecttype" content="Manual">
-<meta name="keywords" content="software development, oo, object oriented, unix, x11, windows, c++, html, rene brun, fons rademakers">
-<meta name="description" content="ROOT - An Object Oriented Framework For Large Scale Data Analysis.">
-</head>
-<body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" TEXT="#000000">
-<a name="TopOfPage"></a>
-<pre>
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * *
- * Author: The ALICE Off-line Project. *
- * Contributors are mentioned in the code where appropriate. *
- * *
- * Permission to use, copy, modify and distribute this software and its *
- * documentation strictly for non-commercial purposes is hereby granted *
- * without fee, provided that the above copyright notice appears in all *
- * copies and that both the copyright notice and this permission notice *
- * appear in the supporting documentation. The authors make no claims *
- * about the suitability of this software for any purpose. It is *
- * provided "as is" without express or implied warranty. *
- **************************************************************************/
-/* $Id$ */
-<b>//_________________________________________________________________________</b>
-<b>// A Reconstructed Particle in PHOS </b>
-<b>// To become a general class of AliRoot ? </b>
-<b>// Why should I put meaningless comments</b>
-<b>// just to satisfy</b>
-<b>// the code checker </b>
-<b>// </b>
-<b>//*-- Author: Yves Schutz (SUBATECH)</b>
-
-
-<b>// --- ROOT system ---</b>
-
-<b>// --- Standard library ---</b>
-
-#include <assert.h>
-
-<b>// --- AliRoot header files ---</b>
-
-#include "AliPHOSRecParticle.h"
-#include "TPad.h"
-
-ClassImp(AliPHOSRecParticle)
-
-
-<b>//____________________________________________________________________________</b>
-<a name="AliPHOSRecParticle:AliPHOSRecParticle"> </a> <a href=".././AliPHOSRecParticle.html#AliPHOSRecParticle:AliPHOSRecParticle">AliPHOSRecParticle::AliPHOSRecParticle</a>(const <a href=".././AliPHOSRecParticle.html">AliPHOSRecParticle</a> & rp)
-{
-<b> // copy ctor</b>
-
- <a href=".././AliPHOSRecParticle.html#AliPHOSRecParticle:fPHOSTrackSegment">fPHOSTrackSegment</a> = rp.<a href=".././AliPHOSRecParticle.html#AliPHOSRecParticle:fPHOSTrackSegment">fPHOSTrackSegment</a> ;
- <a href=".././AliPHOSFastRecParticle.html#AliPHOSFastRecParticle:fType">fType</a> = rp.<a href=".././AliPHOSFastRecParticle.html#AliPHOSFastRecParticle:fType">fType</a> ;
- <a href=".././AliPHOSFastRecParticle.html#AliPHOSFastRecParticle:fIndexInList">fIndexInList</a> = rp.<a href=".././AliPHOSFastRecParticle.html#AliPHOSFastRecParticle:fIndexInList">fIndexInList</a> ;
-
- fPdgCode = rp.fPdgCode;
- fStatusCode = rp.fStatusCode;
- fMother[0] = rp.fMother[0];
- fMother[1] = rp.fMother[1];
- fDaughter[0] = rp.fDaughter[0];
- fDaughter[1] = rp.fDaughter[1];
- fWeight = rp.fWeight;
- fCalcMass = rp.fCalcMass;
- fPx = rp.fPx;
- fPy = rp.fPy;
- fPz = rp.fPz;
- fE = rp.fE;
- fVx = rp.fVx;
- fVy = rp.fVy;
- fVz = rp.fVz;
- fVt = rp.fVt;
- fPolarTheta = rp.fPolarTheta;
- fPolarPhi = rp.fPolarPhi;
- fParticlePDG = rp.fParticlePDG;
-}
-
-<b>//____________________________________________________________________________</b>
-<a name="AliPHOSRecParticle:GetPrimaries"> </a><a href="../ListOfTypes.html#Int_t">Int_t</a> * <a href=".././AliPHOSRecParticle.html#AliPHOSRecParticle:GetPrimaries">AliPHOSRecParticle::GetPrimaries</a>(<a href="../ListOfTypes.html#Int_t">Int_t</a> & <a href="../ListOfTypes.html#number">number</a>)
-{
-<b> // Retrieves all the primary particles at the origine of this reconstructed particle</b>
-
-<b>// <a href=".././AliPHOSTrackSegment.html">AliPHOSTrackSegment</a> * ts = GetPHOSTrackSegment() ;</b>
-
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> emcnumber = 0 ; </b>
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> * emclist = ts->GetPrimariesEmc(emcnumber) ;</b>
-
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> ppsdlnumber = 0 ;</b>
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> * ppsdllist = ts->GetPrimariesPpsdLow(ppsdlnumber) ;</b>
-
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> ppsdunumber = 0 ; </b>
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> * ppsdulist = ts->GetPrimariesPpsdUp(ppsdunumber) ;</b>
-
-<b>// <a href="../ListOfTypes.html#number">number</a> = emcnumber + ppsdlnumber + ppsdunumber ;</b>
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> * list = new <a href="../ListOfTypes.html#Int_t">Int_t</a>[<a href="../ListOfTypes.html#number">number</a>] ;</b>
-
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> index ; </b>
-<b>// for ( index = 0 ; index < emcnumber ; index++)</b>
-<b>// list[index] = emclist[index] ;</b>
-
-<b>// <a href="../ListOfTypes.html#Int_t">Int_t</a> jndex ; </b>
-<b>// for ( jndex = 0 ; jndex < ppsdlnumber ; jndex++) {</b>
-<b>// assert(index < <a href="../ListOfTypes.html#number">number</a>) ;</b>
-<b>// list[index] = ppsdllist[jndex] ;</b>
-<b>// index++ ; </b>
-<b>// }</b>
-
-<b>// for ( jndex = 0 ; jndex < ppsdunumber ; jndex++) {</b>
-<b>// assert(index < <a href="../ListOfTypes.html#number">number</a>) ;</b>
-<b>// list[index] = ppsdulist[jndex] ;</b>
-<b>// index++ ; </b>
-<b>// }</b>
-
-<b>// delete emclist ;</b>
-<b>// delete ppsdllist ;</b>
-<b>// delete ppsdulist ;</b>
-
- return 0 ; //<--- list ;
-}
-
-
-
-
-</pre>
-
-<!--SIGNATURE-->
-<br>
-<address>
-<hr>
-<center>
-<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>
-</center>
-<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.
-</address>
-</body>
-</html>