Changeset 3152 for trunk


Ignore:
Timestamp:
02/15/04 12:13:57 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3151 r3152  
    1313     - included call to FindGoodLimits(..) in CutEdges()
    1414     - axe from pointer to reference
     15     - "CutEdges" renamed to "StripZeros"
    1516 
     17   * manalysis/MHPedestalPixel.cc
     18   * mcalib/MHCalibrationPixel.cc
     19   * mcalib/MHCalibrationBlindPixel.cc
     20     - "CutEdges" renamed to "StripZeros"
     21
    1622
    1723 2004/02/14: Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MHPedestalPixel.cc

    r3051 r3152  
    362362  Int_t nbins = 15;
    363363
    364   MH::CutEdges(fHPedestalCharge,nbins);
     364  MH::StripZeros(fHPedestalCharge,nbins);
    365365
    366366  fChargeFirst = fHPedestalCharge->GetBinLowEdge(fHPedestalCharge->GetXaxis()->GetFirst());
     
    368368                +fHPedestalCharge->GetBinWidth(0);
    369369
    370   MH::CutEdges(fHPedestalChargevsN,0);
     370  MH::StripZeros(fHPedestalChargevsN,0);
    371371
    372372}
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc

    r3125 r3152  
    963963  Int_t nbins = 25;
    964964
    965   CutEdges(fHBlindPixelCharge,nbins);
     965  StripZeros(fHBlindPixelCharge,nbins);
    966966
    967967  fBlindPixelChargefirst = fHBlindPixelCharge->GetBinLowEdge(fHBlindPixelCharge->GetXaxis()->GetFirst());
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r3112 r3152  
    875875  Int_t nbins = 30;
    876876
    877   CutEdges(fHChargeHiGain,nbins);
     877  StripZeros(fHChargeHiGain,nbins);
    878878
    879879  fChargeFirstHiGain = fHChargeHiGain->GetBinLowEdge(fHChargeHiGain->GetXaxis()->GetFirst());
     
    881881                      +fHChargeHiGain->GetBinWidth(0);
    882882
    883   CutEdges(fHChargeLoGain,nbins);
     883  StripZeros(fHChargeLoGain,nbins);
    884884
    885885  fChargeFirstLoGain = fHChargeLoGain->GetBinLowEdge(fHChargeLoGain->GetXaxis()->GetFirst());
     
    888888
    889889
    890   CutEdges(fHAbsTimeHiGain,0);
     890  StripZeros(fHAbsTimeHiGain,0);
    891891
    892892  fAbsTimeFirstHiGain = fHAbsTimeHiGain->GetBinLowEdge(fHAbsTimeHiGain->GetXaxis()->GetFirst());
     
    894894                       +fHAbsTimeHiGain->GetBinWidth(0);
    895895
    896   CutEdges(fHAbsTimeLoGain,0);
     896  StripZeros(fHAbsTimeLoGain,0);
    897897
    898898  fAbsTimeFirstLoGain = fHAbsTimeLoGain->GetBinLowEdge(fHAbsTimeLoGain->GetXaxis()->GetFirst());
  • trunk/MagicSoft/Mars/mcalib/MHGausEvent.cc

    r3115 r3152  
    243243  //
    244244  Int_t newbins = 20;
    245   MH::CutEdges(fHGausHist,newbins);
     245  MH::StripZeros(fHGausHist,newbins);
    246246 
    247247  //
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r3151 r3152  
    892892//  Returns the new (real) number of bins
    893893//
    894 Int_t MH::CutEdges(TH1 *h, Int_t nbins)
     894Int_t MH::StripZeros(TH1 *h, Int_t nbins)
    895895{
    896896    TAxis &axe = *h->GetXaxis();
Note: See TracChangeset for help on using the changeset viewer.