]>
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 | **************************************************************************/ | |
b2a60966 | 15 | /* $Id$ */ |
702ab87e | 16 | |
17 | /* History of cvs commits: | |
18 | * | |
19 | * $Log$ | |
0378398c | 20 | * Revision 1.26 2006/08/25 16:00:53 kharlov |
21 | * Compliance with Effective C++AliPHOSHit.cxx | |
22 | * | |
e2429969 | 23 | * Revision 1.25 2005/05/28 14:19:05 schutz |
24 | * Compilation warnings fixed by T.P. | |
25 | * | |
702ab87e | 26 | */ |
27 | ||
d15a28e7 | 28 | //_________________________________________________________________________ |
b2a60966 | 29 | // Algorithm Base class to construct PHOS track segments |
30 | // Associates EMC and PPSD clusters | |
31 | // Unfolds the EMC cluster | |
baef0810 | 32 | //*-- |
b2a60966 | 33 | //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH) |
34 | ||
d15a28e7 | 35 | |
36 | // --- ROOT system --- | |
37 | ||
d15a28e7 | 38 | // --- Standard library --- |
39 | ||
d15a28e7 | 40 | // --- AliRoot header files --- |
2731cd1e | 41 | #include "AliPHOSTrackSegmentMaker.h" |
b135d5f2 | 42 | #include "AliPHOSGetter.h" |
d15a28e7 | 43 | |
44 | ClassImp( AliPHOSTrackSegmentMaker) | |
45 | ||
46 | ||
47 | //____________________________________________________________________________ | |
0378398c | 48 | AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : |
49 | TTask("",""), | |
50 | fEventFolderName(""), | |
51 | fFirstEvent(0), | |
52 | fLastEvent(-1), | |
53 | fESD(0) | |
d15a28e7 | 54 | { |
7b7c1533 | 55 | // ctor |
8d0f3f77 | 56 | } |
57 | ||
b9791748 | 58 | //____________________________________________________________________________ |
e191bb57 | 59 | AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const TString alirunFileName, |
60 | const TString eventFolderName): | |
61 | TTask("PHOS"+AliConfig::Instance()->GetTrackerTaskName(), alirunFileName), | |
0378398c | 62 | fEventFolderName(eventFolderName), |
63 | fFirstEvent(0), | |
64 | fLastEvent(-1), | |
65 | fESD(0) | |
b9791748 | 66 | { |
67 | // ctor | |
b9791748 | 68 | } |
69 | ||
e2429969 | 70 | //____________________________________________________________________________ |
71 | AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : | |
0378398c | 72 | TTask(tsmaker), |
73 | fEventFolderName(tsmaker.GetEventFolderName()), | |
74 | fFirstEvent(tsmaker.GetFirstEvent()), | |
75 | fLastEvent(tsmaker.GetLastEvent()), | |
e2429969 | 76 | fESD(tsmaker.GetESD()) |
77 | { | |
78 | //Copy constructor | |
79 | } | |
80 | ||
8d0f3f77 | 81 | //____________________________________________________________________________ |
82 | AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker() | |
83 | { | |
b135d5f2 | 84 | //Remove this from the parental task before destroying |
73d30fc8 | 85 | if(AliPHOSGetter::Instance()->PhosLoader()) |
86 | AliPHOSGetter::Instance()->PhosLoader()->CleanTracker(); | |
2731cd1e | 87 | } |
88 |