Changeset 13544 for fact


Ignore:
Timestamp:
05/03/12 13:19:46 (12 years ago)
Author:
Jens Buss
Message:
un uncommented deletion of distribution histos in destructor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/PulseTemplates/pixel.C

    r13543 r13544  
    444444    }
    445445
    446 //    for (int order = 0;
    447 //         order < mMaxPulseOrder;
    448 //         order ++)
    449 //    {
    450 //        if (mOptions.Contains("S"))
    451 //        {
    452 //            if (mVerbosityLevel > 3) cout << endl
    453 //                                          << "\t\t...deleting hSlopeRisingEdge"
    454 //                                          << mChid << "_" << order ;
    455 //            delete hSlopeRisingEdge[order];
    456 //        }
    457 
    458 //        if (mOptions.Contains("R"))
    459 //        {
    460 //            if (mVerbosityLevel > 3) cout << endl
    461 //                                          << "\t\t...deleting hRisingEdgeToMax"
    462 //                                          << mChid << "_" << order ;
    463 ////            delete hRisingEdgeToMax[order];
    464 //        }
    465 
    466 //        if (mOptions.Contains("P"))
    467 //        {
    468 //            if (mVerbosityLevel > 3) cout << endl
    469 //                                          << "\t\t...deleting hPosOfMax"
    470 //                                          << mChid << "_" << order ;
    471 
    472 ////            delete hPosOfMax[order];
    473 //        }
    474 
    475 //    }
     446    for (int order = 0;
     447         order < mMaxPulseOrder;
     448         order ++)
     449    {
     450        if (mOptions.Contains("S"))
     451        {
     452            if (mVerbosityLevel > 3) cout << endl
     453                                          << "\t\t...deleting hSlopeRisingEdge"
     454                                          << mChid << "_" << order ;
     455            delete hSlopeRisingEdge[order];
     456        }
     457
     458        if (mOptions.Contains("R"))
     459        {
     460            if (mVerbosityLevel > 3) cout << endl
     461                                          << "\t\t...deleting hRisingEdgeToMax"
     462                                          << mChid << "_" << order ;
     463//            delete hRisingEdgeToMax[order];
     464        }
     465
     466        if (mOptions.Contains("P"))
     467        {
     468            if (mVerbosityLevel > 3) cout << endl
     469                                          << "\t\t...deleting hPosOfMax"
     470                                          << mChid << "_" << order ;
     471
     472//            delete hPosOfMax[order];
     473        }
     474
     475    }
    476476    if (mVerbosityLevel > 3) cout << endl << "\t...deleting histogram Arrays";
    477477
Note: See TracChangeset for help on using the changeset viewer.