Changeset 13575 for fact


Ignore:
Timestamp:
05/07/12 09:35:15 (12 years ago)
Author:
Jens Buss
Message:
dded filling and drawing of distribution histograms
File:
1 edited

Legend:

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

    r13558 r13575  
    581581                                            pulsesCanvasFrameNrs
    582582                                            );
     583
     584                                pixel[firstPixelOfSet]->DrawDistributionHistograms(
     585                                            cgpDistributions,
     586                                            distributionCanvasFrameNrs
     587                                            );
    583588//                            }
    584589                            if (testmode)
     
    632637                            cgpPixelPulses,
    633638                            pulsesCanvasFrameNrs
     639                            );
     640
     641                pixel[pixelID]->DrawDistributionHistograms(
     642                            cgpDistributions,
     643                            distributionCanvasFrameNrs
    634644                            );
    635645
     
    717727    delete      datafile;
    718728    delete[]    pixel;
     729    delete tf;
    719730
    720731
     
    869880                        cout << endl << "\t...filling Edge Histogram" ;
    870881                CurrentPixel->hSlopeRisingEdge[order_of_pulse]->Fill( reg->slopeOfRisingEdge ) ;
     882            }
     883
     884            if (CurrentPixel->mOptions.Contains("R") )
     885            {
     886                if (verbosityLevel > 2)
     887                        cout << endl << "\t...filling RisingEdgeToMax Histogram" ;
     888                CurrentPixel->hRisingEdgeToMax[order_of_pulse]->Fill( reg->distanceEdgeToMax ) ;
     889            }
     890
     891            if (CurrentPixel->mOptions.Contains("M") )
     892            {
     893                if (verbosityLevel > 2)
     894                        cout << endl << "\t...filling PosOfMax Histogram" ;
     895                CurrentPixel->hPosOfMax[order_of_pulse]->Fill( reg->maxPos ) ;
    871896            }
    872897
     
    957982        cgpPixelPulses[pulse_order]->Modified();
    958983        cgpPixelPulses[pulse_order]->Update();
     984        cgpDistributions[pulse_order]->Modified();
     985        cgpDistributions[pulse_order]->Update();
    959986        cgpTestHistos->Modified();
    960987        cgpTestHistos->Update();
Note: See TracChangeset for help on using the changeset viewer.