]>
Commit | Line | Data |
---|---|---|
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 PHOS track segments | |
18 | // Associates EMC and PPSD clusters | |
19 | // Unfolds the EMC cluster | |
20 | //*-- | |
21 | //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH) | |
22 | ||
23 | ||
24 | // --- ROOT system --- | |
25 | #include "TFile.h" | |
26 | ||
27 | // --- Standard library --- | |
28 | ||
29 | // --- AliRoot header files --- | |
30 | #include "AliPHOSTrackSegmentMaker.h" | |
31 | ||
32 | ClassImp( AliPHOSTrackSegmentMaker) | |
33 | ||
34 | ||
35 | //____________________________________________________________________________ | |
36 | AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","") | |
37 | { | |
38 | // ctor | |
39 | fSplitFile= 0 ; | |
40 | ||
41 | } | |
42 | ||
43 | //____________________________________________________________________________ | |
44 | AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile) | |
45 | { | |
46 | // ctor | |
47 | fSplitFile= 0 ; | |
48 | fToSplit = toSplit ; | |
49 | } | |
50 | ||
51 | //____________________________________________________________________________ | |
52 | AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker& ts) : | |
53 | TTask(ts.GetName(), ts.GetTitle()) | |
54 | { | |
55 | // ctor | |
56 | fSplitFile = new TFile( (ts.fSplitFile)->GetName(), "new") ; | |
57 | fToSplit = ts.fToSplit ; | |
58 | } | |
59 | ||
60 | //____________________________________________________________________________ | |
61 | AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker() | |
62 | { | |
63 | ||
64 | fSplitFile = 0 ; | |
65 | } | |
66 |