]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterizer.h
Summ of G10 components normalized to one
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizer.h
index cdcf2f29dbe5a22a66c4a4873b460d80fd545a02..7fd3183ba8ba8c8c8292906089f6448c1e0d0c8b 100644 (file)
@@ -6,10 +6,13 @@
 /* $Id$ */
 
 #include <TNamed.h>
+#include <TObjArray.h>
 
 class TFile;
+class TTree;
 class AliRunLoader;
 class AliTRDparameter;
+class AliTRD;
 
 ///////////////////////////////////////////////////////
 //  Finds and handles cluster                        //
@@ -37,15 +40,20 @@ class AliTRDclusterizer : public TNamed {
 
   AliTRDparameter *GetParameter()                    const { return fPar;          };
 
+  TObjArray*      RecPoints() {if (!fRecPoints) fRecPoints = new TObjArray(400); return fRecPoints;}
+  virtual void    AddCluster(Float_t *pos, Int_t det, Float_t amp, Int_t *tracks
+                            , Float_t *sig, Int_t iType);
+  void            ResetRecPoints() {if (fRecPoints) fRecPoints->Delete();}
+
+
  protected:
 
   AliRunLoader * fRunLoader;       //! Run Loader
   
   TTree           *fClusterTree;   //! Tree with the cluster
-  AliTRD          *fTRD;           //! The TRD object
   AliTRDparameter *fPar;           //  TRD digitization parameter object
 
-  Int_t            fEvent;         //! Event number
+  TObjArray*       fRecPoints;     //! Array of clusters
   Int_t            fVerbose;       //  Sets the verbose level
 
   ClassDef(AliTRDclusterizer,3)    //  TRD-Cluster manager base class