]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterFinderCOG.h
Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderCOG.h
CommitLineData
a224d738 1#ifndef ALIMUONCLUSTERFINDERCOG_H
2#define ALIMUONCLUSTERFINDERCOG_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup rec
10/// \class AliMUONClusterFinderCOG
11/// \brief A very basic (and mostly useless, probably) cluster finder
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef AliMUONVCLUSTERFINDER_H
16# include "AliMUONVClusterFinder.h"
17#endif
18
a224d738 19class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
20{
21public:
b1a19e07 22 AliMUONClusterFinderCOG(AliMUONVClusterFinder* clusterFinder);
a224d738 23 virtual ~AliMUONClusterFinderCOG();
24935e58 24
25 using AliMUONVClusterFinder::Prepare;
a224d738 26
24935e58 27 virtual Bool_t Prepare(Int_t detElemId,
9e41a340 28 TObjArray* pads[2],
24935e58 29 const AliMpArea& area);
a224d738 30
31 virtual AliMUONCluster* NextCluster();
32
33private:
71a2d3aa 34 /// Not implemented
a224d738 35 AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
71a2d3aa 36 /// Not implemented
a224d738 37 AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
71a2d3aa 38
a224d738 39 void ComputePosition(AliMUONCluster& cluster);
40
41private:
42 AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
43
69d7ac2e 44 ClassDef(AliMUONClusterFinderCOG,1) // A very basic (and mostly useless, probably) cluster finder
a224d738 45};
46
47#endif