]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSClusterizer.cxx
Coding violations...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.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 **************************************************************************/
15
b2a60966 16/* $Id$ */
17
d15a28e7 18//_________________________________________________________________________
b2a60966 19// Base class for the clusterization algorithm (pure abstract)
baef0810 20//*--
b2a60966 21//*-- Author: Yves Schutz SUBATECH
d15a28e7 22//////////////////////////////////////////////////////////////////////////////
23
24// --- ROOT system ---
25
d15a28e7 26// --- Standard library ---
d15a28e7 27
28// --- AliRoot header files ---
d15a28e7 29#include "AliPHOSClusterizer.h"
b135d5f2 30#include "AliPHOSGetter.h"
d15a28e7 31
32ClassImp(AliPHOSClusterizer)
33
34//____________________________________________________________________________
7b7c1533 35 AliPHOSClusterizer::AliPHOSClusterizer():TTask("","")
9a1398dd 36{
37 // ctor
9bd3caba 38
88cb7938 39 fEventFolderName = "" ;
a2088a90 40 fFirstEvent = 0 ;
41 fLastEvent = -1 ;
9a1398dd 42}
8d0f3f77 43
9a1398dd 44//____________________________________________________________________________
e191bb57 45AliPHOSClusterizer::AliPHOSClusterizer(const TString alirunFileName,
46 const TString eventFolderName):
47 TTask("PHOS"+AliConfig::Instance()->GetReconstructionerTaskName(),
48 alirunFileName), fEventFolderName(eventFolderName)
d15a28e7 49{
50 // ctor
88cb7938 51
a2088a90 52 fFirstEvent = 0 ;
53 fLastEvent = -1 ;
d15a28e7 54}
55
56//____________________________________________________________________________
57AliPHOSClusterizer::~AliPHOSClusterizer()
58{
59 // dtor
8d0f3f77 60
b135d5f2 61 //Remove this from the parental task before destroying
62 AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner();
8d0f3f77 63}
64
8d0f3f77 65