]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSJetFinder.h
Effective c++ corrections (T.Pocheptsov)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJetFinder.h
index 9f1e2158e384f87497d5fec79581e3ebffb7479d..4d7e48d03aa4e04f840a9a0507ab6562ccd27559 100644 (file)
@@ -3,6 +3,16 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.6  2005/05/28 14:19:04  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 //                  
 //*-- Author: D.Peressounko
@@ -22,13 +32,13 @@ class AliPHOSJetFinder : public TNamed {
 
 public:
   AliPHOSJetFinder() ;          // ctor
-
+  AliPHOSJetFinder(const AliPHOSJetFinder & jet);
   virtual ~AliPHOSJetFinder() ; // dtor
 
   void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
   void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
 
-  void Print(Option_t * option = "") ;
+  void Print(const Option_t * = "") const ;
 
   void SetEtSeed(Double_t etseed){fEtSeed = etseed ;} ;
   void SetEtMin(Double_t etmin){fEtMin = etmin ;} ;
@@ -36,28 +46,32 @@ public:
   void SetMaxConeMove(Double_t move){fMaxConeMove=move ; } ;
   void SetMinConeMove(Double_t move){fMinConeMove=move ; } ;
   void SetStatusCode(Int_t stc = 1){fStatusCode=stc ;} ;
+  AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/)  {
+    // assignement operator requested by coding convention but not needed
+    Fatal("operator =", "not implemented") ; return *this ; 
+  }
   
 private:
   Double_t Calibrate(const AliPHOSDigit * digit) ;
   void    CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
 
 private:
-  Int_t     fNJets ;
+  Int_t     fNJets ; //Number of jets
   Int_t     fStatusCode ; //Status code of particles to handle
   Int_t     fMode  ;   //Mode for background calculation
 
   Double_t  fConeRad ;   //Maximal radius of jet
-  Double_t  fMaxConeMove ;
-  Double_t  fMinConeMove ;
-  Double_t  fEtSeed ;
-  Double_t  fEtMin ;   
-  Double_t  fPrecBg ;
-  Double_t  fSimGain ;
-  Double_t  fSimPedestal ;
+  Double_t  fMaxConeMove ; //Maximal cone movement
+  Double_t  fMinConeMove ; //Minimum cone movement
+  Double_t  fEtSeed ;      //Transversal energy seed
+  Double_t  fEtMin ;       //Minimal transversal energy
+  Double_t  fPrecBg ;      //Precision due to background?  
+  Double_t  fSimGain ;     //Simulated digit gain
+  Double_t  fSimPedestal ; //Simulated digit pedestal
 
 
-  TClonesArray * fParticles ;
-  TObjArray *    fJets ;
+  TClonesArray * fParticles ; //Particles array
+  TObjArray *    fJets ;      //Jets array
 
   ClassDef(AliPHOSJetFinder,1)  //Class to find Jets