Changeset 3184 for trunk/MagicSoft/Mars/mcalib/MHCalibrationPINDiode.cc
- Timestamp:
- 02/16/04 11:56:44 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationPINDiode.cc
r3173 r3184 76 76 MHCalibrationPINDiode::~MHCalibrationPINDiode() 77 77 { 78 79 delete fHPINDiodeCharge; 80 delete fHPINDiodeChargevsN; 81 82 if (fChargeGausFit) 83 delete fChargeGausFit; 84 if (fFitLegend) 85 delete fFitLegend; 78 delete fHPINDiodeCharge; 79 delete fHPINDiodeChargevsN; 86 80 } 87 81 88 82 void MHCalibrationPINDiode::Clear(Option_t *o) 89 83 { 90 91 fTotalEntries = 0; 84 fTotalEntries = 0; 92 85 93 fChargeFirstHiGain= -100.5;94 fChargeLastHiGain= 1999.5;86 fChargeFirstHiGain = -100.5; 87 fChargeLastHiGain = 1999.5; 95 88 96 fChargeChisquare = -1.;97 fChargeProb = -1.;98 fChargeNdf= -1;89 fChargeChisquare = -1; 90 fChargeProb = -1; 91 fChargeNdf = -1; 99 92 100 if (fChargeGausFit) 101 delete fChargeGausFit; 102 if (fFitLegend) 103 delete fFitLegend; 104 105 return; 106 93 MHCalibrationPixel::Clear(); 107 94 } 108 95 109 96 void MHCalibrationPINDiode::Reset() 110 97 { 98 Clear(); 111 99 112 Clear(); 113 114 fHPINDiodeCharge->Reset(); 115 fHPINDiodeChargevsN->Reset(); 100 fHPINDiodeCharge->Reset(); 101 fHPINDiodeChargevsN->Reset(); 116 102 } 117 103
Note:
See TracChangeset
for help on using the changeset viewer.