]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSJet.h
Coding rule violations fixed.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJet.h
index 8bd9f63cdbb6c8cfa785d98d2b9dea0914008fc2..dd178a30af673990fcb3c04a10335c48aeffb1f2 100644 (file)
@@ -24,14 +24,12 @@ class AliPHOSJet : public TObject {
 
 public:
   AliPHOSJet() ;          // ctor
-  AliPHOSJet(const AliPHOSJet & jet) : TObject(jet){
-    // copy ctor: no implementation yet
-    Fatal("cpy ctor", "not implemented") ;
-  }
+  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 ;
@@ -44,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 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 ;} ;
@@ -60,8 +58,8 @@ public:
                           else return fSumPhi/fSumEnergy ;}
   Int_t GetNJetParticles(void)const{return fNpart;}
 
-  void Print() ;
-  AliPHOSJet & operator = (const AliPHOSJet & rvalue)  {
+  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 ; 
   }