Ignore:
Timestamp:
12/10/03 08:24:42 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.cc

    r2627 r2629  
    264264}
    265265
     266
     267Bool_t MHCalibrationPixel::UseLoGain()
     268{
     269
     270  if (fHChargeHiGain->GetEntries() > fHChargeLoGain->GetEntries())
     271    {
     272      fUseLoGain = kFALSE;
     273      return kFALSE;
     274    }
     275  else
     276    {
     277      fUseLoGain = kTRUE;
     278      return kTRUE;
     279    }
     280}
    266281
    267282
  • trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h

    r2627 r2629  
    9393  Bool_t FillChargevsNHiGain(Float_t q, Int_t n) { return fHChargevsNHiGain->Fill(n,q) > -1; }
    9494
    95   void SetUseLoGain()                      { fUseLoGain = kTRUE; }
     95  void   SetUseLoGain()                          { fUseLoGain = kTRUE; }
     96  Bool_t UseLoGain();
    9697
    9798  const TH1F *GetHCharge()                 { return fHChargeHiGain;    }
Note: See TracChangeset for help on using the changeset viewer.