1 #ifndef AliMUONClusterFinderv0_H
2 #define AliMUONClusterFinderv0_H
3 ////////////////////////////////////////////////
4 // MUON Cluster Finder Class //
5 ////////////////////////////////////////////////
6 #include "AliMUONClusterFinder.h"
9 class AliMUONClusterFinderv0 :
10 public AliMUONClusterFinder {
12 // TClonesArray* fDigits;
15 // AliMUONsegmentation* fSegmentation;
16 // AliMUONresponse* fResponse;
17 // TClonesArray* fRawClusters;
19 // Int_t fNRawClusters;
20 // AliMUONHitMapA1* fHitMap;
24 AliMUONClusterFinderv0
25 (AliMUONsegmentation *segmentation,
26 AliMUONresponse *response, TClonesArray *digits, Int_t chamber);
27 AliMUONClusterFinderv0();
28 ~AliMUONClusterFinderv0(){delete fRawClusters;}
29 // virtual void SetSegmentation(
30 // AliMUONsegmentation *segmentation){
31 // fSegmentation=segmentation;
33 // virtual void SetResponse(AliMUONresponse *response) {
34 // fResponse=response;
37 // virtual void SetDigits(TClonesArray *MUONdigits) {
38 // fDigits=MUONdigits;
39 // fNdigits = fDigits->GetEntriesFast();
42 // virtual void SetChamber(Int_t ich){
46 // virtual void AddRawCluster(const AliMUONRawCluster);
47 // Search for raw clusters
48 virtual void FindRawClusters();
49 // virtual void FindCluster(Int_t i, Int_t j, AliMUONRawCluster &c);
51 virtual void SetOffset(AliMUONRawCluster *cluster);
52 virtual Int_t PeakOffsetAndCoordinates(Int_t DigitIndex, Float_t *X, Float_t *Y);
54 virtual void Decluster(AliMUONRawCluster *cluster);
55 // Self Calibration of COG
56 // virtual void CalibrateCOG();
57 // virtual void SinoidalFit(Float_t x, Float_t y, TF1 &func);
59 // virtual void CorrectCOG(){;}
62 virtual Bool_t Centered(AliMUONRawCluster *cluster);
63 virtual void SplitByLocalMaxima(AliMUONRawCluster *cluster);
64 // virtual void FillCluster(AliMUONRawCluster *cluster);
65 void AliMUONClusterFinderv0::DumpCluster(class AliMUONRawCluster *);
68 TClonesArray* RawClusters(){return fRawClusters;}
69 ClassDef(AliMUONClusterFinderv0,1) //Class for clustering and reconstruction of space points