void Digits2RecParticles(){
+ gSystem->Setenv("CONFIG_SPLIT_FILE","1") ;
TFile * fRootFile = TFile::Open("galice.root","update");
fPID->SetShowerProfileCuts(0.3, 1.8, 0.3, 1.8 ) ;
//========== Creates the Reconstructioner
- AliPHOSReconstructioner * fRec = new AliPHOSReconstructioner(fClu, fTrs, fPID) ;
+ AliPHOSReconstructor * fRec = new AliPHOSReconstructor(fClu, fTrs, fPID) ;
// fRec -> SetDebugReconstruction(kTRUE);
gAlice->GetEvent(0) ;
gAlice->TreeD()->GetEvent(0) ;
+ if (gSystem->Getenv("CONFIG_SPLIT_FILE"))
+ if(gAlice->TreeR() == 0) gAlice->MakeTree("R","Reco.PHOS.root");
+ else
+ if(gAlice->TreeR() == 0) gAlice->MakeTree("R");
+
//=========== Do the reconstruction
fPHOS->Reconstruction(fRec);