Ignore:
Timestamp:
02/16/04 11:56:44 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3173 r3184  
    7676MHCalibrationPINDiode::~MHCalibrationPINDiode()
    7777{
    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;
    8680}
    8781
    8882void MHCalibrationPINDiode::Clear(Option_t *o)
    8983{
    90  
    91   fTotalEntries            = 0;
     84    fTotalEntries      = 0;
    9285
    93   fChargeFirstHiGain      = -100.5;
    94   fChargeLastHiGain        = 1999.5;
     86    fChargeFirstHiGain = -100.5;
     87    fChargeLastHiGain  = 1999.5;
    9588
    96   fChargeChisquare         = -1.;
    97   fChargeProb              = -1.;
    98   fChargeNdf               = -1;
     89    fChargeChisquare   = -1;
     90    fChargeProb        = -1;
     91    fChargeNdf         = -1;
    9992
    100   if (fChargeGausFit)
    101     delete fChargeGausFit;
    102   if (fFitLegend)
    103     delete fFitLegend;
    104 
    105   return;
    106 
     93    MHCalibrationPixel::Clear();
    10794}
    10895
    10996void MHCalibrationPINDiode::Reset()
    11097{
     98    Clear();
    11199
    112   Clear();
    113 
    114   fHPINDiodeCharge->Reset();
    115   fHPINDiodeChargevsN->Reset();
     100    fHPINDiodeCharge->Reset();
     101    fHPINDiodeChargevsN->Reset();
    116102}
    117103
Note: See TracChangeset for help on using the changeset viewer.