]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawCluster.h
Merging and reconstruction code review
[u/mrichter/AliRoot.git] / MUON / AliMUONRawCluster.h
index c3769bdc632e127692145362353e4436be7ad4ce..67c1951e5cda620ebece5c3e30f9bacd932f3f31 100644 (file)
@@ -28,17 +28,23 @@ public:
    Int_t       fNcluster[2];      // Number of clusters
    Int_t       fClusterType;      // Cluster type
    Float_t     fChi2[2];          // Chi**2 of fit
-   
+   Int_t       fGhost;            // 0 if not a ghost or ghost problem solved
+                                  // >0 if ghost problem remains because
+                                  // 1 both (true and ghost) satify 
+                                  //   charge chi2 compatibility
+                                  // 2 none give satisfactory chi2
  public:
    AliMUONRawCluster();
    virtual ~AliMUONRawCluster() {}
    Float_t GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
    Bool_t IsSortable() const {return kTRUE;}
-   Int_t  Compare(TObject *obj);
+   Int_t  Compare(const TObject *obj) const;
    Int_t PhysicsContribution();
    static Int_t BinarySearch(Float_t r, TArrayF ccord, Int_t from, Int_t upto);
    static void  SortMin(Int_t *idx,Float_t *xdarray, Float_t *xarray,
                        Float_t *yarray, Float_t *qarray,Int_t ntr);
+   void DumpIndex();
+
    ClassDef(AliMUONRawCluster,1)  //Cluster class for MUON
 };
 #endif