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