]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDseed.h
Adding multiplicity cut (Marek)
[u/mrichter/AliRoot.git] / TRD / AliTRDseed.h
index 9b4b68bf0dbb07ba0655ddcb3e0657cfcee99cf7..3d703a6dcea2bedece3b14c0b0fe76176efe7547 100644 (file)
 class AliTRDcluster;
 
 class AliTRDseed : public TObject {
-
- public:
-       enum { knTimebins = 70/*35*/ };
+public:
+       enum {
+    knTimebins = 70 // maximum number of clusters/tracklet
+    ,kNtb = 35       // maximum clusters/pad row
+  };
 
   AliTRDseed(); 
   AliTRDseed(const AliTRDseed &s);
   virtual ~AliTRDseed() {};
 
-  AliTRDseed      &operator=(const AliTRDseed &s)           { *(new(this) AliTRDseed(s)); 
-                                                              return *this;          }
+  AliTRDseed      &operator=(const AliTRDseed &s);
 
   static  Float_t  FitRiemanTilt(AliTRDseed *seed, Bool_t error);
           void     UseClusters();
@@ -58,8 +59,8 @@ class AliTRDseed : public TObject {
           Float_t  GetMeanz() const                         { return fMeanz;         }
           Float_t  GetZProb() const                         { return fZProb;         }
           Int_t    GetLabels(Int_t i) const                 { return fLabels[i];     }
-         Float_t  GetMPads() const                         { return fMPads;         }
-         Int_t    GetNbClusters() const                    { return fN;             }
+               Float_t  GetMPads() const                         { return fMPads;         }
+               Int_t    GetNbClusters() const                    { return fN;             }
           Int_t    GetN2() const                            { return fN2;            }
           Int_t    GetNChange() const                       { return fNChange;       }
           Int_t    GetNUsed() const                         { return fNUsed;         }
@@ -77,7 +78,7 @@ class AliTRDseed : public TObject {
           void     SetY(Int_t i, Float_t y)                 { fY[i]        = y;      }
           void     SetZ(Int_t i, Float_t z)                 { fZ[i]        = z;      }
           void     SetIndexes(Int_t i, Int_t idx)           { fIndexes[i]  = idx;    }
-          void     SetClusters(Int_t i, AliTRDcluster *c)   { fClusters[i] = c;      }
+          void     SetClusters(Int_t i, AliTRDcluster * const c)   { fClusters[i] = c;      }
           void     SetUsable(Int_t i, Bool_t usable)        { fUsable[i]   = usable; }
           void     SetYref(Int_t i, Float_t yref)           { fYref[i]     = yref;   }
           void     SetZref(Int_t i, Float_t zref)           { fZref[i]     = zref;   }