3 /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
11 * Revision 1.18 2005/05/28 14:19:05 schutz
12 * Compilation warnings fixed by T.P.
16 //_________________________________________________________________________
17 // Version of AliPHOSv0 which keeps all hits in TreeH
18 // I mean real hits not cumulated hits
19 // This version is NOT recommended for Reconstruction analysis
21 //*-- Author: Gines MARTINEZ (SUBATECH)
23 // --- ROOT system ---
25 // --- AliRoot header files ---
26 #include "AliPHOSv1.h"
28 class AliPHOSv2 : public AliPHOSv1 {
33 AliPHOSv2(const char *name, const char *title="") ;
34 AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
37 virtual ~AliPHOSv2(void) ;
39 virtual void Copy(TObject &phos) const;
40 using AliPHOSv1::AddHit;
41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits);
42 virtual Int_t IsVersion(void) const {
43 // Gives the version number
46 virtual const TString Version(void)const {
47 // returns the version number
48 return TString("v2") ;
53 ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.