]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecParticle.cxx
Minor improvements on the code
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.cxx
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  **************************************************************************/
15 /* $Id$ */
16 //_________________________________________________________________________
17 //  A Reconstructed Particle in PHOS    
18 //  To become a general class of AliRoot ?       
19 //  Why should I put meaningless comments
20 //  just to satisfy
21 //  the code checker                 
22 //       
23 //*-- Author: Yves Schutz (SUBATECH)
24
25
26 // --- ROOT system ---
27
28 // --- Standard library ---
29
30
31 // --- AliRoot header files ---
32
33 #include "AliPHOSRecParticle.h"
34
35 ClassImp(AliPHOSRecParticle)
36
37
38 //____________________________________________________________________________
39  AliPHOSRecParticle::AliPHOSRecParticle(const AliPHOSRecParticle & rp)
40 {
41   // copy ctor
42
43   fPHOSTrackSegment = rp.fPHOSTrackSegment ; 
44   fType             = rp.fType ; 
45   fIndexInList      = rp.fIndexInList ;
46
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; 
66   
67 }
68
69
70
71