]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALClusterizer.cxx
First commit.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizer.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
16 /* $Id$ */
17
18 //_________________________________________________________________________
19 //  Base class for the clusterization algorithm (pure abstract)
20 //*--
21 //*-- Author: Yves Schutz  SUBATECH 
22 // Modif: 
23 //  August 2002 Yves Schutz: clone PHOS as closely as possible and intoduction
24 //                           of new  IO (à la PHOS)
25 //////////////////////////////////////////////////////////////////////////////
26
27 // --- ROOT system ---
28 #include "TGeometry.h"
29 #include "TDirectory.h"
30 #include "TFile.h"
31 #include "TTree.h" 
32
33 // --- Standard library ---
34 #include <Riostream.h>
35 #include <stdlib.h>   
36
37 // --- AliRoot header files ---
38 #include "AliRun.h" 
39 #include "AliEMCALClusterizer.h"
40 #include "AliHeader.h" 
41 #include "AliEMCALGetter.h"
42 #include "AliEMCALSDigitizer.h"
43 #include "AliEMCALDigitizer.h"
44
45 ClassImp(AliEMCALClusterizer)
46
47 //____________________________________________________________________________
48   AliEMCALClusterizer::AliEMCALClusterizer():TTask("","")
49 {
50   // ctor
51   fSplitFile = 0 ;  
52   fToSplit  = kFALSE ;
53
54 }
55
56 //____________________________________________________________________________
57 AliEMCALClusterizer::AliEMCALClusterizer(const char* headerFile, const char* name, const Bool_t toSplit):
58 TTask(name, headerFile)
59 {
60   // ctor
61   fToSplit  = toSplit ;
62   fSplitFile = 0 ;  
63
64 }
65
66 //____________________________________________________________________________
67 AliEMCALClusterizer::~AliEMCALClusterizer()
68 {
69   // dtor
70   
71   fSplitFile = 0 ;
72  }
73