Changeset 5227 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/11/04 21:25:34 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.cc

    r5226 r5227  
    171171// Initializes:
    172172// - fResolution    to fgResolution
    173 // - fRatioMax2Fall to fgRatioMax2Fall
    174 // - fExtractCharges to kFALSE
     173// - fRiseTime      to fgRiseTime
     174// - fFallTime      to fgFallTime
     175// - Time Extraction Type to kMaximum
     176// - Charge Extraction Type to kAmplitude
    175177//
    176178MExtractTimeAndChargeSpline::MExtractTimeAndChargeSpline(const char *name, const char *title)
     
    195197}
    196198
     199// --------------------------------------------------------------------------
     200//
     201// Destructor: Deletes the
     202//
    197203MExtractTimeAndChargeSpline::~MExtractTimeAndChargeSpline()
    198204{
    199205 
    200206  if (fHiGainSignal)
    201     delete fHiGainSignal;
     207    delete [] fHiGainSignal;
    202208  if (fLoGainSignal)
    203     delete fLoGainSignal;
     209    delete [] fLoGainSignal;
    204210  if (fHiGainFirstDeriv)
    205     delete fHiGainFirstDeriv;
     211    delete [] fHiGainFirstDeriv;
    206212  if (fLoGainFirstDeriv)
    207     delete fLoGainFirstDeriv;
     213    delete [] fLoGainFirstDeriv;
    208214  if (fHiGainSecondDeriv)
    209     delete fHiGainSecondDeriv;
     215    delete [] fHiGainSecondDeriv;
    210216  if (fLoGainSecondDeriv)
    211     delete fLoGainSecondDeriv;
     217    delete [] fLoGainSecondDeriv;
    212218 
    213219}
     
    297303
    298304  if (fHiGainSignal)
    299     delete fHiGainSignal;
     305    delete [] fHiGainSignal;
    300306  if (fLoGainSignal)
    301     delete fLoGainSignal;
     307    delete [] fLoGainSignal;
    302308  if (fHiGainFirstDeriv)
    303     delete fHiGainFirstDeriv;
     309    delete [] fHiGainFirstDeriv;
    304310  if (fLoGainFirstDeriv)
    305     delete fLoGainFirstDeriv;
     311    delete [] fLoGainFirstDeriv;
    306312  if (fHiGainSecondDeriv)
    307     delete fHiGainSecondDeriv;
     313    delete [] fHiGainSecondDeriv;
    308314  if (fLoGainSecondDeriv)
    309     delete fLoGainSecondDeriv;
     315    delete [] fLoGainSecondDeriv;
    310316 
    311317  Int_t range = fHiGainLast - fHiGainFirst + 1 + fHiLoLast;
Note: See TracChangeset for help on using the changeset viewer.