Ignore:
Timestamp:
03/29/04 18:58:22 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h

    r3559 r3602  
    1313#ifndef MARS_MTask
    1414#include "MTask.h"
     15#endif
     16
     17#ifndef MARS_MBadPixelsPix
     18#include "MBadPixelsPix.h"
    1519#endif
    1620
     
    3236{
    3337private:
     38
     39  static const Float_t fgChargeLimit;       // The default for fChargeLimit
     40  static const Float_t fgChargeErrLimit;    // The default for fChargeErrLimit
     41  static const Float_t fgChargeRelErrLimit; // The default for fChargeRelErrLimit
     42  static const Float_t fgTimeLowerLimit;    // The default for fTimeLowerLimit
     43  static const Float_t fgTimeUpperLimit;    // The default for fTimeUpperLimit
     44 
     45  Float_t fChargeLimit;          // The limit (in units of PedRMS) for acceptance of the fitted mean charge
     46  Float_t fChargeErrLimit;       // The limit (in units of PedRMS) for acceptance of the fitted charge sigma square
     47  Float_t fChargeRelErrLimit;    // The limit (in units of Sigma of fitted charge) for acceptance of the fitted mean 
     48  Float_t fTimeLowerLimit;       // The limit (in units of FADC slices) for distance to first signal extraction slice
     49  Float_t fTimeUpperLimit;       // The limit (in units of FADC slices) for distance to last signal extraction slice
    3450
    3551  MPedestalCam               *fPedestals;     //! Pedestals of all pixels in the camera
     
    6783  void FinalizeAvPedestals(MCalibrationChargePix &cal, Float_t avped, Float_t avrms, Int_t avnum);
    6884  Bool_t FinalizeCharges(MCalibrationChargePix &cal, MBadPixelsPix &bad);
    69   void PrintInfo();
    70  
     85
     86  void PrintUnsuitable(MBadPixelsPix::UnsuitableType_t typ, const char *text) const;   
     87  void PrintUncalibrated(MBadPixelsPix::UncalibratedType_t typ, const char *text) const;
     88
    7189public:
    7290
     
    7593  void Clear(const Option_t *o="");
    7694 
     95  void SetChargeLimit    (   const Float_t f=fgChargeLimit       ) { fChargeLimit       = f; }
     96  void SetChargeErrLimit (   const Float_t f=fgChargeErrLimit    ) { fChargeErrLimit    = f; }
     97  void SetChargeRelErrLimit( const Float_t f=fgChargeRelErrLimit ) { fChargeRelErrLimit = f; }
     98
     99  void SetTimeLowerLimit (   const Float_t f=fgTimeLowerLimit    ) { fTimeLowerLimit  = f;   }
     100  void SetTimeUpperLimit (   const Float_t f=fgTimeUpperLimit    ) { fTimeUpperLimit  = f;   }
     101
    77102  void SkipQualityChecks(Bool_t b=kTRUE)
    78103      {b ? CLRBIT(fFlags, kUseQualityChecks)    : SETBIT(fFlags, kUseQualityChecks);}
Note: See TracChangeset for help on using the changeset viewer.