X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PMD%2FAliPMDClusteringV1.h;h=4aef8c6b526badab2c9e091ec463ff1cdfe29dbf;hp=2f43e2771eb8c3865c5f5155b660d87fef62393c;hb=6fed3aead18738639b565f7d5e4d116f9316f720;hpb=2c1131ddd31f4412dbddda47ec264529029e081a diff --git a/PMD/AliPMDClusteringV1.h b/PMD/AliPMDClusteringV1.h index 2f43e2771eb..4aef8c6b526 100644 --- a/PMD/AliPMDClusteringV1.h +++ b/PMD/AliPMDClusteringV1.h @@ -22,6 +22,7 @@ class TNtuple; class TObjArray; class AliPMDcluster; class AliPMDcludata; + class AliPMDClusteringV1: public AliPMDClustering { public: @@ -30,14 +31,20 @@ class AliPMDClusteringV1: public AliPMDClustering AliPMDClusteringV1 &operator=(const AliPMDClusteringV1 &pmdclv1); virtual ~AliPMDClusteringV1(); - void DoClust(Int_t idet, Int_t ismn, Double_t celladc[][96], + + void DoClust(Int_t idet, Int_t ismn, Int_t celltrack[][96], + Int_t cellpid[][96], Double_t celladc[][96], TObjArray *pmdcont); + Int_t CrClust(Double_t ave, Double_t cutoff, Int_t nmx1, Int_t iord1[], Double_t edepcell[]); void RefClust(Int_t incr, Double_t edepcell[]); Double_t Distance(Double_t x1, Double_t y1, Double_t x2, Double_t y2); + void SetEdepCut(Float_t decut); + void SetClusteringParam(Int_t cluspar); + protected: @@ -58,8 +65,9 @@ class AliPMDClusteringV1: public AliPMDClustering // -- cluster number Double_t fCoord[2][kNDIMX][kNDIMY]; - Float_t fCutoff; // Energy(ADC) cutoff per cell before clustering + Float_t fCutoff; // Energy(ADC) cutoff per cell before clustering + Int_t fClusParam; // Parameter to decide the clustering - ClassDef(AliPMDClusteringV1,5) // Does clustering for PMD + ClassDef(AliPMDClusteringV1,9) // Does clustering for PMD }; #endif