X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSFastRecParticle.h;h=faa5ddcd4924b95566f11ea99589fbddd3bd928e;hb=19c8ddd0900799e17491844c05c797c6da13bc2c;hp=ceaf3c9c2b6f8badae0e50865a89340ac2f581f0;hpb=386aef34aa74c52f3326dd6348ae7fe33394e566;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSFastRecParticle.h b/PHOS/AliPHOSFastRecParticle.h index ceaf3c9c2b6..faa5ddcd492 100644 --- a/PHOS/AliPHOSFastRecParticle.h +++ b/PHOS/AliPHOSFastRecParticle.h @@ -5,17 +5,27 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + * Revision 1.36 2005/05/28 14:19:04 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // A Particle modified by PHOS response and produced by AliPHOSvFast +// This is also a base class for AliPHOSRecParticle produced by AliPHOSPIDv1 +// Defines the particle type // To become a general class of AliRoot ? -// +//-- //*-- Author: Yves Schutz (SUBATECH) // --- ROOT system --- +class TClonesArray; #include "TParticle.h" -#include "TVector3.h" - +#include "AliPID.h" // --- Standard library --- // --- AliRoot header files --- @@ -28,9 +38,8 @@ class AliPHOSFastRecParticle : public TParticle { AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ; // ctor AliPHOSFastRecParticle(const TParticle & p) ; // ctor - virtual ~AliPHOSFastRecParticle(){ - // dtor - } + virtual ~AliPHOSFastRecParticle(){ } //dtor + virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) ; virtual void Draw(Option_t *option) ; virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; @@ -38,103 +47,44 @@ class AliPHOSFastRecParticle : public TParticle { // returns the index of this in the list return fIndexInList ; } - virtual const Int_t GetNPrimaries() const {return 0 ;} - virtual const TParticle * GetPrimary(Int_t index=0) const {return 0 ;} - const Int_t GetType() const { + virtual Int_t GetNPrimaries() const {return 0 ;} + virtual const TParticle * GetPrimary(Int_t) const {return 0 ;} + Int_t GetType() const { // returns the type of the particle return fType ; } - void SetPIDBit(UInt_t fSet) - { - fType |= (1<