]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALTrackSegmentMaker.cxx
Corrected argument
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTrackSegmentMaker.cxx
CommitLineData
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 ---
5502f2ea 26
27// --- Standard library ---
5502f2ea 28
29// --- AliRoot header files ---
5502f2ea 30#include "AliEMCALTrackSegmentMaker.h"
9f354b29 31#include "AliEMCALGetter.h"
5502f2ea 32
33ClassImp( AliEMCALTrackSegmentMaker)
34
35
36//____________________________________________________________________________
37 AliEMCALTrackSegmentMaker:: AliEMCALTrackSegmentMaker() : TTask("","")
38{
39 // ctor
88cb7938 40 fEventFolderName = "" ;
5502f2ea 41
42}
43
44//____________________________________________________________________________
e191bb57 45AliEMCALTrackSegmentMaker::AliEMCALTrackSegmentMaker(const TString alirunFileName,
46 const TString eventFolderName):
47 TTask("EMCAL"+AliConfig::Instance()->GetTrackerTaskName(), alirunFileName),
48 fEventFolderName(eventFolderName)
5502f2ea 49{
50 // ctor
88cb7938 51
5502f2ea 52}
53
54//____________________________________________________________________________
55AliEMCALTrackSegmentMaker::~AliEMCALTrackSegmentMaker()
56{
9f354b29 57 //Remove this from the parental task before destroying
58 AliEMCALGetter::Instance()->EmcalLoader()->CleanTracker();
5502f2ea 59}
60