]>
Commit | Line | Data |
---|---|---|
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 | ||
b2a60966 | 16 | /* $Id$ */ |
17 | ||
d15a28e7 | 18 | //_________________________________________________________________________ |
b2a60966 | 19 | // Base class for the clusterization algorithm (pure abstract) |
baef0810 | 20 | //*-- |
b2a60966 | 21 | //*-- Author: Yves Schutz SUBATECH |
d15a28e7 | 22 | ////////////////////////////////////////////////////////////////////////////// |
23 | ||
24 | // --- ROOT system --- | |
25 | ||
d15a28e7 | 26 | // --- Standard library --- |
d15a28e7 | 27 | |
28 | // --- AliRoot header files --- | |
d15a28e7 | 29 | #include "AliPHOSClusterizer.h" |
b135d5f2 | 30 | #include "AliPHOSGetter.h" |
d15a28e7 | 31 | |
32 | ClassImp(AliPHOSClusterizer) | |
33 | ||
34 | //____________________________________________________________________________ | |
0378398c | 35 | AliPHOSClusterizer::AliPHOSClusterizer(): |
36 | TTask("",""), | |
37 | fEventFolderName(""), | |
38 | fFirstEvent(0), | |
39 | fLastEvent(-1), | |
7ae07b77 | 40 | fRawReader(0), |
41 | fQADM(0) | |
9a1398dd | 42 | { |
43 | // ctor | |
44 | } | |
8d0f3f77 | 45 | |
9a1398dd | 46 | //____________________________________________________________________________ |
e191bb57 | 47 | AliPHOSClusterizer::AliPHOSClusterizer(const TString alirunFileName, |
48 | const TString eventFolderName): | |
49 | TTask("PHOS"+AliConfig::Instance()->GetReconstructionerTaskName(), | |
0378398c | 50 | alirunFileName), fEventFolderName(eventFolderName), |
51 | fFirstEvent(0), | |
52 | fLastEvent(-1), | |
7ae07b77 | 53 | fRawReader(0), |
54 | fQADM(0) | |
d15a28e7 | 55 | { |
56 | // ctor | |
57 | } | |
58 | ||
0378398c | 59 | //____________________________________________________________________________ |
60 | AliPHOSClusterizer::AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer) : | |
61 | TTask(clusterizer),fEventFolderName(clusterizer.GetEventFolderName()), | |
62 | fFirstEvent(clusterizer.GetFirstEvent()),fLastEvent(clusterizer.GetLastEvent()), | |
7ae07b77 | 63 | fRawReader(clusterizer.GetRawReader()), |
64 | fQADM(clusterizer.GetQualAssDataMaker()) | |
65 | ||
0378398c | 66 | { |
67 | //Copy constructor | |
68 | } | |
d15a28e7 | 69 | //____________________________________________________________________________ |
70 | AliPHOSClusterizer::~AliPHOSClusterizer() | |
71 | { | |
72 | // dtor | |
8d0f3f77 | 73 | |
b135d5f2 | 74 | //Remove this from the parental task before destroying |
acd59e25 | 75 | if(AliPHOSGetter::Instance()->PhosLoader()) |
76 | AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner(); | |
8d0f3f77 | 77 | } |
78 | ||
8d0f3f77 | 79 |