* 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 {
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 ) ;
-// 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 Copy(AliPHOSv2 & phos) ;
+ 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: