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 **************************************************************************/
16 //_________________________________________________________________________
17 // A brief description of the class
18 //*-- Author : Gines MARTINEZ SUBATECH
19 //////////////////////////////////////////////////////////////////////////////
21 // --- ROOT system ---
23 #include "TClonesArray.h"
25 // --- Standard library ---
27 // --- AliRoot header files ---
29 #include "AliPHOSReconstructioner.h"
30 #include "AliPHOSClusterizer.h"
32 ClassImp(AliPHOSReconstructioner)
35 //____________________________________________________________________________
36 AliPHOSReconstructioner::AliPHOSReconstructioner()
41 //____________________________________________________________________________
42 AliPHOSReconstructioner::AliPHOSReconstructioner(AliPHOSClusterizer * Clusterizer,
43 AliPHOSTrackSegmentMaker * Tracker,
46 fClusterizer = Clusterizer ;
47 fTrackSegmentMaker = Tracker ;
51 //____________________________________________________________________________
52 AliPHOSReconstructioner::~AliPHOSReconstructioner()
57 //____________________________________________________________________________
58 void AliPHOSReconstructioner::Init(AliPHOSClusterizer * Clusterizer,
59 AliPHOSTrackSegmentMaker * Tracker,
62 fClusterizer = Clusterizer ;
63 fTrackSegmentMaker = Tracker ;
69 //____________________________________________________________________________
70 void AliPHOSReconstructioner::Make(TClonesArray * dl, RecPointsList * emccl, RecPointsList * ppsdl,
71 TrackSegmentsList * trsl, RecParticlesList * rpl)
73 fClusterizer->MakeClusters(dl, emccl, ppsdl);
76 fTrackSegmentMaker->MakeTrackSegments(dl, emccl, ppsdl, trsl) ;
78 fPID->MakeParticles(trsl, rpl) ;