Changeset 13782 for fact/tools


Ignore:
Timestamp:
05/18/12 21:23:59 (12 years ago)
Author:
Jens Buss
Message:
 rearrengements, uncommented so far useless bookSumDistributions function
File:
1 edited

Legend:

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

    r13655 r13782  
    1313        int         verbosityLevel,
    1414        bool        stats,
    15         TFile*      filename,
     15        TString     options,
    1616        int         pixelOverlayXaxisLeft,
    1717        int         pixelOverlayXaxisRight,
    1818        float       bSLMean,
    1919        float       gainMean,
    20         TString     options
     20        TFile*      filename
    2121        )
    2222    :Pixel(
     
    2525          verbosityLevel,
    2626          stats,
    27           filename,
     27          options,
    2828          pixelOverlayXaxisLeft,
    2929          pixelOverlayXaxisRight,
    3030          bSLMean,
    3131          gainMean,
    32           options
     32          filename
    3333          )
    3434{
     
    4444
    4545    BookSumHistos();
    46     BookSumDistributionHistos();
     46//    BookSumDistributionHistos();
    4747}
    4848
    4949PixelSum::~PixelSum()
    5050{
    51     if (mVerbosityLevel > 1) cout << endl << "...delete histograms of pixelSum " << mChid ;
     51    if (mVerbosityLevel > 1)
     52    {
     53        cout << endl << "...deleting histograms of "
     54             << mName << " ID: "<< mChid ;
     55        cout << endl << "...mConstructorType = " << mConstructorType << endl;
     56    }
    5257
    5358    DeleteSumHistos();
    54     DeleteSumDistributionHistos();
     59//    DeleteSumDistributionHistos();
     60
     61    if (mVerbosityLevel > 1)
     62    {
     63        cout << endl << "...histograms of "
     64             << mName << " ID: "<< mChid << " deleted";
     65    }
    5566
    5667}// ~PixelSum
     
    7687PixelSum::BookSumHistos()
    7788{
    78     if (mVerbosityLevel > 2) cout << endl << "...book pixel histograms" << endl;
     89    if (mVerbosityLevel > 2) cout << endl << "...book " << mName << " histograms" << endl;
    7990    for (int order = 0; order < mMaxPulseOrder; order++)
    8091    {
     
    304315// end of DeletePixelHistos
    305316//----------------------------------------------------------------------------
     317
     318TString
     319PixelSum::CsvFileName(
     320        TString     path,
     321        TString     overlayMethod,
     322        int         order
     323        )
     324{
     325    path += "CSV/";
     326    path += overlayMethod;
     327    path += "OverlayTemplate";
     328    path += "_";
     329    path +=   mName;
     330    path +=   "_";
     331    path +=   mChid;
     332    path +=   "_";
     333    path +=   order;
     334    path +=   ".csv";
     335    return path;
     336}
     337// end of CsvFileName
     338//----------------------------------------------------------------------------
     339
Note: See TracChangeset for help on using the changeset viewer.