X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSJet.h;h=dd178a30af673990fcb3c04a10335c48aeffb1f2;hb=8f74ae7702881266ff16ec6f5544917d08304fdd;hp=e547630e79b3432e7d0c7cdf794e304936aed634;hpb=5240525e418ccd4edb56db12726de86f60441161;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSJet.h b/PHOS/AliPHOSJet.h index e547630e79b..dd178a30af6 100644 --- a/PHOS/AliPHOSJet.h +++ b/PHOS/AliPHOSJet.h @@ -1,8 +1,10 @@ -#ifndef ALIJET_H -#define ALIJET_H +#ifndef ALIPHOSJET_H +#define ALIPHOSJET_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ +/* $Id$ */ + //_________________________________________________________________________ // Base Class for Jets in ALICE // @@ -22,11 +24,12 @@ class AliPHOSJet : public TObject { public: AliPHOSJet() ; // ctor - AliPHOSJet(const AliPHOSJet & jet){} ; // ctor + AliPHOSJet(const AliPHOSJet & jet); + virtual ~AliPHOSJet() ; - void AddDigit(const Double_t e,const Double_t eta,const Double_t phi,const Int_t index) ; - void AddParticle(const TParticle * p,const Int_t index) ; + void AddDigit(Double_t e, Double_t eta, Double_t phi, Int_t index) ; + void AddParticle(const TParticle * p, Int_t index) ; //adds particle p to jet. index: index of p in list of all particles in event Double_t DistanceToJet(const TParticle *p)const ; @@ -39,9 +42,9 @@ public: const Int_t * Indexs(Int_t & nIndexs)const{nIndexs = fNpart; return fList->GetArray() ;} Bool_t IsInCone(const TParticle * p)const ; - Bool_t IsInCone(const Double_t e,const Double_t eta,const Double_t phi)const ; + Bool_t IsInCone(Double_t eta, Double_t phi)const ; Bool_t AcceptConeDeviation(const TParticle *p)const ; - Bool_t AcceptConeDeviation(const Double_t e,const Double_t eta,const Double_t phi)const ; + Bool_t AcceptConeDeviation(Double_t e, Double_t eta, Double_t phi)const ; void SetConeRadius(Double_t r){fConeRad = r ;} ; void SetMaxConeMove(Double_t max = 0.15){fMaxConeMove = max ;} ; @@ -55,15 +58,19 @@ public: else return fSumPhi/fSumEnergy ;} Int_t GetNJetParticles(void)const{return fNpart;} - void Print(Option_t * option="") ; + void Print(const Option_t * = "") const ; + AliPHOSJet & operator = (const AliPHOSJet & /*rvalue*/) { + // assignement operator requested by coding convention but not needed + Fatal("operator =", "not implemented") ; return *this ; + } private: Int_t fNpart ; //Number of particles in jet TArrayI * fList ; //Indexes of particles in list - Double_t fConeRad ; - Double_t fMaxConeMove ; - Double_t fMinConeMove ; + Double_t fConeRad ; // Cone radius + Double_t fMaxConeMove ;// Maximum Cone movement + Double_t fMinConeMove ;// Minimum Cone movement Double_t fSumEnergy ; //! Intermediate energy Double_t fSumEta ; //! Intermediate eta Double_t fSumPhi ; //! Intermediate phi @@ -78,4 +85,11 @@ private: }; -#endif // ALIJET_H +////////////////////////////////////////////////////// + +#endif // ALIPHOSJET_H + + + + +