1 /*************************************************************************
2 * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 ////////////////////////////////////////////////////
17 // AliFlowCandidateTrack:
18 // Class for reconstructed particles to be used in flow analysis
19 // Author: Carlos Perez (cperez@cern.ch)
20 ////////////////////////////////////////////////////
22 #include "AliFlowCandidateTrack.h"
24 ClassImp(AliFlowCandidateTrack)
26 AliFlowCandidateTrack::AliFlowCandidateTrack():
32 for(int i=0; i!=5; ++i) {
38 AliFlowCandidateTrack::AliFlowCandidateTrack(const AliFlowCandidateTrack& aTrack):
41 fNDaughters(aTrack.fNDaughters)
44 for(int i=0; i!=5; ++i) {
45 fDaughter[i] = aTrack.fDaughter[i];
46 fTrack[i] = aTrack.fTrack[i];
50 AliFlowCandidateTrack& AliFlowCandidateTrack::operator=(const AliFlowCandidateTrack& aTrack)
53 if (this == &aTrack) return *this; //handles self assignment
55 AliFlowTrack::operator=(aTrack);
57 fNDaughters = aTrack.fNDaughters;
58 for(int i=0; i!=5; ++i) {
59 fDaughter[i] = aTrack.fDaughter[i];
60 fTrack[i] = aTrack.fTrack[i];
65 AliFlowCandidateTrack::~AliFlowCandidateTrack()