ROOT logo
#ifndef ALIMUONCLUSTERFINDERCOG_H
#define ALIMUONCLUSTERFINDERCOG_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice                               */

// $Id$

/// \ingroup rec
/// \class AliMUONClusterFinderCOG
/// \brief A very basic (and mostly useless, probably) cluster finder
/// 
// Author Laurent Aphecetche, Subatech

#ifndef AliMUONVCLUSTERFINDER_H
#  include "AliMUONVClusterFinder.h"
#endif

class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
{
public:
  AliMUONClusterFinderCOG(AliMUONVClusterFinder* clusterFinder);
  virtual ~AliMUONClusterFinderCOG();

  using AliMUONVClusterFinder::Prepare;
  
  virtual Bool_t Prepare(Int_t detElemId,
                         TObjArray* pads[2],
                         const AliMpArea& area);
  
  virtual AliMUONCluster* NextCluster();
  
private:
  /// Not implemented
  AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
  /// Not implemented
  AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);

  void ComputePosition(AliMUONCluster& cluster);

private:
    AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use

  ClassDef(AliMUONClusterFinderCOG,1) // A very basic (and mostly useless, probably) cluster finder
};

#endif
 AliMUONClusterFinderCOG.h:1
 AliMUONClusterFinderCOG.h:2
 AliMUONClusterFinderCOG.h:3
 AliMUONClusterFinderCOG.h:4
 AliMUONClusterFinderCOG.h:5
 AliMUONClusterFinderCOG.h:6
 AliMUONClusterFinderCOG.h:7
 AliMUONClusterFinderCOG.h:8
 AliMUONClusterFinderCOG.h:9
 AliMUONClusterFinderCOG.h:10
 AliMUONClusterFinderCOG.h:11
 AliMUONClusterFinderCOG.h:12
 AliMUONClusterFinderCOG.h:13
 AliMUONClusterFinderCOG.h:14
 AliMUONClusterFinderCOG.h:15
 AliMUONClusterFinderCOG.h:16
 AliMUONClusterFinderCOG.h:17
 AliMUONClusterFinderCOG.h:18
 AliMUONClusterFinderCOG.h:19
 AliMUONClusterFinderCOG.h:20
 AliMUONClusterFinderCOG.h:21
 AliMUONClusterFinderCOG.h:22
 AliMUONClusterFinderCOG.h:23
 AliMUONClusterFinderCOG.h:24
 AliMUONClusterFinderCOG.h:25
 AliMUONClusterFinderCOG.h:26
 AliMUONClusterFinderCOG.h:27
 AliMUONClusterFinderCOG.h:28
 AliMUONClusterFinderCOG.h:29
 AliMUONClusterFinderCOG.h:30
 AliMUONClusterFinderCOG.h:31
 AliMUONClusterFinderCOG.h:32
 AliMUONClusterFinderCOG.h:33
 AliMUONClusterFinderCOG.h:34
 AliMUONClusterFinderCOG.h:35
 AliMUONClusterFinderCOG.h:36
 AliMUONClusterFinderCOG.h:37
 AliMUONClusterFinderCOG.h:38
 AliMUONClusterFinderCOG.h:39
 AliMUONClusterFinderCOG.h:40
 AliMUONClusterFinderCOG.h:41
 AliMUONClusterFinderCOG.h:42
 AliMUONClusterFinderCOG.h:43
 AliMUONClusterFinderCOG.h:44
 AliMUONClusterFinderCOG.h:45
 AliMUONClusterFinderCOG.h:46
 AliMUONClusterFinderCOG.h:47