]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESD.cxx
Cleaning the ESD: first step
[u/mrichter/AliRoot.git] / STEER / AliESD.cxx
index b54ad043afd401bdd94904bf7b0320b62de4422b..576e276954a8199ca1601d079f81c52219ff91e1 100644 (file)
@@ -213,6 +213,25 @@ void AliESD::Reset()
   fErrorLogs.Clear();
 }
 
+Bool_t  AliESD::RemoveTrack(Int_t /*i*/) {
+  // ---------------------------------------------------------
+  // Remove track
+  // ---------------------------------------------------------
+
+  // Check if this track comes from a reconstructed decay
+  // if (yes) return kFALSE
+
+  // Remap the indices of the daughters of recosntructed decays
+
+  // Remove the track
+  // delete fTracks->RemoveAt(i);
+
+  // Compress the array with tracks
+  // fTracks->Compress();
+
+  return kTRUE;
+}
+
 Int_t AliESD::AddV0(const AliESDv0 *v) {
   //
   // Add V0