-#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
//
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 ;
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 ;} ;
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
};
-#endif // ALIJET_H
+//////////////////////////////////////////////////////
+
+#endif // ALIPHOSJET_H
+
+
+
+
+