]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/FLOW/Tasks/AliFlowCandidateTrack.cxx
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliFlowCandidateTrack.cxx
index cb353ad3a75ef9272eb2252da6d6c0d79445dcde..06e86f3971c3a356248255c03e136d87f9403d2d 100644 (file)
@@ -25,7 +25,6 @@ ClassImp(AliFlowCandidateTrack)
 
 AliFlowCandidateTrack::AliFlowCandidateTrack():
     AliFlowTrack(),
-    fMass(0),
     fNDaughters(0)
 {
   // ctor
@@ -35,9 +34,18 @@ AliFlowCandidateTrack::AliFlowCandidateTrack():
   }
 }
 
+void AliFlowCandidateTrack::ClearMe(void) {
+  AliFlowTrack::Clear();
+  fNDaughters = 0;
+  for(int i=0; i!=5; ++i) {
+    fDaughter[i] = -1;
+    fTrack[i] = NULL;
+  }
+  return;
+}
+
 AliFlowCandidateTrack::AliFlowCandidateTrack(const AliFlowCandidateTrack& aTrack):
   AliFlowTrack(aTrack),
-  fMass(aTrack.fMass),
   fNDaughters(aTrack.fNDaughters)
 {
   // ctor
@@ -53,7 +61,6 @@ AliFlowCandidateTrack&  AliFlowCandidateTrack::operator=(const AliFlowCandidateT
   if (this == &aTrack) return *this; //handles self assignment
 
   AliFlowTrack::operator=(aTrack);
-  fMass = aTrack.fMass;
   fNDaughters = aTrack.fNDaughters;
   for(int i=0; i!=5; ++i) {
     fDaughter[i] = aTrack.fDaughter[i];