New Version from Alla
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSCLUSTERIZER_H
2#define ALIPHOSCLUSTERIZER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////
7// Algorithme class for the clusterization //
8// interface class //
9// Version SUBATECH //
10// Author Yves Schutz SUBATECH //
11// //
12// pABC //
13////////////////////////////////////////////////
14
15// --- ROOT system ---
16
17#include "TObject.h"
18#include "TClonesArray.h"
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
23
24
25typedef TClonesArray RecPointsList ; // a cluster has a variable size (see ROOT FAQ)
26typedef TClonesArray DigitsList ; //for digits saved on disk
27
28class AliPHOSClusterizer : public TObject {
29
30public:
31
32 AliPHOSClusterizer() ; // ctor
33 virtual ~AliPHOSClusterizer() ; // dtor
34
35 virtual Float_t Calibrate(Int_t Amp) = 0 ;
36 virtual void GetNumberOfClustersFound(Int_t * numb) = 0 ;
37 virtual void MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ;
38
39 ClassDef(AliPHOSClusterizer,1) // clusterization interface, version 1
40
41} ;
42
43#endif // AliPHOSCLUSTERIZER_H