- Timestamp:
- 02/15/04 12:13:57 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3151 r3152 13 13 - included call to FindGoodLimits(..) in CutEdges() 14 14 - axe from pointer to reference 15 - "CutEdges" renamed to "StripZeros" 15 16 17 * manalysis/MHPedestalPixel.cc 18 * mcalib/MHCalibrationPixel.cc 19 * mcalib/MHCalibrationBlindPixel.cc 20 - "CutEdges" renamed to "StripZeros" 21 16 22 17 23 2004/02/14: Thomas Bretz -
trunk/MagicSoft/Mars/manalysis/MHPedestalPixel.cc
r3051 r3152 362 362 Int_t nbins = 15; 363 363 364 MH:: CutEdges(fHPedestalCharge,nbins);364 MH::StripZeros(fHPedestalCharge,nbins); 365 365 366 366 fChargeFirst = fHPedestalCharge->GetBinLowEdge(fHPedestalCharge->GetXaxis()->GetFirst()); … … 368 368 +fHPedestalCharge->GetBinWidth(0); 369 369 370 MH:: CutEdges(fHPedestalChargevsN,0);370 MH::StripZeros(fHPedestalChargevsN,0); 371 371 372 372 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
r3125 r3152 963 963 Int_t nbins = 25; 964 964 965 CutEdges(fHBlindPixelCharge,nbins);965 StripZeros(fHBlindPixelCharge,nbins); 966 966 967 967 fBlindPixelChargefirst = fHBlindPixelCharge->GetBinLowEdge(fHBlindPixelCharge->GetXaxis()->GetFirst()); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r3112 r3152 875 875 Int_t nbins = 30; 876 876 877 CutEdges(fHChargeHiGain,nbins);877 StripZeros(fHChargeHiGain,nbins); 878 878 879 879 fChargeFirstHiGain = fHChargeHiGain->GetBinLowEdge(fHChargeHiGain->GetXaxis()->GetFirst()); … … 881 881 +fHChargeHiGain->GetBinWidth(0); 882 882 883 CutEdges(fHChargeLoGain,nbins);883 StripZeros(fHChargeLoGain,nbins); 884 884 885 885 fChargeFirstLoGain = fHChargeLoGain->GetBinLowEdge(fHChargeLoGain->GetXaxis()->GetFirst()); … … 888 888 889 889 890 CutEdges(fHAbsTimeHiGain,0);890 StripZeros(fHAbsTimeHiGain,0); 891 891 892 892 fAbsTimeFirstHiGain = fHAbsTimeHiGain->GetBinLowEdge(fHAbsTimeHiGain->GetXaxis()->GetFirst()); … … 894 894 +fHAbsTimeHiGain->GetBinWidth(0); 895 895 896 CutEdges(fHAbsTimeLoGain,0);896 StripZeros(fHAbsTimeLoGain,0); 897 897 898 898 fAbsTimeFirstLoGain = fHAbsTimeLoGain->GetBinLowEdge(fHAbsTimeLoGain->GetXaxis()->GetFirst()); -
trunk/MagicSoft/Mars/mcalib/MHGausEvent.cc
r3115 r3152 243 243 // 244 244 Int_t newbins = 20; 245 MH:: CutEdges(fHGausHist,newbins);245 MH::StripZeros(fHGausHist,newbins); 246 246 247 247 // -
trunk/MagicSoft/Mars/mhbase/MH.cc
r3151 r3152 892 892 // Returns the new (real) number of bins 893 893 // 894 Int_t MH:: CutEdges(TH1 *h, Int_t nbins)894 Int_t MH::StripZeros(TH1 *h, Int_t nbins) 895 895 { 896 896 TAxis &axe = *h->GetXaxis();
Note:
See TracChangeset
for help on using the changeset viewer.