* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.3.4.2 2002/12/11 10:00:15 hristov
-Merging with v3-09-04 (P.Skowronski)
+/* $Id$ */
-Revision 1.3.4.1 2002/11/26 16:58:52 hristov
-Merging NewIO with v3-09-04
-
-Revision 1.3 2002/10/14 14:57:00 hristov
-Merging the VirtualMC branch to the main development branch (HEAD)
-
-Revision 1.2.2.1 2002/10/14 13:14:08 hristov
-Updating VirtualMC to v3-09-02
-
-Revision 1.2 2002/09/23 13:25:52 hristov
-Typo corrected (HP)
-
-Revision 1.1 2002/09/09 17:36:05 nilsen
-new TTask to replace non-working AliITSFindClusterV2.C macro.
-
-*/
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include "AliITSFindClustersV2.h"
#include "AliITSclusterV2.h"
#include "AliITSgeom.h"
+#include "AliMC.h"
ClassImp(AliITSFindClustersV2)
Char_t name[50];
if(!fInit){
- Warning("Exec","Initilization not succesfull. Aborting.");
+ Warning("Exec","(opt=%s) Initilization not succesfull. Aborting.\n",opt);
return;
} // end if !fInit
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();