Changeset 19909 for trunk/FACT++


Ignore:
Timestamp:
12/15/19 18:53:54 (5 years ago)
Author:
tbretz
Message:
Minor convenience updates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/spectrum/display.C

    r19906 r19909  
    244244    h1->DrawCopy("P same");
    245245
    246     //file.GetObject("RolkeLL", h1);
     246    //file.GetObject("Data/Energy/Integral/RolkeLL", h1);
    247247    //h1->SetMarkerStyle(22);
    248248    //h1->DrawCopy("P same");
     
    260260    gPad->SetGridx();
    261261    file.GetObject("Data/Energy/Integral/BackgroundI", h1);
     262    h1->SetTitle("Integral Signal (black), Background (red) and Excess (blue)");
    262263    h1->Scale(5);
    263264    h1->SetMaximum(30);
     265    h1->SetMarkerColor(kRed);
    264266    h1->SetLineColor(kRed);
    265267    h1->DrawCopy("P");
     
    267269    h1->DrawCopy("P same");
    268270    file.GetObject("Data/Energy/Integral/ExcessI", h1);
     271    h1->SetMarkerColor(kBlue);
    269272    h1->SetLineColor(kBlue);
    270273    h1->DrawCopy("P same");
     
    300303    h1->DrawCopy("P same");
    301304
    302     //file.GetObject("RolkeLL", h1);
     305    //file.GetObject("Data/Energy/Differential/RolkeLL", h1);
    303306    //h1->SetMarkerStyle(22);
     307    //h1->DrawCopy("P same");
     308
     309    //file.GetObject("Data/Energy/Differential/FeldmanCousins", h1);
     310    //h1->SetMarkerColor(kBlue);
     311    //h1->SetMarkerStyle(23);
    304312    //h1->DrawCopy("P same");
    305313
     
    316324    gPad->SetGridx();
    317325    file.GetObject("Data/Energy/Differential/Background", h1);
     326    h1->SetTitle("Differential Signal (black), Background (red) and Excess (blue)");
    318327    h1->Scale(5);
    319328    h1->SetMaximum(30);
     329    h1->SetMarkerColor(kRed);
    320330    h1->SetLineColor(kRed);
    321331    h1->DrawCopy("P");
     
    323333    h1->DrawCopy("P same");
    324334    file.GetObject("Data/Energy/Differential/Excess", h1);
     335    h1->SetMarkerColor(kBlue);
    325336    h1->SetLineColor(kBlue);
    326337    h1->DrawCopy("P same");
Note: See TracChangeset for help on using the changeset viewer.