+ if (!fCorrections) {
+ AliInfo("No Correction-models were set: can not delete them");
+ } else {
+ TIterator *i=fCorrections->MakeIterator();
+ AliTPCCorrection *c;
+ while (0!=(c=dynamic_cast<AliTPCCorrection*>(i->Next()))) {
+ delete c;
+ }
+ delete i;
+ }
+ if (fWeights) delete fWeights;