3 /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //_________________________________________________________________________
6 // Version of AliPHOSv0 which keeps all hits in TreeH
7 // I mean real hits not cumulated hits
8 // This version is NOT recommended for Reconstruction analysis
10 //*-- Author: Gines MARTINEZ (SUBATECH)
12 // --- ROOT system ---
13 #include "TClonesArray.h"
15 // --- AliRoot header files ---
16 #include "AliPHOSv1.h"
17 #include "AliPHOSReconstructioner.h"
19 class AliPHOSv2 : public AliPHOSv1 {
24 AliPHOSv2(const char *name, const char *title="") ;
25 virtual ~AliPHOSv2(void) ;
27 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits, Int_t pid, TLorentzVector p, Float_t *pos ) ;
28 virtual Int_t IsVersion(void) const {
29 // Gives the version number
32 virtual TString Version(void){
33 // returns the version number
34 return TString("v2") ;
39 ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.