]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONPreClusterFinderV3.h
Adding classes: AliMpManuIterator, AliMpManuUID, AliMpPadUID, AliMpHVUID, AliMpHVNamer;
[u/mrichter/AliRoot.git] / MUON / AliMUONPreClusterFinderV3.h
CommitLineData
c13ab450 1#ifndef ALIMUONPRECLUSTERFINDERV3_H
2#define ALIMUONPRECLUSTERFINDERV3_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 AliMUONPreClusterFinderV3
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 TIterator;
20class AliMUONPad;
21
22class AliMUONPreClusterFinderV3 : public AliMUONVClusterFinder
23{
24public:
25 AliMUONPreClusterFinderV3();
26 virtual ~AliMUONPreClusterFinderV3();
27
28 virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
29 const AliMUONVDigitStore& digitStore);
30
31 virtual AliMUONCluster* NextCluster();
32
33 virtual Bool_t UsePad(const AliMUONPad& pad);
34
35private:
36 /// Not implemented
37 AliMUONPreClusterFinderV3(const AliMUONPreClusterFinderV3& rhs);
38 /// Not implemented
39 AliMUONPreClusterFinderV3& operator=(const AliMUONPreClusterFinderV3& rhs);
40
41 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
42 void AddPreCluster(AliMUONCluster& cluster, AliMUONCluster* preCluster);
43 void MakeCathodePreClusters(Int_t cathode);
44 void MakeClusters();
45
46 void DumpPreClusters() const;
47
48private:
49 TClonesArray* fClusters; //!< the clusters we've found (owner)
50 const AliMpVSegmentation** fSegmentations; //!< segmentations (not owner)
51 TClonesArray* fPads[2]; //!< the pads corresponding to the digits (owner)
52 TClonesArray* fPreClusters[2]; //!< the preclusters per cathode (owner)
53 Int_t fDetElemId; //!< which DE we're considering
54 TIterator* fIterator; //!< iterator on fClusters
55
56 ClassDef(AliMUONPreClusterFinderV3,1) // A basic pre-cluster finder
57};
58
59#endif