Removal of coding convention violations
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.cxx
CommitLineData
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$ */
702ab87e 16
17/* History of cvs commits:
18 *
19 * $Log$
20 */
21
d15a28e7 22//_________________________________________________________________________
b2a60966 23// Algorithm Base class to construct PHOS track segments
24// Associates EMC and PPSD clusters
25// Unfolds the EMC cluster
baef0810 26//*--
b2a60966 27//*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
28
d15a28e7 29
30// --- ROOT system ---
31
d15a28e7 32// --- Standard library ---
33
d15a28e7 34// --- AliRoot header files ---
2731cd1e 35#include "AliPHOSTrackSegmentMaker.h"
b135d5f2 36#include "AliPHOSGetter.h"
d15a28e7 37
38ClassImp( AliPHOSTrackSegmentMaker)
39
40
41//____________________________________________________________________________
7b7c1533 42 AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","")
d15a28e7 43{
7b7c1533 44 // ctor
88cb7938 45 fEventFolderName = "" ;
a2088a90 46 fFirstEvent = 0 ;
47 fLastEvent = -1 ;
8d0f3f77 48}
49
50//____________________________________________________________________________
e191bb57 51AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const TString alirunFileName,
52 const TString eventFolderName):
53 TTask("PHOS"+AliConfig::Instance()->GetTrackerTaskName(), alirunFileName),
54 fEventFolderName(eventFolderName)
b9791748 55{
56 // ctor
a2088a90 57 fFirstEvent = 0 ;
58 fLastEvent = -1 ;
b9791748 59}
60
61//____________________________________________________________________________
8d0f3f77 62AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
63{
b135d5f2 64 //Remove this from the parental task before destroying
73d30fc8 65 if(AliPHOSGetter::Instance()->PhosLoader())
66 AliPHOSGetter::Instance()->PhosLoader()->CleanTracker();
2731cd1e 67}
68