]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTracker.h
debug
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTracker.h
index c081b27314157b878e1d1d1f25c61c6b42e88933..870695d3727157f0dfcc70aae584cd7fa3b3303e 100644 (file)
@@ -1,50 +1,66 @@
 #ifndef AliPHOSTracker_h
 #define AliPHOSTracker_h
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.5  2007/08/07 14:12:03  kharlov
+ * Quality assurance added (Yves Schutz)
+ *
+ * Revision 1.4  2007/08/03 13:52:16  kharlov
+ * Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov)
+ *
+ */
 
 //-------------------------------------------------------------------------
 //                          PHOS tracker.
 // Matches ESD tracks with the PHOS and makes the PID.  
-// Currently, has only one function implemented : PropagateBack(AliESD*).
+// 
 //-------------------------------------------------------------------------
 
 #include <AliTracker.h>
-#include <AliLog.h>
 
-class AliCluster;
-class AliESD;
+class AliRunLoader;   // Bad !
+
+class TClonesArray;
 class TTree;
-class AliRunLoader;
+
+class AliCluster;
+class AliESDEvent;
 
 class AliPHOSTracker : public AliTracker
 {
 public:
-  AliPHOSTracker():AliTracker(), fRunLoader(0) {}
-  AliPHOSTracker(AliRunLoader *loader):AliTracker(), fRunLoader(loader) {}
-  AliPHOSTracker(const AliPHOSTracker & rhs):AliTracker(rhs), fRunLoader(rhs.fRunLoader){}
+  AliPHOSTracker();
+  virtual ~AliPHOSTracker();
   
-  virtual ~AliPHOSTracker()       {AliDebug(1,"Start.");}
-  
-  AliPHOSTracker & operator = (const AliPHOSTracker & rhs)
-  {
-    fRunLoader = rhs.fRunLoader;
-    return *this;
-  }
-
-  Int_t Clusters2Tracks(AliESD *) {AliDebug(1,"Start.");return 0;}
-  Int_t RefitInward(AliESD *)     {AliDebug(1,"Start.");return 0;}
-  void UnloadClusters()           {AliDebug(1,"Start.");}
-  AliCluster *GetCluster(Int_t ) const {AliDebug(1,"Start.");return 0;}
-  Int_t PropagateBack(AliESD *);
-  Int_t LoadClusters(TTree *) {AliDebug(1,"Start.");return 0;}
+  Int_t LoadClusters(TTree *);
+  Int_t PropagateBack(AliESDEvent *);
+  AliCluster *GetCluster(Int_t idx) const;
+  void UnloadClusters();
+
+  Int_t Clusters2Tracks(AliESDEvent *) {return 0;}
+  Int_t RefitInward(AliESDEvent *)     {return 0;}
 
   static void                SetDebug()   { fgDebug = kTRUE ; }
   static void                ResetDebug() { fgDebug = kFALSE ; }
   static Bool_t              Debug() { return fgDebug ; }
 
+protected:
+  AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){}
+
 private:
+  AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
+
   static Bool_t fgDebug ;    //! Verbosity controller
-  AliRunLoader *fRunLoader;  //! Pointer to the run loader
-  ClassDef(AliPHOSTracker,0)
+
+  TClonesArray *fModules[5];
+  
+  ClassDef(AliPHOSTracker,2)
 };
 
 #endif