]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv2.h
coding conventions corrections
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.h
index 487b3da5e8412be972f29013e3ec9301b585008e..6fc61ec49c21136442ce1ff62ba05cc11b2f814e 100644 (file)
@@ -4,16 +4,15 @@
  * See cxx source for full Copyright notice                               */
 //_________________________________________________________________________
 // Version of AliPHOSv0 which keeps all hits in TreeH
+// I mean real hits not cumulated hits
 //  This version is NOT recommended for Reconstruction analysis
 //                  
 //*-- Author: Gines MARTINEZ (SUBATECH)
 
 // --- ROOT system ---
-#include "TClonesArray.h"
 
 // --- AliRoot header files ---
 #include "AliPHOSv1.h"
-#include "AliPHOSReconstructioner.h"
 
 class AliPHOSv2 : public AliPHOSv1 {
 
@@ -23,10 +22,15 @@ public:
   AliPHOSv2(const char *name, const char *title="") ;
   virtual ~AliPHOSv2(void) ;
 
-  virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) ; 
-// adds a hit to the hit tree (any pre=digitalization is done here (so large root file !!) 
-  virtual void    FinishEvent(void) ;          // makes the digits from the hits 
-  virtual void    StepManager(void) ;  // StepManager to keep current tack number in the hit
+  virtual void    AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits); 
+  virtual Int_t   IsVersion(void) const { 
+    // Gives the version number 
+    return 2 ; 
+  }
+  virtual const TString Version(void)const { 
+    // returns the version number 
+    return TString("v2") ; 
+  }
 
 protected: