Ignore:
Timestamp:
12/15/19 00:34:27 (5 years ago)
Author:
tbretz
Message:
Some simplification for a better structured root file.
File:
1 edited

Legend:

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

    r19897 r19900  
    199199    c->cd(4);
    200200    gPad->SetLogy();
    201     file.GetObject("Data/Energy/Excess", h1);
     201    file.GetObject("Data/Energy/Differential/Excess", h1);
    202202    h1->SetTitle("Measured Signal (blue) / Simulated Excess (black)");
    203203    h1->SetLineColor(kBlue);
     
    214214    c = new TCanvas("Integral Spectrum", "Integral Spectrum");
    215215    c->SetLogy();
    216     file.GetObject("Data/Energy/IntegratedSpectrum", h1);
     216    file.GetObject("Data/Energy/Differential/IntegratedSpectrum", h1);
    217217    h1->SetLineColor(kGray);
    218218    h1->SetMarkerColor(kGray);
    219219    h1->DrawCopy("P");
    220     file.GetObject("Data/Energy/IntegralSpectrum", h1);
     220    file.GetObject("Data/Energy/Integral/Spectrum", h1);
    221221    h1->DrawCopy("P same");
    222222
     
    230230    cout << endl;
    231231
    232     file.GetObject("Data/Energy/RolkeIntegralUL", h1);
     232    file.GetObject("Data/Energy/Integral/RolkeUL", h1);
    233233    h1->SetMarkerStyle(23);
    234234    h1->DrawCopy("P same");
     
    242242    c = new TCanvas("Differential Spectrum", "Differential Spectrum");
    243243    c->SetLogy();
    244     file.GetObject("Data/Energy/Spectrum", h1);
     244    file.GetObject("Data/Energy/Differential/Spectrum", h1);
    245245    h1->DrawCopy("P");
    246246
     
    254254    cout << endl;
    255255
    256     file.GetObject("Data/Energy/RolkeUL", h1);
     256    file.GetObject("Data/Energy/Differential/RolkeUL", h1);
    257257    h1->SetMarkerStyle(23);
    258258    h1->DrawCopy("P same");
Note: See TracChangeset for help on using the changeset viewer.