// delete [] map;
}
+//_____________________________________________________________________________
Bool_t AliStack::KeepPhysics(TParticle* part)
{
//
return entry;
}
+//_____________________________________________________________________________
+Int_t AliStack::CurrentTrackParent() const
+{
+ //
+ // Return number of the parent of the current track
+ //
+
+ TParticle* current = (TParticle*)fParticleMap->At(fCurrent);
+
+ if (current)
+ return current->GetFirstMother();
+ else {
+ Warning("CurrentTrackParent", "Current track not found in the stack");
+ return -1;
+ }
+}
+
//_____________________________________________________________________________
Int_t AliStack::GetPrimary(Int_t id)
{
}
}
+//_____________________________________________________________________________
Bool_t AliStack::GetEvent(Int_t event)
{
//