//
// Dump particle corresponding to this point
//
- GParticle *particle = GetParticle();
+ TParticle *particle = GetParticle();
if (particle) particle->Dump();
}
//
// Return name of the Geant3 particle corresponding to this point
//
- GParticle *particle = GetParticle();
+ TParticle *particle = GetParticle();
if (!particle) return "Particle";
return particle->GetName();
}
}
//_____________________________________________________________________________
-GParticle *AliPoints::GetParticle() const
+TParticle *AliPoints::GetParticle() const
{
//
// Returns pointer to particle index in AliRun::fParticles
TClonesArray *particles = gAlice->Particles();
Int_t nparticles = particles->GetEntriesFast();
if (fIndex < 0 || fIndex >= nparticles) return 0;
- return (GParticle*)particles->UncheckedAt(fIndex);
+ return (TParticle*)particles->UncheckedAt(fIndex);
}
//_____________________________________________________________________________
//
// Inspect particle corresponding to this point
//
- GParticle *particle = GetParticle();
+ TParticle *particle = GetParticle();
if (particle) particle->Inspect();
}