]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/PHOSrec/AliPHOSTracker.h
PHOS module
[u/mrichter/AliRoot.git] / PHOS / PHOSrec / AliPHOSTracker.h
diff --git a/PHOS/PHOSrec/AliPHOSTracker.h b/PHOS/PHOSrec/AliPHOSTracker.h
new file mode 100644 (file)
index 0000000..870695d
--- /dev/null
@@ -0,0 +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.  
+// 
+//-------------------------------------------------------------------------
+
+#include <AliTracker.h>
+
+class AliRunLoader;   // Bad !
+
+class TClonesArray;
+class TTree;
+
+class AliCluster;
+class AliESDEvent;
+
+class AliPHOSTracker : public AliTracker
+{
+public:
+  AliPHOSTracker();
+  virtual ~AliPHOSTracker();
+  
+  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
+
+  TClonesArray *fModules[5];
+  
+  ClassDef(AliPHOSTracker,2)
+};
+
+#endif