Ignore:
Timestamp:
04/19/13 01:40:04 (11 years ago)
Author:
Jens Buss
Message:
additional histos
File:
1 edited

Legend:

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

    r15120 r15369  
    442442                    (mGainMean*(order+1)) + 10,
    443443                    "Y");
     444        hMaxOverlay[order]->SetDrawOption("colz");
    444445        hMaxOverlay[order]->GetXaxis()->SetTitle( "Timeslices [a.u.]" );
    445446        hMaxOverlay[order]->GetYaxis()->SetTitle( "Amplitude [mV]" );
     
    466467                    (mGainMean*(order+1)) + 10,
    467468                    "Y");
     469        hEdgeOverlay[order]->SetDrawOption("colz");
    468470        hEdgeOverlay[order]->GetXaxis()->SetTitle( "Timeslices [a.u.]" );
    469471        hEdgeOverlay[order]->GetYaxis()->SetTitle( "Amplitude [mV]" );
     
    629631                    "hMaxPos",
    630632                    "Distribution of arrival times according to the EdgePos",
    631                     1024,
    632                     0,
     633                    1025,
     634                    -1,
    633635                    1024
    634636                    );
     
    637639//                                1024,
    638640//                                "X");
     641        hMaxPos->SetDrawOption("colz");
    639642        hMaxPos->GetXaxis()->SetTitle( " arrival time [timeslices]" );
    640643        hMaxPos->GetYaxis()->SetTitle( "counts" );
     
    646649                    "hEdgePos",
    647650                    "Distribution of arrival times according to the EdgePos",
    648                     1024,
    649                     0,
    650                     1024
     651                    1125,
     652                    -1,
     653                    1124
    651654                    );
    652655//            hEdgePos->SetAxisRange(
     
    654657//                                1024,
    655658//                                "X");
     659        hEdgePos->SetDrawOption("colz");
    656660        hEdgePos->GetXaxis()->SetTitle( " arrival time [timeslices]" );
    657661        hEdgePos->GetYaxis()->SetTitle( "counts" );
     
    665669                    "hEdgeSlope",
    666670                    "Distribution of slope of leading edges",
    667                     100*10,
    668                     -9,
    669                     90
    670                     );
    671 //            hEdgeSlope->SetAxisRange(
    672 //                                0,
    673 //                                1024,
    674 //                                "X");
     671                    100,
     672                    -1.55,
     673                    8.45
     674                    );
     675        hEdgeSlope->SetAxisRange(
     676                                0.5,
     677                                7,
     678                                "X");
     679        hEdgeSlope->SetDrawOption("colz");
    675680        hEdgeSlope->GetXaxis()->SetTitle( " slope [a.u.]" );
    676681        hEdgeSlope->GetYaxis()->SetTitle( "counts" );
    677682        hEdgeSlope->SetStats(mStats);
    678683        hList->Add( hEdgeSlope );
     684
     685        // Edge Slope Distributions
     686        //----------------------------------
     687        if (mVerbosityLevel > 3) cout << "\t...booking " << "hMaxEdgeSlope" << endl;
     688        hMaxEdgeSlope = new TH1F (
     689                    "hMaxEdgeSlope",
     690                    "Distribution of maximum slope in slices of leading edges",
     691                    100,
     692                    -1.55,
     693                    8.45
     694                    );
     695        hMaxEdgeSlope->SetAxisRange(
     696                                0.5,
     697                                7,
     698                                "X");
     699        hMaxEdgeSlope->SetDrawOption("colz");
     700        hMaxEdgeSlope->GetXaxis()->SetTitle( " slope [a.u.]" );
     701        hMaxEdgeSlope->GetYaxis()->SetTitle( "counts" );
     702        hMaxEdgeSlope->SetStats(mStats);
     703        hList->Add( hMaxEdgeSlope );
    679704
    680705        // Intercept Distributions
     
    684709                    "hIntercept",
    685710                    "Distribution of Intercept of leading edges",
    686                     100*10,
    687                     -9,
    688                     90
    689                     );
    690 //            hEdgeSlope->SetAxisRange(
    691 //                                0,
    692 //                                1024,
    693 //                                "X");
     711                    1041,
     712                    -1,
     713                    1040
     714                    );
     715        hIntercept->SetAxisRange(
     716                                -100,
     717                                100,
     718                                "X");
     719        hIntercept->SetDrawOption("colz");
    694720        hIntercept->GetXaxis()->SetTitle( " Intercept [a.u.]" );
    695721        hIntercept->GetYaxis()->SetTitle( "counts" );
     
    701727        if (mVerbosityLevel > 3) cout << "\t...booking " << "hEdgeLength" << endl;
    702728        hEdgeLength = new TH1F (
    703                     "hIntercept",
     729                    "hEdgeLength",
    704730                    "Distribution of hEdgeLength of leading edges",
    705                     20*10,
    706                     0,
    707                     20
    708                     );
    709 //            hEdgeLength->SetAxisRange(
    710 //                                0,
    711 //                                1024,
    712 //                                "X");
     731                    200,
     732                    -0.5,
     733                    199.5
     734                    );
     735        hEdgeLength->SetAxisRange(
     736                                0,
     737                                100,
     738                                "X");
     739        hEdgeLength->SetDrawOption("colz");
    713740        hEdgeLength->GetXaxis()->SetTitle( " edge length [a.u.]" );
    714741        hEdgeLength->GetYaxis()->SetTitle( "counts" );
     
    723750                    "Distribution of pulse lengthes",
    724751                    1024,
    725                     0,
    726                     1024
    727                     );
    728 //            hPulseLength->SetAxisRange(
    729 //                                0,
    730 //                                1024,
    731 //                                "X");
     752                    -0.5,
     753                    1023.5
     754                    );
     755            hPulseLength->SetAxisRange(
     756                                0,
     757                                600,
     758                                "X");
     759        hPulseLength->SetDrawOption("colz");
    732760        hPulseLength->GetXaxis()->SetTitle( " pulse length [samples]" );
    733761        hPulseLength->GetYaxis()->SetTitle( "counts" );
     
    740768                    "Distribution of pulse lengthes due to afterpulse cut off",
    741769                    1024,
    742                     0,
    743                     1024
     770                    -0.5,
     771                    1023.5
    744772                    );
    745773//            hPulseLength->SetAxisRange(
     
    747775//                                1024,
    748776//                                "X");
     777        hPulseLengthAPcutoff->SetDrawOption("colz");
    749778        hPulseLengthAPcutoff->GetXaxis()->SetTitle( " pulse length [samples]" );
    750779        hPulseLengthAPcutoff->GetYaxis()->SetTitle( "counts" );
     
    757786                    "Distribution of pulse lengthes due to time line cut off",
    758787                    1024,
    759                     0,
    760                     1024
     788                    -0.5,
     789                    1023.5
    761790                    );
    762791//            hPulseLengthTLcutoff->SetAxisRange(
     
    764793//                                1024,
    765794//                                "X");
     795        hPulseLengthTLcutoff->SetDrawOption("colz");
    766796        hPulseLengthTLcutoff->GetXaxis()->SetTitle( " pulse length [samples]" );
    767797        hPulseLengthTLcutoff->GetYaxis()->SetTitle( "counts" );
     
    776806                    "hMaxAmpl",
    777807                    "Distribution of MaxAmpl of leading edges",
    778                     20*10,
     808                    100*10,
    779809                    0,
    780                     20
     810                    100
    781811                    );
    782812//            hMaxAmpl->SetAxisRange(
     
    784814//                                1024,
    785815//                                "X");
     816        hMaxAmpl->SetDrawOption("colz");
    786817        hMaxAmpl->GetXaxis()->SetTitle( " Amplitude [a.u.]" );
    787818        hMaxAmpl->GetYaxis()->SetTitle( "counts" );
    788819        hMaxAmpl->SetStats(mStats);
    789         hList->Add( hEdgeLength );
     820        hList->Add( hMaxAmpl );
    790821
    791822        // Discarted Pulses Distributions
    792823        //----------------------------------
    793824        if (mVerbosityLevel > 3) cout << "\t...booking " << "hDiscartedPulses" << endl;
    794         hDiscartedPulses=new TH2F(
     825        hDiscartedPulses=new TProfile(
    795826                    "hDiscartedPulses",
    796827                    "DiscartedPulses vs. preperation step",
    797828                    15 ,
     829                    -0.5,
     830                    14.5 /*,
     831                    100,
    798832                    0,
    799                     15 ,
    800                     1000000,
    801                     0,
    802                     1000000
    803                     );
    804 
    805 //            hMaxOverlay[order]->SetAxisRange(
    806 //                        mBSLMean - 5,
    807 //                        (mGainMean*(order+1)) + 10,
     833                    1*/
     834                    );
     835
     836//        hDiscartedPulses->SetAxisRange(
     837//                        0,
     838//                        50,
    808839//                        "Y");
     840        hDiscartedPulses->SetAxisRange(
     841                        -0.5,
     842                        9.5,
     843                        "X");
     844        hDiscartedPulses->SetDrawOption("colz");
    809845        hDiscartedPulses->GetXaxis()->SetTitle( "step [a.u.]" );
    810846        hDiscartedPulses->GetYaxis()->SetTitle( "# discartep pulses [a.u.]" );
     
    815851        // Afterpulse Distributions
    816852        //----------------------------------
    817         if (mVerbosityLevel > 3) cout << "\t...booking " << hAfterPulses << endl;
     853        if (mVerbosityLevel > 3) cout << "\t...booking " << "hAfterPulses" << endl;
    818854        hAfterPulses=new TH2F(
    819855                    "hAfterPulses",
     
    831867//                        (mGainMean*(order+1)) + 10,
    832868//                        "Y");
     869        hAfterPulses->SetDrawOption("colz");
    833870        hAfterPulses->GetXaxis()->SetTitle( "delay [sample/ 0.5 ns]" );
    834871        hAfterPulses->GetYaxis()->SetTitle( "amplitude [mV]" );
     
    11331170    delete hEdgePos;
    11341171    delete hEdgeSlope;
     1172    delete hMaxEdgeSlope;
    11351173    delete hIntercept;
    11361174    delete hEdgeLength;
Note: See TracChangeset for help on using the changeset viewer.