//____________________________________________________________________________
AliPHOSJet::AliPHOSJet():TObject() {
- //Inicilize members
+ //Initialize members
fNpart = 0 ;
fList = 0 ;
// fMode = 0 ;
}
//____________________________________________________________________________
-void AliPHOSJet::AddParticle(const TParticle * p,const Int_t index){
+void AliPHOSJet::AddParticle(const TParticle * p, Int_t index){
//adds particle to jet. Calculates change in jet direction,
//due to addition of this particle and if it is smaller, than fMaxDev,
//add particle, axcept new direction and return true.
}
}
//____________________________________________________________________________
-void AliPHOSJet::AddDigit(const Double_t e,const Double_t eta,const Double_t phi, const Int_t index){
+void AliPHOSJet::AddDigit(Double_t e, Double_t eta, Double_t phi, Int_t index){
//adds particle to jet. Calculates change in jet direction,
//due to addition of this particle and if it is smaller, than fMaxDev,
//add particle, axcept new direction and return true.
// case 1:
// return AcceptConeDeviation(dEta,dPhi,p->Energy() );
// default:
-// Error("IsInCone","Unknown mode of cone calculation %d \n",mode );
+// AliError(Form("Unknown mode of cone calculation %d \n",mode ));
// }
// return kFALSE ;
//}
return kFALSE ;
}
//____________________________________________________________________________
-Bool_t AliPHOSJet::AcceptConeDeviation(const Double_t e,const Double_t eta,const Double_t phi)const
+Bool_t AliPHOSJet::AcceptConeDeviation(Double_t e, Double_t eta, Double_t phi)const
{ //Calculate cone deviation in case of inclusion of the given
//particle to jet.
return kFALSE ;
}
//____________________________________________________________________________
-Bool_t AliPHOSJet::IsInCone(const Double_t eta,const Double_t phi)const
+Bool_t AliPHOSJet::IsInCone(Double_t eta, Double_t phi)const
{
//Says if particle is inside the defined cone
Double_t dEta ;
fSumPhi = 0. ;
}
//____________________________________________________________________________
-void AliPHOSJet::Print(){
+void AliPHOSJet::Print(const Option_t *) const {
//Print jet parameters
printf("-------------- AliPHOSJet ------------\n") ;
printf(" Energy............. %f \n",fEnergy) ;