X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSPIDv0.h;h=9eeeaebacd39362b95068152e14b2cab35d6b27a;hb=78881c425657c9ebc1bbe2ba525029acd58df271;hp=216511d25599f21b5c94d62a9854e75e75b1140b;hpb=8e8eae84c82d2951bab0d875cdd742d409f5b196;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSPIDv0.h b/PHOS/AliPHOSPIDv0.h index 216511d2559..9eeeaebacd3 100644 --- a/PHOS/AliPHOSPIDv0.h +++ b/PHOS/AliPHOSPIDv0.h @@ -5,6 +5,16 @@ /* $Id$ */ +/* History of cvs commits: + * + * $Log$ + * Revision 1.11 2006/09/07 18:31:08 kharlov + * Effective c++ corrections (T.Pocheptsov) + * + * Revision 1.10 2005/05/28 14:19:04 schutz + * Compilation warnings fixed by T.P. + * + */ //_________________________________________________________________________ // Implementation version v0 of the PHOS particle identifier @@ -30,7 +40,11 @@ public: AliPHOSPIDv0() ; // ctor AliPHOSPIDv0(const char* evFolderName, const char * tsBranch = "Default"); - virtual ~AliPHOSPIDv0() ; // dtor + virtual ~AliPHOSPIDv0() ; // dtor, empty, memory leak in fFormula member + + //Compiler generated should be ok, because destructor is empty. + AliPHOSPIDv0(const AliPHOSPIDv0 & rhs); + AliPHOSPIDv0 & operator = (const AliPHOSPIDv0 & rhs); virtual void Exec(Option_t * option); // virtual char * GetRecParticlesBranch()const {return (char*) fRecParticlesTitle.Data() ;} @@ -38,7 +52,7 @@ public: virtual Int_t GetRecParticlesInRun() const {return fRecParticlesInRun ;} virtual void PlotDispersionCuts()const ; - virtual void Print()const ; + virtual void Print(const Option_t * = "")const ; virtual void SetIdentificationMethod(const char * option = "CPV DISP" ){fIDOptions = option ;} virtual void SetShowerProfileCut(const char * formula = "0.35*0.35 - (x-1.386)*(x-1.386) - 1.707*1.707*(y-1.008)*(y-1.008)") ; virtual void SetDispersionCut(Float_t cut){fDispersion = cut ; } @@ -52,14 +66,13 @@ public: virtual void Init() ; void MakeRecParticles(void ) ; - Float_t GetDistance(AliPHOSEmcRecPoint * emc, AliPHOSRecPoint * cpv, Option_t * Axis)const ; // Relative Distance CPV-EMC +// Float_t GetDistance(AliPHOSEmcRecPoint * emc, AliPHOSRecPoint * cpv, Option_t * Axis)const ; // Relative Distance CPV-EMC TVector3 GetMomentumDirection(AliPHOSEmcRecPoint * emc, AliPHOSRecPoint * cpv)const ; void PrintRecParticles(Option_t * option) ; virtual void WriteRecParticles(); private: - TString fEventFolderName; // file name with event header TString fTrackSegmentsTitle; // branch name with track segments TString fRecPointsTitle ; // branch name with rec points TString fRecParticlesTitle ; // branch name with rec particles