new functionality and new class added
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinderV2.h
CommitLineData
c13ab450 1#ifndef ALIMUONPRECLUSTERFINDERV2_H
2#define ALIMUONPRECLUSTERFINDERV2_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 AliMUONPreClusterFinderV2
11/// \brief A basic pre-cluster finder
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef AliMUONVCLUSTERFINDER_H
16# include "AliMUONVClusterFinder.h"
17#endif
18
19class TStopwatch;
20class AliMUONPad;
21
22class AliMUONPreClusterFinderV2 : public AliMUONVClusterFinder
23{
24public:
25 AliMUONPreClusterFinderV2();
26 virtual ~AliMUONPreClusterFinderV2();
27
24935e58 28 Bool_t NeedSegmentation() const { return kTRUE; }
29
30 using AliMUONVClusterFinder::Prepare;
31
32 virtual Bool_t Prepare(Int_t detElemId,
33 TClonesArray* pads[2],
34 const AliMpArea& area,
35 const AliMpVSegmentation* seg[2]);
c13ab450 36
37 virtual AliMUONCluster* NextCluster();
38
39 virtual Bool_t UsePad(const AliMUONPad& pad);
40
41private:
42 /// Not implemented
43 AliMUONPreClusterFinderV2(const AliMUONPreClusterFinderV2& rhs);
44 /// Not implemented
45 AliMUONPreClusterFinderV2& operator=(const AliMUONPreClusterFinderV2& rhs);
46
47 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
48
49private:
50 TClonesArray* fClusters; //!< the clusters we've found (owner)
72dae9ff 51 const AliMpVSegmentation** fkSegmentations; //!< segmentations (not owner)
24935e58 52 TClonesArray** fPads; //!< the pads corresponding to the digits (not owner)
c13ab450 53 Int_t fDetElemId; //!< which DE we're considering
54
24935e58 55 ClassDef(AliMUONPreClusterFinderV2,2) // A basic pre-cluster finder
c13ab450 56};
57
58#endif