]>
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$ */ |
d15a28e7 | 16 | //_________________________________________________________________________ |
b2a60966 | 17 | // Algorithm Base class to construct PHOS track segments |
18 | // Associates EMC and PPSD clusters | |
19 | // Unfolds the EMC cluster | |
baef0810 | 20 | //*-- |
b2a60966 | 21 | //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH) |
22 | ||
d15a28e7 | 23 | |
24 | // --- ROOT system --- | |
25 | ||
d15a28e7 | 26 | // --- Standard library --- |
27 | ||
d15a28e7 | 28 | // --- AliRoot header files --- |
2731cd1e | 29 | #include "AliPHOSTrackSegmentMaker.h" |
b135d5f2 | 30 | #include "AliPHOSGetter.h" |
d15a28e7 | 31 | |
32 | ClassImp( AliPHOSTrackSegmentMaker) | |
33 | ||
34 | ||
35 | //____________________________________________________________________________ | |
7b7c1533 | 36 | AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","") |
d15a28e7 | 37 | { |
7b7c1533 | 38 | // ctor |
88cb7938 | 39 | fEventFolderName = "" ; |
a2088a90 | 40 | fFirstEvent = 0 ; |
41 | fLastEvent = -1 ; | |
8d0f3f77 | 42 | } |
43 | ||
b9791748 | 44 | //____________________________________________________________________________ |
e191bb57 | 45 | AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const TString alirunFileName, |
46 | const TString eventFolderName): | |
47 | TTask("PHOS"+AliConfig::Instance()->GetTrackerTaskName(), alirunFileName), | |
48 | fEventFolderName(eventFolderName) | |
b9791748 | 49 | { |
50 | // ctor | |
a2088a90 | 51 | fFirstEvent = 0 ; |
52 | fLastEvent = -1 ; | |
b9791748 | 53 | } |
54 | ||
8d0f3f77 | 55 | //____________________________________________________________________________ |
56 | AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker() | |
57 | { | |
b135d5f2 | 58 | //Remove this from the parental task before destroying |
59 | AliPHOSGetter::Instance()->PhosLoader()->CleanTracker(); | |
2731cd1e | 60 | } |
61 |