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 --- |
8d0f3f77 |
25 | #include "TGeometry.h" |
26 | #include "TFile.h" |
27 | #include "TTree.h" |
d15a28e7 |
28 | |
d15a28e7 |
29 | // --- Standard library --- |
8d0f3f77 |
30 | #include <stdlib.h> |
d15a28e7 |
31 | |
d15a28e7 |
32 | // --- AliRoot header files --- |
8d0f3f77 |
33 | #include "AliRun.h" |
2731cd1e |
34 | #include "AliPHOSTrackSegmentMaker.h" |
8d0f3f77 |
35 | #include "AliHeader.h" |
d15a28e7 |
36 | |
37 | ClassImp( AliPHOSTrackSegmentMaker) |
38 | |
39 | |
40 | //____________________________________________________________________________ |
7b7c1533 |
41 | AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","") |
d15a28e7 |
42 | { |
7b7c1533 |
43 | // ctor |
8d0f3f77 |
44 | fSplitFile= 0 ; |
45 | |
d15a28e7 |
46 | } |
7b7c1533 |
47 | |
2731cd1e |
48 | //____________________________________________________________________________ |
fbf811ec |
49 | AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile) |
2731cd1e |
50 | { |
7b7c1533 |
51 | // ctor |
8d0f3f77 |
52 | fSplitFile= 0 ; |
fbf811ec |
53 | fToSplit = toSplit ; |
8d0f3f77 |
54 | } |
55 | |
56 | //____________________________________________________________________________ |
57 | AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker() |
58 | { |
59 | |
60 | fSplitFile = 0 ; |
2731cd1e |
61 | } |
62 | |