5502f2ea |
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 | /* $Id$ */ |
16 | //_________________________________________________________________________ |
17 | // Algorithm Base class to construct EMCAL track segments |
18 | // Associates EMC and PPSD clusters |
19 | // Unfolds the EMC cluster |
20 | //*-- |
21 | //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH) |
22 | // Adapted from PHOS by Y. Schutz (SUBATECH) |
23 | |
24 | |
25 | // --- ROOT system --- |
26 | #include "TGeometry.h" |
27 | #include "TFile.h" |
28 | #include "TTree.h" |
29 | |
30 | // --- Standard library --- |
31 | #include <stdlib.h> |
32 | |
33 | // --- AliRoot header files --- |
34 | #include "AliRun.h" |
35 | #include "AliEMCALTrackSegmentMaker.h" |
36 | #include "AliHeader.h" |
37 | |
38 | ClassImp( AliEMCALTrackSegmentMaker) |
39 | |
40 | |
41 | //____________________________________________________________________________ |
42 | AliEMCALTrackSegmentMaker:: AliEMCALTrackSegmentMaker() : TTask("","") |
43 | { |
44 | // ctor |
45 | fSplitFile= 0 ; |
46 | |
47 | } |
48 | |
49 | //____________________________________________________________________________ |
50 | AliEMCALTrackSegmentMaker::AliEMCALTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile) |
51 | { |
52 | // ctor |
53 | fSplitFile= 0 ; |
54 | fToSplit = toSplit ; |
55 | } |
56 | |
57 | //____________________________________________________________________________ |
58 | AliEMCALTrackSegmentMaker::~AliEMCALTrackSegmentMaker() |
59 | { |
60 | |
61 | fSplitFile = 0 ; |
62 | } |
63 | |