]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv2.h
First upload of alignment classes
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.h
index a0261f5b069918f9a119dfcaa07ab6ae69724b83..12b97bafd68f1fcd7af1a8f7fc05b22bbdb0d38b 100644 (file)
@@ -2,6 +2,17 @@
 #define ALIPHOSV2_H
 /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.18  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 // Version of AliPHOSv0 which keeps all hits in TreeH
 // I mean real hits not cumulated hits
 //*-- Author: Gines MARTINEZ (SUBATECH)
 
 // --- ROOT system ---
-#include "TClonesArray.h"
 
 // --- AliRoot header files ---
 #include "AliPHOSv1.h"
-#include "AliPHOSReconstructioner.h"
 
 class AliPHOSv2 : public AliPHOSv1 {
 
@@ -22,14 +31,19 @@ public:
 
   AliPHOSv2(void) ;
   AliPHOSv2(const char *name, const char *title="") ;
+  AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
+    phos.Copy(*this) ; 
+  }
   virtual ~AliPHOSv2(void) ;
 
-  virtual void    AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits) ; 
+  virtual void    Copy(TObject &phos) const; 
+  using AliPHOSv1::AddHit;
+  virtual void    AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits); 
   virtual Int_t   IsVersion(void) const { 
     // Gives the version number 
     return 2 ; 
   }
-  virtual TString Version(void)
+  virtual const TString Version(void)const 
     // returns the version number 
     return TString("v2") ; 
   }