#include <TNode.h>
#include <TCint.h>
#include <TSystem.h>
+#include <TObjectTable.h>
#include "TParticle.h"
#include "AliRun.h"
// Called at the end of each primary track
//
+ static Int_t count=0;
+ const Int_t times=10;
// This primary is finished, purify stack
gAlice->PurifyKine();
// Reset Hits info
gAlice->ResetHits();
+
+ //
+ // if(++count%times==1) gObjectTable->Print();
}
//_____________________________________________________________________________
//
// Return next track from stack of particles
//
- const TVector3 *pol;
+ TVector3 pol;
fCurrent=-1;
TParticle *track;
for(Int_t i=fNtrack-1; i>=0; i--) {
vpos[0]=track->Vx();
vpos[1]=track->Vy();
vpos[2]=track->Vz();
- pol = track->GetPolarisation();
- polar[0]=pol->X();
- polar[1]=pol->Y();
- polar[2]=pol->Z();
+ track->GetPolarisation(pol);
+ polar[0]=pol.X();
+ polar[1]=pol.Y();
+ polar[2]=pol.Z();
tof=track->T();
track->SetBit(Done_Bit);
break;