#include "AliITSFindClustersV2.h"
#include "AliITSclusterV2.h"
#include "AliITSgeom.h"
+#include "AliMC.h"
ClassImp(AliITSFindClustersV2)
lab[3] = i;
lad = lab[0];
if(lad>=0){
- part = (TParticle*) fAr->Particle(lad);
+ part = (TParticle*) fAr->GetMCApp()->Particle(lad);
lad = -3;
while(part->P() < 0.005){
if(part->GetFirstMother()<0){
break;
} // end if part->GetFirstMother()<0
lad = part->GetFirstMother();
- part = (TParticle*) fAr->Particle(lad);
+ part = (TParticle*) fAr->GetMCApp()->Particle(lad);
} // end while part->P() < 0.005
if(lab[1]<0) lab[1] = lad;
else if(lab[2]<0) lab[2] = lad;
else Warning("Exec","No empty lables!");
} // end if lab>=0
- new(cl[j]) AliITSclusterV2(lab,lp);
+ Int_t info[3]={0,0,0};
+ new(cl[j]) AliITSclusterV2(lab,lp,info);
} // end for j
cTree->Fill();
cluster->Delete();