Changeset 5863


Ignore:
Timestamp:
01/16/05 18:14:27 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc

    r5858 r5863  
    7878MCalibCalcFromPast::MCalibCalcFromPast(const char *name, const char *title)
    7979    : fGeom(NULL), fParList(NULL),
    80       fIntensCharge(NULL), fIntensRelTime(NULL), fIntensBad(NULL),
     80      fIntensCharge(NULL), fIntensBlind(NULL), fIntensRelTime(NULL), fIntensBad(NULL),
    8181      fChargeCalc(NULL), fRelTimeCalc(NULL), fCalibrate(NULL),
    8282      fNumEvents(0), fNumCam(0)
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h

    r5858 r5863  
    6464  Float_t fNumHiGainSaturationLimit;      // Rel. amount sat. higain FADC slices until pixel is called saturated
    6565  Float_t fNumLoGainSaturationLimit;      // Rel. amount sat. logain FADC slices until pixel is called saturated
    66 
     66  Float_t fNumOverflowLimit;              // Part of maximum allowed overflow events
     67 
    6768  MArrayI fRunNumbers;                    // Numbers of runs used
    6869
     
    215216  void SetProbLimit               ( const Float_t f=fgProbLimit) { fProbLimit = f; }   
    216217
    217   void SetNumLoGainSaturationLimit( const Float_t lim )    { fNumLoGainSaturationLimit  = lim;   }
    218   void SetNumHiGainSaturationLimit( const Float_t lim )    { fNumHiGainSaturationLimit  = lim;   }
    219   void SetPulserFrequency         ( const Int_t f=fgPulserFrequency) { fPulserFrequency = f;     }
    220  
    221   ClassDef(MHCalibrationCam, 3) // Base Histogram class for Calibration Camera
     218  void SetNumLoGainSaturationLimit( const Float_t lim )    { fNumLoGainSaturationLimit  = lim; }
     219  void SetNumHiGainSaturationLimit( const Float_t lim )    { fNumHiGainSaturationLimit  = lim; }
     220  void SetNumOverflowLimit        ( const Float_t lim )    { fNumOverflowLimit          = lim; }
     221  void SetPulserFrequency         ( const Int_t f=fgPulserFrequency) { fPulserFrequency = f;   }
     222 
     223  ClassDef(MHCalibrationCam, 4) // Base Histogram class for Calibration Camera
    222224};
    223225
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc

    r5858 r5863  
    130130const Axis_t  MHCalibrationRelTimeCam::fgLast       =  5.;
    131131const Float_t MHCalibrationRelTimeCam::fgProbLimit  = 0.;
     132const Float_t MHCalibrationRelTimeCam::fgNumOverflowLimit = 0.005;
    132133const TString MHCalibrationRelTimeCam::gsHistName   = "RelTime";
    133134const TString MHCalibrationRelTimeCam::gsHistTitle  = "Rel. Arr. Times";
     
    163164  SetLast (fgLast );
    164165
     166  SetNumOverflowLimit(fgNumOverflowLimit);
    165167  SetProbLimit(fgProbLimit);
    166168
     
    679681 
    680682  Stat_t overflow = hist->GetBinContent(hist->GetNbinsX()+1);
    681   if (overflow > 0.0005*hist->GetEntries())
     683  if (overflow > fNumOverflowLimit*hist->GetEntries())
    682684    {
    683685      *fLog << warn << "HiGain Hist-overflow " << overflow
     
    686688 
    687689  overflow = hist->GetBinContent(0);
    688   if (overflow > 0.0005*hist->GetEntries())
     690  if (overflow > fNumOverflowLimit*hist->GetEntries())
    689691    {
    690692      *fLog << warn << "HiGain Hist-underflow " << overflow
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h

    r5685 r5863  
    2222
    2323  static const Float_t fgNumHiGainSaturationLimit;   //! The default for fNumHiGainSaturationLimit (now at: 0.25)
     24  static const Float_t fgNumOverflowLimit;           //! The default for fNumOverflowLimit         (now at: 0.005)
    2425  static const UInt_t  fgReferencePixel;             //! Default for fReferencePixel   (now set to: 1)
    2526  static const Int_t   fgNbins;                      //! Default number of bins        (now set to: 900   )
Note: See TracChangeset for help on using the changeset viewer.