X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv2.h;h=12b97bafd68f1fcd7af1a8f7fc05b22bbdb0d38b;hb=15b17c89d33fb0ea615b19d1b8f419b76bed4ea4;hp=6e6e01ae260aedc039f0b637d41c8f9d1ad1410f;hpb=037cc66d49267fe093d36d6fb90842312fc6f407;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv2.h b/PHOS/AliPHOSv2.h index 6e6e01ae260..12b97bafd68 100644 --- a/PHOS/AliPHOSv2.h +++ b/PHOS/AliPHOSv2.h @@ -2,6 +2,17 @@ #define ALIPHOSV2_H /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ + +/* $Id$ */ + +/* History of cvs commits: + * + * $Log$ + * Revision 1.18 2005/05/28 14:19:05 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // Version of AliPHOSv0 which keeps all hits in TreeH // I mean real hits not cumulated hits @@ -10,11 +21,9 @@ //*-- Author: Gines MARTINEZ (SUBATECH) // --- ROOT system --- -#include "TClonesArray.h" // --- AliRoot header files --- #include "AliPHOSv1.h" -#include "AliPHOSReconstructioner.h" class AliPHOSv2 : public AliPHOSv1 { @@ -22,14 +31,19 @@ public: 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, Int_t pid, TLorentzVector p, Float_t *pos ) ; + virtual void Copy(TObject &phos) const; + using AliPHOSv1::AddHit; + virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits); virtual Int_t IsVersion(void) const { // Gives the version number return 2 ; } - virtual TString Version(void){ + virtual const TString Version(void)const { // returns the version number return TString("v2") ; }