return e-loss;
}
-Double_t AliQuenchingWeights::GetELossRandom(Int_t ipart, TH1F *hell, Double_t e=1.e6) const
+Double_t AliQuenchingWeights::GetELossRandom(Int_t ipart, TH1F *hell, Double_t e) const
{
if(!hell){
Warning("GetELossRandom","Pointer to length distribution is NULL.");
return histx;
}
-TH1F* AliQuenchingWeights::ComputeELossHisto(Int_t ipart,Double_t medval,Double_t l,Double_t e=1.e6) const
+TH1F* AliQuenchingWeights::ComputeELossHisto(Int_t ipart,Double_t medval,Double_t l,Double_t e) const
{
AliQuenchingWeights *dummy=new AliQuenchingWeights(*this);
if(fMultSoft){
return h;
}
-TH1F* AliQuenchingWeights::ComputeELossHisto(Int_t ipart,Double_t medval,TH1F *hEll,Double_t e=1.e6) const
+TH1F* AliQuenchingWeights::ComputeELossHisto(Int_t ipart,Double_t medval,TH1F *hEll,Double_t e) const
{
AliQuenchingWeights *dummy=new AliQuenchingWeights(*this);
if(fMultSoft){
c->Update();
}
-void AliQuenchingWeights::PlotAvgELoss(Int_t len,Double_t e=1.e6) const
+void AliQuenchingWeights::PlotAvgELoss(Int_t len,Double_t e) const
{
if(!fTablesLoaded){
Error("CalcMult","Tables are not loaded.");
c->Update();
}
-void AliQuenchingWeights::PlotAvgELoss(TH1F *hEll,Double_t e=1.e6) const
+void AliQuenchingWeights::PlotAvgELoss(TH1F *hEll,Double_t e) const
{
if(!fTablesLoaded){
Error("CalcMult","Tables are not loaded.");