1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //_________________________________________________________________________
19 // Algorithm class for the reconstruction: clusterizer
20 // track segment maker
21 // particle identifier
23 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
26 // --- ROOT system ---
28 #include "TClonesArray.h"
30 // --- Standard library ---
32 // --- AliRoot header files ---
34 #include "AliPHOSReconstructioner.h"
35 #include "AliPHOSClusterizer.h"
37 ClassImp(AliPHOSReconstructioner)
39 //____________________________________________________________________________
40 AliPHOSReconstructioner::AliPHOSReconstructioner(AliPHOSClusterizer * Clusterizer,
41 AliPHOSTrackSegmentMaker * Tracker,
46 fClusterizer = Clusterizer ;
47 fTrackSegmentMaker = Tracker ;
52 //____________________________________________________________________________
53 void AliPHOSReconstructioner::Init(AliPHOSClusterizer * Clusterizer,
54 AliPHOSTrackSegmentMaker * Tracker,
57 fClusterizer = Clusterizer ;
58 fTrackSegmentMaker = Tracker ;
62 //____________________________________________________________________________
63 void AliPHOSReconstructioner::Make(TClonesArray * dl, RecPointsList * emccl, RecPointsList * ppsdl,
64 TrackSegmentsList * trsl, RecParticlesList * rpl)
66 // Launches the Reconstruction process in the sequence: Make the reconstructed poins (clusterize)
67 // Make the track segments
68 // Make the reconstructed particles
70 cout << "Start making reconstructed points (clusterizing)" << endl;
71 fClusterizer->MakeClusters(dl, emccl, ppsdl);
73 cout << "Start making track segments" << endl;
74 fTrackSegmentMaker->MakeTrackSegments(dl, emccl, ppsdl, trsl) ;
76 cout << "Start making reconstructed particles" << endl;
77 fPID->MakeParticles(trsl, rpl) ;