X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliDisplay.cxx;h=edf4ea23867f9dfc66fba55704288cfac25ac7f3;hb=8be44a66ccb477aec32d4515225148e0c39430ec;hp=fc09dc438381ed303b12458f81a765710be49768;hpb=af7ba10c3e29509de3d1d83a04d842895e74cf03;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliDisplay.cxx b/STEER/AliDisplay.cxx index fc09dc43838..edf4ea23867 100644 --- a/STEER/AliDisplay.cxx +++ b/STEER/AliDisplay.cxx @@ -37,6 +37,7 @@ #include #include +#include "AliLog.h" #include "AliDetector.h" #include "AliDisplay.h" #include "AliHeader.h" @@ -349,7 +350,7 @@ void AliDisplay::Copy(TObject &) const // // Copy *this onto disp -- not implemented // - Fatal("Copy","Not implemented~\n"); + AliFatal("Not implemented"); } //---------------------------------------------------------------------------- @@ -373,11 +374,11 @@ void AliDisplay::ShowTrack(Int_t idx) // TClonesArray *particles=gAlice->Particles(); // TParticle *p = (TParticle*)particles->UncheckedAt(idx); TParticle *p = gAlice->GetMCApp()->Particle(idx); - printf("\nTrack index %d\n",idx); - printf("Particle ID %d\n",p->GetPdgCode()); - printf("Parent %d\n",p->GetFirstMother()); - printf("First child %d\n",p->GetFirstDaughter()); - printf("Px,Py,Pz %f %f %f\n",p->Px(),p->Py(),p->Pz()); + AliInfo(Form("Track index %d",idx)); + AliInfo(Form("Particle ID %d",p->GetPdgCode())); + AliInfo(Form("Parent %d",p->GetFirstMother())); + AliInfo(Form("First child %d",p->GetFirstDaughter())); + AliInfo(Form("Px,Py,Pz %f %f %f",p->Px(),p->Py(),p->Pz())); return; } } @@ -947,9 +948,8 @@ void AliDisplay::ShowNextEvent(Int_t delta) Int_t currentEvent = gAlice->GetRunLoader()->GetEventNumber(); Int_t newEvent = currentEvent + delta; gAlice->GetEvent(newEvent); - cout<<"AliDisplay::ShowNextEvent: delta = "<cd();