X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSPID.h;h=54fa111392d6afffcaa34afbccb012ad66a41cb3;hb=b16234abcee5c9025022b25728a41def26c3ca02;hp=23ce334477afa7cee8406efc1e8ed44f46139041;hpb=e191bb57c96a66bf4f60381b9a3f8c511bc6188e;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSPID.h b/PHOS/AliPHOSPID.h index 23ce334477a..54fa111392d 100644 --- a/PHOS/AliPHOSPID.h +++ b/PHOS/AliPHOSPID.h @@ -5,6 +5,20 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + * Revision 1.37 2006/08/29 11:41:19 kharlov + * Missing implementation of ctors and = operator are added + * + * Revision 1.36 2006/08/25 16:00:53 kharlov + * Compliance with Effective C++AliPHOSHit.cxx + * + * Revision 1.35 2005/05/28 14:19:04 schutz + * Compilation warnings fixed by T.P. + * + */ + //_________________________________________________________________________ // Algorithm class for the identification of particles detected in PHOS // base class @@ -22,7 +36,7 @@ class TClonesArray ; // --- Standard library --- // --- AliRoot header files --- - +class AliESD ; class AliPHOSGeometry ; class AliPHOSClusterizer ; class AliPHOSTrackSegmentMaker ; @@ -33,13 +47,23 @@ class AliPHOSPID : public TTask { AliPHOSPID() ; // ctor AliPHOSPID (const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; - AliPHOSPID(const AliPHOSPID & pid) : TTask(pid) {;} + AliPHOSPID(const AliPHOSPID & pid) ; virtual ~AliPHOSPID() ; // dtor + AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) { + Fatal("operator =", "not implemented") ; return *this ; } virtual Int_t GetRecParticlesInRun() const { Warning("GetRecParticlesInRun", "not defined" ) ; return 0 ;} - virtual void Print() const { Warning("Print", "not defined" ) ;} + virtual void Print(const Option_t * = "") const { Warning("Print", "not defined" ) ;} + void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } void SetEventFolderName(TString name) { fEventFolderName = name ; } + + TString GetEventFolderName() const {return fEventFolderName;} + Int_t GetFirstEvent() const {return fFirstEvent; } + Int_t GetLastEvent() const {return fLastEvent; } + + void SetESD(AliESD *esd) { fESD = esd; } + virtual const char * Version() const { Warning("Version", "not defined" ) ; return 0 ; } virtual void WriteRecParticles() = 0; @@ -47,6 +71,7 @@ protected: TString fEventFolderName ; // event folder name Int_t fFirstEvent; // first event to process Int_t fLastEvent; // last event to process + AliESD * fESD; //! ESD object private: virtual void Init() { Warning("Init", "not defined" ) ; }