Ignore:
Timestamp:
07/20/20 16:20:59 (4 years ago)
Author:
tbretz
Message:
Added a binning in Impact Parameter for crosschecks
Location:
trunk/FACT++/spectrum
Files:
2 edited

Legend:

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

    r19909 r19971  
    9191    h1->SetMarkerStyle(23);
    9292    h1->DrawCopy("P same");
     93
     94    // --------------------------------
     95
     96    c = new TCanvas("Impact", "Impact");
     97    c->Divide(2,2);
     98    c->cd(1);
     99    file.GetObject("MC/dense/TrueEnergy/Impact", h2);
     100    h2->DrawCopy("colz");
     101    h2->DrawCopy("same");
     102    c->cd(2);
     103    file.GetObject("MC/sparse/TrueEnergy/Impact", h2);
     104    h2->DrawCopy("colz");
     105    h2->DrawCopy("same");
     106    c->cd(3);
     107    file.GetObject("MC/theta/Impact", h2);
     108    h2->DrawCopy("colz");
     109    h2->DrawCopy("same");
    93110
    94111    // --------------------------------
  • trunk/FACT++/spectrum/simulation.sql

    r19915 r19971  
    1010      INTERVAL(LOG10(Energy), %108:sparse)  AS `.sparse_sim`,
    1111      INTERVAL(LOG10(Energy), %109:dense)  AS `.dense_sim`,
     12      INTERVAL(Impact/100, %110:impact)  AS `.impact`,
    1213
    13       (%110:spectrum)/POW(Energy, SpectralIndex) AS SpectralWeight,  -- FIXME: Is this correct for files with different Slopes?
     14      (%111:spectrum)/POW(Energy, SpectralIndex) AS SpectralWeight,  -- FIXME: Is this correct for files with different Slopes?
    1415      LogEnergyEst - log10(Energy) AS Residual
    1516   FROM
     
    2728   `.dense_est`,
    2829   `.dense_sim`,
     30   `.impact`,
    2931
    3032   -- Without any weight applied
     
    5961   ThetaDist USING(`.theta`)
    6062GROUP BY
    61    `.theta`, `.sparse_est`, `.sparse_sim`, `.dense_est`, `.dense_sim`
     63   `.theta`, `.sparse_est`, `.sparse_sim`, `.dense_est`, `.dense_sim`, `.impact`
Note: See TracChangeset for help on using the changeset viewer.