Changeset 5863
- Timestamp:
- 01/16/05 18:14:27 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc
r5858 r5863 78 78 MCalibCalcFromPast::MCalibCalcFromPast(const char *name, const char *title) 79 79 : fGeom(NULL), fParList(NULL), 80 fIntensCharge(NULL), fIntens RelTime(NULL), fIntensBad(NULL),80 fIntensCharge(NULL), fIntensBlind(NULL), fIntensRelTime(NULL), fIntensBad(NULL), 81 81 fChargeCalc(NULL), fRelTimeCalc(NULL), fCalibrate(NULL), 82 82 fNumEvents(0), fNumCam(0) -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
r5858 r5863 64 64 Float_t fNumHiGainSaturationLimit; // Rel. amount sat. higain FADC slices until pixel is called saturated 65 65 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 67 68 MArrayI fRunNumbers; // Numbers of runs used 68 69 … … 215 216 void SetProbLimit ( const Float_t f=fgProbLimit) { fProbLimit = f; } 216 217 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 222 224 }; 223 225 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r5858 r5863 130 130 const Axis_t MHCalibrationRelTimeCam::fgLast = 5.; 131 131 const Float_t MHCalibrationRelTimeCam::fgProbLimit = 0.; 132 const Float_t MHCalibrationRelTimeCam::fgNumOverflowLimit = 0.005; 132 133 const TString MHCalibrationRelTimeCam::gsHistName = "RelTime"; 133 134 const TString MHCalibrationRelTimeCam::gsHistTitle = "Rel. Arr. Times"; … … 163 164 SetLast (fgLast ); 164 165 166 SetNumOverflowLimit(fgNumOverflowLimit); 165 167 SetProbLimit(fgProbLimit); 166 168 … … 679 681 680 682 Stat_t overflow = hist->GetBinContent(hist->GetNbinsX()+1); 681 if (overflow > 0.0005*hist->GetEntries())683 if (overflow > fNumOverflowLimit*hist->GetEntries()) 682 684 { 683 685 *fLog << warn << "HiGain Hist-overflow " << overflow … … 686 688 687 689 overflow = hist->GetBinContent(0); 688 if (overflow > 0.0005*hist->GetEntries())690 if (overflow > fNumOverflowLimit*hist->GetEntries()) 689 691 { 690 692 *fLog << warn << "HiGain Hist-underflow " << overflow -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h
r5685 r5863 22 22 23 23 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) 24 25 static const UInt_t fgReferencePixel; //! Default for fReferencePixel (now set to: 1) 25 26 static const Int_t fgNbins; //! Default number of bins (now set to: 900 )
Note:
See TracChangeset
for help on using the changeset viewer.