if (fResTmp) { delete[] fResTmp; fResTmp = 0; }
if (fGrid) { delete[] fGrid; fGrid = 0; }
if (fUsrMacro) { delete fUsrMacro; fUsrMacro = 0;}
+ fChebCalc.SetOwner(kTRUE);
fChebCalc.Delete();
//
}
{
// clear all dynamic parts
if (fNParamsSol) {
+ fParamsSol->SetOwner(kTRUE);
delete fParamsSol; fParamsSol = 0;
delete[] fSegZSol; fSegZSol = 0;
delete[] fSegPSol; fSegPSol = 0;
fMaxRSol = 0;
//
if (fNParamsTPC) {
+ fParamsTPC->SetOwner(kTRUE);
delete fParamsTPC; fParamsTPC = 0;
delete[] fSegZTPC; fSegZTPC = 0;
delete[] fSegPTPC; fSegPTPC = 0;
fMaxRTPC = 0;
//
if (fNParamsTPCRat) {
+ fParamsTPCRat->SetOwner(kTRUE);
delete fParamsTPCRat; fParamsTPCRat = 0;
delete[] fSegZTPCRat; fSegZTPCRat = 0;
delete[] fSegPTPCRat; fSegPTPCRat = 0;
fMaxRTPCRat = 0;
//
if (fNParamsDip) {
+ fParamsDip->SetOwner(kTRUE);
delete fParamsDip; fParamsDip = 0;
delete[] fSegZDip; fSegZDip = 0;
delete[] fSegYDip; fSegYDip = 0;