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 */
9 ////////////////////////////////////////////////
10 // MUON Cluster Finder Class //
11 ////////////////////////////////////////////////
12 #include "AliMUONClusterFinder.h"
15 class AliMUONClusterFinderv0 :
16 public AliMUONClusterFinder {
18 // TClonesArray* fDigits;
21 // AliMUONsegmentation* fSegmentation;
22 // AliMUONresponse* fResponse;
23 // TClonesArray* fRawClusters;
25 // Int_t fNRawClusters;
26 // AliMUONHitMapA1* fHitMap;
30 AliMUONClusterFinderv0
31 (AliMUONsegmentation *segmentation,
32 AliMUONresponse *response, TClonesArray *digits, Int_t chamber);
33 AliMUONClusterFinderv0();
34 ~AliMUONClusterFinderv0(){delete fRawClusters;}
35 // virtual void SetSegmentation(
36 // AliMUONsegmentation *segmentation){
37 // fSegmentation=segmentation;
39 // virtual void SetResponse(AliMUONresponse *response) {
40 // fResponse=response;
43 // virtual void SetDigits(TClonesArray *MUONdigits) {
44 // fDigits=MUONdigits;
45 // fNdigits = fDigits->GetEntriesFast();
48 // virtual void SetChamber(Int_t ich){
52 // virtual void AddRawCluster(const AliMUONRawCluster);
53 // Search for raw clusters
54 virtual void FindRawClusters();
55 // virtual void FindCluster(Int_t i, Int_t j, AliMUONRawCluster &c);
57 virtual void SetOffset(AliMUONRawCluster *cluster);
58 virtual Int_t PeakOffsetAndCoordinates(Int_t DigitIndex, Float_t *X, Float_t *Y);
60 virtual void Decluster(AliMUONRawCluster *cluster);
61 // Self Calibration of COG
62 // virtual void CalibrateCOG();
63 // virtual void SinoidalFit(Float_t x, Float_t y, TF1 &func);
65 // virtual void CorrectCOG(){;}
68 virtual Bool_t Centered(AliMUONRawCluster *cluster);
69 virtual void SplitByLocalMaxima(AliMUONRawCluster *cluster);
70 // virtual void FillCluster(AliMUONRawCluster *cluster);
71 void DumpCluster(AliMUONRawCluster *cluster);
74 TClonesArray* RawClusters(){return fRawClusters;}
75 ClassDef(AliMUONClusterFinderv0,1) //Class for clustering and reconstruction of space points