Ignore:
Timestamp:
09/13/04 14:37:42 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r4979 r4980  
    927927  *fLog << endl;
    928928
     929  TH1F *h = NULL;
     930     
    929931  for (Int_t i=0; i<fHiGainArray->GetSize(); i++)
    930932    {
     
    949951      MBadPixelsPix          &bad    = (*fBadPixels)[i];
    950952
    951       Stat_t overflow = histhi.GetHGausHist()->GetBinContent(histhi.GetHGausHist()->GetNbinsX()+1);
     953      h = histhi.GetHGausHist();
     954
     955      Stat_t overflow = h->GetBinContent(h->GetNbinsX()+1);
    952956      if (overflow > 0.1)
    953957        {
     
    958962        }
    959963
    960       overflow = histhi.GetHGausHist()->GetBinContent(0);
     964      overflow = h->GetBinContent(0);
    961965      if (overflow > 0.1)
    962966        {
     
    989993          }
    990994       
    991         Stat_t overflow = histlo.GetHGausHist()->GetBinContent(histlo.GetHGausHist()->GetNbinsX()+1);
     995        h = histlo.GetHGausHist();
     996
     997        Stat_t overflow = h->GetBinContent(h->GetNbinsX()+1);
    992998        if (overflow > 0.1)
    993999          {
     
    9981004          }
    9991005
    1000         overflow = histlo.GetHGausHist()->GetBinContent(0);
     1006        overflow = h->GetBinContent(0);
    10011007        if (overflow > 0.1)
    10021008          {
Note: See TracChangeset for help on using the changeset viewer.