]>
Commit | Line | Data |
---|---|---|
a897a37a | 1 | #ifndef AliMUONClusterFinderv0_H |
2 | #define AliMUONClusterFinderv0_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
a897a37a | 8 | //////////////////////////////////////////////// |
9 | // MUON Cluster Finder Class // | |
10 | //////////////////////////////////////////////// | |
11 | #include "AliMUONClusterFinder.h" | |
12 | //#include "TF1.h" | |
13 | ||
14 | class AliMUONClusterFinderv0 : | |
15 | public AliMUONClusterFinder { | |
16 | //public: | |
17 | // TClonesArray* fDigits; | |
18 | // Int_t fNdigits; | |
19 | //protected: | |
20 | // AliMUONsegmentation* fSegmentation; | |
21 | // AliMUONresponse* fResponse; | |
22 | // TClonesArray* fRawClusters; | |
23 | // Int_t fChamber; | |
24 | // Int_t fNRawClusters; | |
25 | // AliMUONHitMapA1* fHitMap; | |
26 | // TF1* fCogCorr; | |
27 | ||
28 | public: | |
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; | |
37 | // } | |
38 | // virtual void SetResponse(AliMUONresponse *response) { | |
39 | // fResponse=response; | |
40 | // } | |
41 | ||
42 | // virtual void SetDigits(TClonesArray *MUONdigits) { | |
43 | // fDigits=MUONdigits; | |
44 | // fNdigits = fDigits->GetEntriesFast(); | |
45 | // } | |
46 | ||
47 | // virtual void SetChamber(Int_t ich){ | |
48 | // fChamber=ich; | |
49 | // } | |
50 | ||
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); | |
55 | // Specific methods | |
56 | virtual void SetOffset(AliMUONRawCluster *cluster); | |
57 | virtual Int_t PeakOffsetAndCoordinates(Int_t DigitIndex, Float_t *X, Float_t *Y); | |
58 | // Decluster | |
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); | |
63 | // | |
64 | // virtual void CorrectCOG(){;} | |
65 | ||
66 | // | |
67 | virtual Bool_t Centered(AliMUONRawCluster *cluster); | |
68 | virtual void SplitByLocalMaxima(AliMUONRawCluster *cluster); | |
69 | // virtual void FillCluster(AliMUONRawCluster *cluster); | |
e3a4d40e | 70 | void DumpCluster(AliMUONRawCluster *cluster); |
a897a37a | 71 | |
72 | ||
73 | TClonesArray* RawClusters(){return fRawClusters;} | |
74 | ClassDef(AliMUONClusterFinderv0,1) //Class for clustering and reconstruction of space points | |
75 | }; | |
76 | #endif | |
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 |