Removing AliMUONTransientDigit and adding AliMUONObjectPair class (Laurent)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizer.cxx
CommitLineData
483b0559 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
16/* $Id$ */
17
18//_________________________________________________________________________
19// Base class for the clusterization algorithm (pure abstract)
20//*--
21//*-- Author: Yves Schutz SUBATECH
05a92d59 22// Modif:
23// August 2002 Yves Schutz: clone PHOS as closely as possible and intoduction
24// of new IO (à la PHOS)
483b0559 25//////////////////////////////////////////////////////////////////////////////
26
27// --- ROOT system ---
483b0559 28
29// --- Standard library ---
d64c959b 30
483b0559 31
32// --- AliRoot header files ---
483b0559 33#include "AliEMCALClusterizer.h"
5dee926e 34#include "AliRunLoader.h"
483b0559 35
36ClassImp(AliEMCALClusterizer)
37
38//____________________________________________________________________________
18a21c7c 39AliEMCALClusterizer::AliEMCALClusterizer()
40 : TTask("",""),
41 fEventFolderName(""),
42 fFirstEvent(0),
43 fLastEvent(-1)
483b0559 44{
45 // ctor
46}
839828a6 47
483b0559 48//____________________________________________________________________________
e191bb57 49AliEMCALClusterizer::AliEMCALClusterizer(const TString alirunFileName,
18a21c7c 50 const TString eventFolderName)
51 : TTask("EMCAL"+AliConfig::Instance()->GetReconstructionerTaskName(), alirunFileName),
52 fEventFolderName(eventFolderName),
53 fFirstEvent(0),
54 fLastEvent(-1)
483b0559 55{
56 // ctor
18a21c7c 57}
58
59//____________________________________________________________________________
60AliEMCALClusterizer::AliEMCALClusterizer(const AliEMCALClusterizer& clu)
61 : TTask(clu.GetName(),clu.GetTitle()),
62 fEventFolderName(clu.fEventFolderName),
63 fFirstEvent(clu.fFirstEvent),
64 fLastEvent(clu.fLastEvent)
65{
66 // copy ctor
483b0559 67}
68
69//____________________________________________________________________________
70AliEMCALClusterizer::~AliEMCALClusterizer()
71{
72 // dtor
9f354b29 73 //Remove this from the parental task before destroying
5dee926e 74 AliRunLoader::GetRunLoader()->GetDetectorLoader("EMCAL")->CleanReconstructioner();
88cb7938 75}
839828a6 76