]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegmentMaker.cxx
Missing implementation of ctors and = operator are added
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.cxx
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 /* History of cvs commits:
18  *
19  * $Log$
20  * Revision 1.26  2006/08/25 16:00:53  kharlov
21  * Compliance with Effective C++AliPHOSHit.cxx
22  *
23  * Revision 1.25  2005/05/28 14:19:05  schutz
24  * Compilation warnings fixed by T.P.
25  *
26  */
27
28 //_________________________________________________________________________
29 // Algorithm Base class to construct PHOS track segments
30 // Associates EMC and PPSD clusters
31 // Unfolds the EMC cluster   
32 //*-- 
33 //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
34
35
36 // --- ROOT system ---
37
38 // --- Standard library ---
39
40 // --- AliRoot header files ---
41 #include "AliPHOSTrackSegmentMaker.h"
42 #include "AliPHOSGetter.h"
43
44 ClassImp( AliPHOSTrackSegmentMaker) 
45
46
47 //____________________________________________________________________________
48 AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : 
49   TTask("",""),
50   fEventFolderName(""),
51   fFirstEvent(0),
52   fLastEvent(-1),
53   fESD(0)
54 {
55   // ctor
56 }
57
58 //____________________________________________________________________________
59 AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const TString alirunFileName, 
60                                                    const TString eventFolderName):
61   TTask("PHOS"+AliConfig::Instance()->GetTrackerTaskName(), alirunFileName), 
62   fEventFolderName(eventFolderName),
63   fFirstEvent(0),
64   fLastEvent(-1),
65   fESD(0)
66 {
67   // ctor
68 }
69
70 //____________________________________________________________________________
71 AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) :
72   TTask(tsmaker),
73   fEventFolderName(tsmaker.GetEventFolderName()),
74   fFirstEvent(tsmaker.GetFirstEvent()),
75   fLastEvent(tsmaker.GetLastEvent()),
76   fESD(tsmaker.GetESD())
77 {
78   //Copy constructor
79
80
81 //____________________________________________________________________________
82 AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
83 {
84  //Remove this from the parental task before destroying
85   if(AliPHOSGetter::Instance()->PhosLoader())
86     AliPHOSGetter::Instance()->PhosLoader()->CleanTracker();
87 }
88