Changeset 19971 for trunk/FACT++/spectrum
- Timestamp:
- 07/20/20 16:20:59 (5 years ago)
- Location:
- trunk/FACT++/spectrum
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/spectrum/display.C
r19909 r19971 91 91 h1->SetMarkerStyle(23); 92 92 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"); 93 110 94 111 // -------------------------------- -
trunk/FACT++/spectrum/simulation.sql
r19915 r19971 10 10 INTERVAL(LOG10(Energy), %108:sparse) AS `.sparse_sim`, 11 11 INTERVAL(LOG10(Energy), %109:dense) AS `.dense_sim`, 12 INTERVAL(Impact/100, %110:impact) AS `.impact`, 12 13 13 (%11 0: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? 14 15 LogEnergyEst - log10(Energy) AS Residual 15 16 FROM … … 27 28 `.dense_est`, 28 29 `.dense_sim`, 30 `.impact`, 29 31 30 32 -- Without any weight applied … … 59 61 ThetaDist USING(`.theta`) 60 62 GROUP 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.