X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv2.h;h=146b938243253088157479441279f8808abdadf9;hb=3e6055b3a37280a63869429c8c492eb35acb1d0c;hp=e811c9853fdd289b5c82ab57ae20dcd3d59b0a0c;hpb=fca6f6ef69f0354d17d52ae7b4e18057b0ccf97f;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv2.h b/PHOS/AliPHOSv2.h index e811c9853fd..146b9382432 100644 --- a/PHOS/AliPHOSv2.h +++ b/PHOS/AliPHOSv2.h @@ -2,18 +2,31 @@ #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.19 2005/07/01 20:01:36 kharlov + * Warning fix on AddHit in gcc 3.4.2 + * + * 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 // 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 { @@ -23,9 +36,21 @@ public: AliPHOSv2(const char *name, const char *title="") ; virtual ~AliPHOSv2(void) ; - virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) ; - -protected: + 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 const TString Version(void)const { + // returns the version number + return TString("v2") ; + } + +private: + + AliPHOSv2(AliPHOSv2 & phos); + AliPHOSv2 & operator = (const AliPHOSv2 & /*phos*/); ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.