d15a28e7 |
1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
3 | * * |
4 | * Author: The ALICE Off-line Project. * |
5 | * Contributors are mentioned in the code where appropriate. * |
6 | * * |
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 | **************************************************************************/ |
15 | |
16 | //_________________________________________________________________________ |
17 | // A brief description of the class |
18 | //*-- Author : Gines MARTINEZ SUBATECH |
19 | ////////////////////////////////////////////////////////////////////////////// |
20 | |
21 | // --- ROOT system --- |
22 | |
23 | #include "TClonesArray.h" |
24 | |
25 | // --- Standard library --- |
26 | |
27 | // --- AliRoot header files --- |
28 | |
29 | #include "AliPHOSReconstructioner.h" |
30 | #include "AliPHOSClusterizer.h" |
31 | |
32 | ClassImp(AliPHOSReconstructioner) |
33 | |
34 | |
35 | //____________________________________________________________________________ |
36 | AliPHOSReconstructioner::AliPHOSReconstructioner() |
37 | { |
38 | // ctor |
39 | } |
40 | |
41 | //____________________________________________________________________________ |
42 | AliPHOSReconstructioner::AliPHOSReconstructioner(AliPHOSClusterizer & Clusterizer, AliPHOSTrackSegmentMaker & Tracker) |
43 | { |
9f616d61 |
44 | fClusterizer = &Clusterizer ; |
d15a28e7 |
45 | fTrackSegmentMaker = &Tracker ; |
46 | } |
47 | |
48 | //____________________________________________________________________________ |
49 | AliPHOSReconstructioner::~AliPHOSReconstructioner() |
50 | { |
51 | // dtor |
9f616d61 |
52 | fClusterizer = 0 ; |
53 | fTrackSegmentMaker = 0 ; |
d15a28e7 |
54 | } |
55 | |
56 | //____________________________________________________________________________ |
9f616d61 |
57 | void AliPHOSReconstructioner::Make(TClonesArray * dl, RecPointsList * emccl, RecPointsList * ppsdl, TrackSegmentsList * trsl) |
d15a28e7 |
58 | { |
9f616d61 |
59 | cout << "Make1" << endl; |
d15a28e7 |
60 | fClusterizer->MakeClusters(dl, emccl, ppsdl); |
9f616d61 |
61 | cout << "Make2" << endl; |
62 | fTrackSegmentMaker->MakeTrackSegments(dl, emccl, ppsdl, trsl) ; |
63 | cout << "Make3" << endl; |
d15a28e7 |
64 | } |