X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSClusterFinderSPD.h;h=b5e2d51b70fb48469ee0b979406a704ea87559a3;hb=2fa318eec2fd1198bb8beaa0992c391625182565;hp=23a34591fb074fd1276b2cdb5286242d6b051330;hpb=e81897071a6c895e2796d84a2531f1385a0a1017;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSClusterFinderSPD.h b/ITS/AliITSClusterFinderSPD.h index 23a34591fb0..b5e2d51b70f 100644 --- a/ITS/AliITSClusterFinderSPD.h +++ b/ITS/AliITSClusterFinderSPD.h @@ -18,11 +18,13 @@ public: (AliITSsegmentation *segmentation, TClonesArray *digits, TClonesArray *recpoints); AliITSClusterFinderSPD(); - virtual ~AliITSClusterFinderSPD(); + virtual ~AliITSClusterFinderSPD(){ + // destructor + } AliITSClusterFinderSPD(const AliITSClusterFinderSPD &source); // copy constructor AliITSClusterFinderSPD& operator=(const AliITSClusterFinderSPD &source); // assignment operator - virtual void SetMap(); + virtual void SetDx(Float_t dx=1.) { // set dx fDx=dx; @@ -31,19 +33,20 @@ public: // set dz fDz=dz; } - virtual void SetNCells(Int_t minc=0) { - // set ncells - fMinNCells=minc; - } - + // Search for clusters - virtual void FindRawClusters(); - void Find1DClusters(); - void GroupClusters(); - void SelectClusters() { - // selects clusters - } - void GetRecPoints(); + virtual void FindRawClusters(Int_t module); + void DigitToPoint(Int_t nclus, Float_t *xcenter, Float_t *zcenter, + Float_t *errxcenter,Float_t *errzcenter, + Int_t *tr1clus, Int_t *tr2clus, Int_t *tr3clus); + void ClusterFinder(Int_t ndigits,Int_t digx[],Int_t digz[], + Int_t digtr1[],Int_t digtr2[],Int_t digtr3[],Int_t digtr4[], + Int_t &nclus, + Float_t xcenter[],Float_t zcenter[], + Float_t errxcenter[],Float_t errzcenter[], + Int_t tr1clus[],Int_t tr2clus[], Int_t tr3clus[]); + + private: @@ -54,14 +57,7 @@ private: Int_t fMinNCells; // min num of cells in the cluster - ClassDef(AliITSClusterFinderSPD,1) // SPD clustering - Boris B. algo based - // on Piergiorgio's algo + ClassDef(AliITSClusterFinderSPD,1) // SPD clustering }; #endif - - - - - -