]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Also add the number of entries when adding 2 histograms.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Aug 2002 15:13:28 +0000 (15:13 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Aug 2002 15:13:28 +0000 (15:13 +0000)
HLT/hough/AliL3Histogram.cxx

index afc15a9e2828992e21a0a404b29b67ec05b6fb10..f0b05939d4b1c3a175cf18c00115e94b95fd9cce 100644 (file)
@@ -223,6 +223,7 @@ void AliL3Histogram::Add(AliL3Histogram *h1,Double_t weight)
   for(Int_t bin=0; bin<fNcells; bin++)
     fContent[bin] += h1->GetBinContent(bin);
   
+  fEntries += h1->GetNEntries();
 }
 
 Double_t AliL3Histogram::GetBinCenterX(Int_t xbin)