minor coverity defect: adding self-assignment protection
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizerv1.h
CommitLineData
483b0559 1#ifndef ALIEMCALCLUSTERIZERV1_H
2#define ALIEMCALCLUSTERIZERV1_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//_________________________________________________________________________
9// Implementation version 1 of the clusterization algorithm
10// Performs clusterization (collects neighbouring active cells) and
11// unfolding of the clusters with several local maxima.
ee08edde 12// results are stored in TreeR
483b0559 13//
14//*-- Author: Yves Schutz (SUBATECH)
ee08edde 15//-- Gustavo Conesa (LPSC-Grenoble), move common clusterizer functionalities to mother class
16
483b0559 17
18// --- ROOT system ---
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
483b0559 23#include "AliEMCALClusterizer.h"
70a93198 24class AliEMCALRecPoint ;
483b0559 25class AliEMCALDigit ;
483b0559 26
27class AliEMCALClusterizerv1 : public AliEMCALClusterizer {
28
29public:
30
31 AliEMCALClusterizerv1() ;
5544799a 32 AliEMCALClusterizerv1(AliEMCALGeometry* geometry);
40164976 33 AliEMCALClusterizerv1(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
0c5b726e 34
483b0559 35 virtual ~AliEMCALClusterizerv1() ;
18a21c7c 36
25bb3dcb 37 virtual Int_t AreNeighbours(AliEMCALDigit * d1, AliEMCALDigit * d2, Bool_t & shared)const ;
ee08edde 38 // Checks if digits are in neighbour cells
c47157cd 39 virtual void Digits2Clusters(Option_t *option); // Does the job
483b0559 40
483b0559 41 virtual const char * Version() const { return "clu-v1" ; }
7ea6391b 42
483b0559 43protected:
44
0e7c6655 45 virtual void MakeClusters();
7ea6391b 46
483b0559 47private:
c47157cd 48 AliEMCALClusterizerv1(const AliEMCALClusterizerv1 &); //copy ctor
49 AliEMCALClusterizerv1 & operator = (const AliEMCALClusterizerv1 &);
483b0559 50
ee08edde 51 ClassDef(AliEMCALClusterizerv1,10) // Clusterizer implementation version 1
483b0559 52
53};
54
55#endif // AliEMCALCLUSTERIZERV1_H