1 #ifndef AliMUONClusterFinderv0_H
2 #define AliMUONClusterFinderv0_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // MUON Cluster Finder Class //
10 ////////////////////////////////////////////////
11 #include "AliMUONClusterFinder.h"
14 class AliMUONClusterFinderv0 :
15 public AliMUONClusterFinder {
17 // TClonesArray* fDigits;
20 // AliMUONsegmentation* fSegmentation;
21 // AliMUONresponse* fResponse;
22 // TClonesArray* fRawClusters;
24 // Int_t fNRawClusters;
25 // AliMUONHitMapA1* fHitMap;
29 AliMUONClusterFinderv0
30 (AliMUONsegmentation *segmentation,
31 AliMUONresponse *response, TClonesArray *digits, Int_t chamber);
32 AliMUONClusterFinderv0();
33 ~AliMUONClusterFinderv0(){delete fRawClusters;}
34 // virtual void SetSegmentation(
35 // AliMUONsegmentation *segmentation){
36 // fSegmentation=segmentation;
38 // virtual void SetResponse(AliMUONresponse *response) {
39 // fResponse=response;
42 // virtual void SetDigits(TClonesArray *MUONdigits) {
43 // fDigits=MUONdigits;
44 // fNdigits = fDigits->GetEntriesFast();
47 // virtual void SetChamber(Int_t ich){
51 // virtual void AddRawCluster(const AliMUONRawCluster);
52 // Search for raw clusters
53 virtual void FindRawClusters();
54 // virtual void FindCluster(Int_t i, Int_t j, AliMUONRawCluster &c);
56 virtual void SetOffset(AliMUONRawCluster *cluster);
57 virtual Int_t PeakOffsetAndCoordinates(Int_t DigitIndex, Float_t *X, Float_t *Y);
59 virtual void Decluster(AliMUONRawCluster *cluster);
60 // Self Calibration of COG
61 // virtual void CalibrateCOG();
62 // virtual void SinoidalFit(Float_t x, Float_t y, TF1 &func);
64 // virtual void CorrectCOG(){;}
67 virtual Bool_t Centered(AliMUONRawCluster *cluster);
68 virtual void SplitByLocalMaxima(AliMUONRawCluster *cluster);
69 // virtual void FillCluster(AliMUONRawCluster *cluster);
70 void DumpCluster(AliMUONRawCluster *cluster);
73 TClonesArray* RawClusters(){return fRawClusters;}
74 ClassDef(AliMUONClusterFinderv0,1) //Class for clustering and reconstruction of space points