]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSRecParticle.cxx
Unecessary copy of AliPHOSHit object has been removed from AddHit member function...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.cxx
CommitLineData
6ad0bfa0 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
b2a60966 15/* $Id$ */
6ad0bfa0 16//_________________________________________________________________________
b2a60966 17// A Reconstructed Particle in PHOS
2f04ed65 18// To become a general class of AliRoot ?
19// Why should I put meaningless comments
20// just to satisfy
21// the code checker
b2a60966 22//
23//*-- Author: Yves Schutz (SUBATECH)
24
6ad0bfa0 25
26// --- ROOT system ---
27
28// --- Standard library ---
29
ed4205d8 30
6ad0bfa0 31// --- AliRoot header files ---
32
33#include "AliPHOSRecParticle.h"
34
35ClassImp(AliPHOSRecParticle)
36
37
a73f33f0 38//____________________________________________________________________________
39 AliPHOSRecParticle::AliPHOSRecParticle(const AliPHOSRecParticle & rp)
40{
b2a60966 41 // copy ctor
42
83974468 43 fPHOSTrackSegment = rp.fPHOSTrackSegment ;
a73f33f0 44 fType = rp.fType ;
83974468 45 fIndexInList = rp.fIndexInList ;
b2a60966 46
cafda784 47 fPdgCode = rp.fPdgCode;
48 fStatusCode = rp.fStatusCode;
49 fMother[0] = rp.fMother[0];
50 fMother[1] = rp.fMother[1];
51 fDaughter[0] = rp.fDaughter[0];
52 fDaughter[1] = rp.fDaughter[1];
53 fWeight = rp.fWeight;
54 fCalcMass = rp.fCalcMass;
55 fPx = rp.fPx;
56 fPy = rp.fPy;
57 fPz = rp.fPz;
58 fE = rp.fE;
59 fVx = rp.fVx;
60 fVy = rp.fVy;
61 fVz = rp.fVz;
62 fVt = rp.fVt;
63 fPolarTheta = rp.fPolarTheta;
64 fPolarPhi = rp.fPolarPhi;
65 fParticlePDG = rp.fParticlePDG;
b2a60966 66
b2a60966 67}
83974468 68
83974468 69
70
71