Changeset 5227 for trunk/MagicSoft/Mars
- Timestamp:
- 10/11/04 21:25:34 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.cc
r5226 r5227 171 171 // Initializes: 172 172 // - 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 175 177 // 176 178 MExtractTimeAndChargeSpline::MExtractTimeAndChargeSpline(const char *name, const char *title) … … 195 197 } 196 198 199 // -------------------------------------------------------------------------- 200 // 201 // Destructor: Deletes the 202 // 197 203 MExtractTimeAndChargeSpline::~MExtractTimeAndChargeSpline() 198 204 { 199 205 200 206 if (fHiGainSignal) 201 delete fHiGainSignal;207 delete [] fHiGainSignal; 202 208 if (fLoGainSignal) 203 delete fLoGainSignal;209 delete [] fLoGainSignal; 204 210 if (fHiGainFirstDeriv) 205 delete fHiGainFirstDeriv;211 delete [] fHiGainFirstDeriv; 206 212 if (fLoGainFirstDeriv) 207 delete fLoGainFirstDeriv;213 delete [] fLoGainFirstDeriv; 208 214 if (fHiGainSecondDeriv) 209 delete fHiGainSecondDeriv;215 delete [] fHiGainSecondDeriv; 210 216 if (fLoGainSecondDeriv) 211 delete fLoGainSecondDeriv;217 delete [] fLoGainSecondDeriv; 212 218 213 219 } … … 297 303 298 304 if (fHiGainSignal) 299 delete fHiGainSignal;305 delete [] fHiGainSignal; 300 306 if (fLoGainSignal) 301 delete fLoGainSignal;307 delete [] fLoGainSignal; 302 308 if (fHiGainFirstDeriv) 303 delete fHiGainFirstDeriv;309 delete [] fHiGainFirstDeriv; 304 310 if (fLoGainFirstDeriv) 305 delete fLoGainFirstDeriv;311 delete [] fLoGainFirstDeriv; 306 312 if (fHiGainSecondDeriv) 307 delete fHiGainSecondDeriv;313 delete [] fHiGainSecondDeriv; 308 314 if (fLoGainSecondDeriv) 309 delete fLoGainSecondDeriv;315 delete [] fLoGainSecondDeriv; 310 316 311 317 Int_t range = fHiGainLast - fHiGainFirst + 1 + fHiLoLast;
Note:
See TracChangeset
for help on using the changeset viewer.