Changeset 4980 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 09/13/04 14:37:42 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r4979 r4980 927 927 *fLog << endl; 928 928 929 TH1F *h = NULL; 930 929 931 for (Int_t i=0; i<fHiGainArray->GetSize(); i++) 930 932 { … … 949 951 MBadPixelsPix &bad = (*fBadPixels)[i]; 950 952 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); 952 956 if (overflow > 0.1) 953 957 { … … 958 962 } 959 963 960 overflow = h isthi.GetHGausHist()->GetBinContent(0);964 overflow = h->GetBinContent(0); 961 965 if (overflow > 0.1) 962 966 { … … 989 993 } 990 994 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); 992 998 if (overflow > 0.1) 993 999 { … … 998 1004 } 999 1005 1000 overflow = h istlo.GetHGausHist()->GetBinContent(0);1006 overflow = h->GetBinContent(0); 1001 1007 if (overflow > 0.1) 1002 1008 {
Note:
See TracChangeset
for help on using the changeset viewer.