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.19 2005/07/01 20:01:36 kharlov
12 * Warning fix on AddHit in gcc 3.4.2
14 * Revision 1.18 2005/05/28 14:19:05 schutz
15 * Compilation warnings fixed by T.P.
19 //_________________________________________________________________________
20 // Version of AliPHOSv0 which keeps all hits in TreeH
21 // I mean real hits not cumulated hits
22 // This version is NOT recommended for Reconstruction analysis
24 //*-- Author: Gines MARTINEZ (SUBATECH)
26 // --- ROOT system ---
28 // --- AliRoot header files ---
29 #include "AliPHOSv1.h"
31 class AliPHOSv2 : public AliPHOSv1 {
36 AliPHOSv2(const char *name, const char *title="") ;
37 virtual ~AliPHOSv2(void) ;
39 using AliPHOSv1::AddHit;
40 virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits);
41 virtual Int_t IsVersion(void) const {
42 // Gives the version number
45 virtual const TString Version(void)const {
46 // returns the version number
47 return TString("v2") ;
52 AliPHOSv2(AliPHOSv2 & phos);
53 AliPHOSv2 & operator = (const AliPHOSv2 & /*phos*/);
55 ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.