]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSClusterFinder.h
Setting PT range for comparison (M.Ivanov)
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinder.h
index baa57d936dc4aeef5358e6abae36bfed4129ba5a..6c9cfa91b92d603d6a0913e318954016665cbae2 100644 (file)
@@ -49,17 +49,17 @@ class AliITSClusterFinder :public TObject{
        return fResponse;}
     virtual AliITSsegmentation * GetSeg(){// Returns fSegmentation
        return fSegmentation;}
-    virtual Int_t GetNRawClusters(){ // returns fNRawClusters
+    virtual Int_t GetNRawClusters() const { // returns fNRawClusters
        return fNRawClusters;}
     AliITSMap   *Map() {// map
        return fMap;}
-    virtual Int_t GetNperMax(){ // returns fNperMax
+    virtual Int_t GetNperMax() const { // returns fNperMax
        return fNperMax;}
-    virtual Int_t GetDeclusterFlag(){ // returns fDeclusterFlag
+    virtual Int_t GetDeclusterFlag() const { // returns fDeclusterFlag
        return fDeclusterFlag;}
-    virtual Int_t GetClusterSize(){ // returns fClusterSize
+    virtual Int_t GetClusterSize() const { // returns fClusterSize
        return fClusterSize;}
-    virtual Int_t GetNPeaks(){ // returns fNPeaks
+    virtual Int_t GetNPeaks() const { // returns fNPeaks
        return fNPeaks;}
     //
     virtual void AddCluster(Int_t branch, AliITSRawCluster *c);
@@ -70,13 +70,9 @@ class AliITSClusterFinder :public TObject{
     virtual Bool_t IsNeighbor(TObjArray *digs,Int_t i,Int_t j[]) const;
     // Given a cluster of digits, creates the nessesary RecPoint. May also
     // do some peak separation.
-    virtual void CreateRecPoints(TObjArray *cluster,Int_t mod){};
-    virtual void FindCluster(Int_t i, Int_t j, AliITSRawCluster *c) {
-       // find cluster
-    }
-    virtual void Decluster(AliITSRawCluster *cluster) {
-       // Decluster
-    }
+    virtual void CreateRecPoints(TObjArray *,Int_t){};
+    virtual void FindCluster(Int_t,Int_t,AliITSRawCluster *) {}// find cluster
+    virtual void Decluster(AliITSRawCluster *) {}// Decluster
     virtual void SetNperMax(Int_t npermax=3) {
        // Set max. Number of cells per local cluster
        fNperMax = npermax;
@@ -95,27 +91,21 @@ class AliITSClusterFinder :public TObject{
     virtual void CorrectCOG(){
        // correct COG
     }
-    virtual Bool_t Centered(AliITSRawCluster *cluster) const {
-       // cluster
+    virtual Bool_t Centered(AliITSRawCluster *) const {// cluster
        return kTRUE;
     }
-    virtual void   SplitByLocalMaxima(AliITSRawCluster *cluster) {
-       // split by local maxima
-    }
-    virtual void   FillCluster(AliITSRawCluster *cluster, Int_t) {
-       // fiil cluster
-    }
-    virtual void   FillCluster(AliITSRawCluster *cluster) {
-       // fill cluster
+    virtual void SplitByLocalMaxima(AliITSRawCluster *){}//split by local maxima
+    virtual void   FillCluster(AliITSRawCluster *,Int_t) {}// fiil cluster
+    virtual void   FillCluster(AliITSRawCluster *cluster) {// fill cluster
        FillCluster(cluster,1);
     }
     // set the fitting methods in the derived classes
     // data members
 
+protected:
     TClonesArray       *fDigits;       //! digits
     Int_t              fNdigits;       //! num of digits
 
- protected:
     AliITSresponse     *fResponse;     //! response
     AliITSsegmentation *fSegmentation; //!segmentation
     Int_t              fNRawClusters;  //! in case we split the cluster