Blob Blame History Raw
diff -ur root-5.34.09.orig/hist/hist/src/TEfficiency.cxx root-5.34.09/hist/hist/src/TEfficiency.cxx
--- root-5.34.09.orig/hist/hist/src/TEfficiency.cxx	2013-06-26 17:05:06.000000000 +0200
+++ root-5.34.09/hist/hist/src/TEfficiency.cxx	2013-06-27 07:06:03.769693346 +0200
@@ -2498,7 +2498,7 @@
    //the same process.
    //
    //The new weight is set according to:
-   //Begin_Latex #frac{1}{w_{new}} = #sum_{i} \frac{1}{w_{i}}End_Latex 
+   //Begin_Latex #frac{1}{w_{new}} = #sum_{i} #frac{1}{w_{i}}End_Latex 
    
    if(!pList->IsEmpty()) {   
       TIter next(pList);
@@ -2558,7 +2558,7 @@
    //calculates a new weight:
    //current weight of this TEfficiency object = Begin_Latex w_{1} End_Latex
    //weight of rhs = Begin_Latex w_{2} End_Latex
-   //Begin_Latex w_{new} = \frac{w_{1} \times w_{2}}{w_{1} + w_{2}}End_Latex
+   //Begin_Latex w_{new} = #frac{w_{1} #times w_{2}}{w_{1} + w_{2}}End_Latex
    
 
    if (fTotalHistogram == 0 && fPassedHistogram == 0) { 
@@ -2971,11 +2971,11 @@
 //______________________________________________________________________________
 void TEfficiency::SetBetaAlpha(Double_t alpha)
 {
-   //sets the shape parameter Begin_Latex \alpha End_Latex
+   //sets the shape parameter Begin_Latex #alpha End_Latex
    //
    //The prior probability of the efficiency is given by the beta distribution:
    //Begin_Latex
-   // f(\varepsilon;\alpha;\beta) = \frac{1}{B(\alpha,\beta)} \varepsilon^{\alpha-1} (1 - \varepsilon)^{\beta-1}
+   // f(#varepsilon;#alpha;#beta) = #frac{1}{B(#alpha,#beta)} #varepsilon^{#alpha-1} (1 - #varepsilon)^{#beta-1}
    //End_Latex
    //
    //Note: - both shape parameters have to be positive (i.e. > 0)
@@ -2989,11 +2989,11 @@
 //______________________________________________________________________________
 void TEfficiency::SetBetaBeta(Double_t beta)
 {   
-   //sets the shape parameter Begin_Latex \beta End_Latex
+   //sets the shape parameter Begin_Latex #beta End_Latex
    //
    //The prior probability of the efficiency is given by the beta distribution:
    //Begin_Latex
-   // f(\varepsilon;\alpha,\beta) = \frac{1}{B(\alpha,\beta)} \varepsilon^{\alpha-1} (1 - \varepsilon)^{\beta-1}
+   // f(#varepsilon;#alpha,#beta) = #frac{1}{B(#alpha,#beta)} #varepsilon^{#alpha-1} (1 - #varepsilon)^{#beta-1}
    //End_Latex
    //
    //Note: - both shape parameters have to be positive (i.e. > 0)
@@ -3007,12 +3007,12 @@
 //______________________________________________________________________________
 void TEfficiency::SetBetaBinParameters(Int_t bin, Double_t alpha, Double_t beta)
 {
-   //sets different  shape parameter Begin_Latex \alpha and \beta End_Latex
-   // for the prior distribution for each bin. By default the global parameter are used if they are not set 
-   // for the specific bin 
+   //sets different shape parameter Begin_Latex #alpha and #beta End_Latex
+   //for the prior distribution for each bin. By default the global parameter are used if they are not set 
+   //for the specific bin 
    //The prior probability of the efficiency is given by the beta distribution:
    //Begin_Latex
-   // f(\varepsilon;\alpha;\beta) = \frac{1}{B(\alpha,\beta)} \varepsilon^{\alpha-1} (1 - \varepsilon)^{\beta-1}
+   // f(#varepsilon;#alpha;#beta) = #frac{1}{B(#alpha,#beta)} #varepsilon^{#alpha-1} (1 - #varepsilon)^{#beta-1}
    //End_Latex
    //
    //Note: - both shape parameters have to be positive (i.e. > 0)