Bugfix:
authormiweber <m.weber@cern.ch>
Tue, 4 Nov 2014 10:15:54 +0000 (11:15 +0100)
committermiweber <m.weber@cern.ch>
Tue, 4 Nov 2014 10:33:41 +0000 (11:33 +0100)
- Commenting pt (not used further)

PWGCF/EBYE/LRC/AliLRCAnalysis.cxx

index 9ae8abf..428a3fa 100644 (file)
@@ -471,7 +471,7 @@ void AliLRCAnalysis::SetErrors(TH2D* source, const char *name, double ptd, TH2D*
                fPrAbs->SetBinContent(i, profX->GetBinContent(i));
                if(fPrf->GetBinContent(i)!=0)
                {
-                         pt = profX->GetBinContent(i);
+                         //pt = profX->GetBinContent(i);
                          fPrAbs->SetBinError(i,ptd*sqrt(Integral(nb,i))/fPrf->GetBinContent(i));
                }
                fPrRel->SetBinContent(i, fPrAbs->GetBinContent(i)/fPrb->GetMean());
@@ -489,7 +489,7 @@ void AliLRCAnalysis::SetErrors(TH2D* source, const char *name, double ptd, const
                fPrAbs->SetBinContent(i, profX->GetBinContent(i));
                if(fPrf->GetBinContent(i)!=0)
                {
-                         pt = profX->GetBinContent(i);
+                         //pt = profX->GetBinContent(i);
                          fPrAbs->SetBinError(i,ptd*sqrt(nb->GetBinContent(i)/fPrf->GetBinContent(i)));
                }
                fPrRel->SetBinContent(i, fPrAbs->GetBinContent(i)/fPrb->GetMean());