Changeset 19982


Ignore:
Timestamp:
08/10/20 17:58:02 (4 years ago)
Author:
tbretz
Message:
Added histogram titles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/spectrum.cc

    r19981 r19982  
    11391139    WriteHistogram(connection, {
    11401140             .name     = "OnTime",
    1141              .title    = "Effective on time",
     1141             .title    = "Effective on time per Zd bin",
    11421142             .dir      = "Zd",
    11431143             .binningx = binning_theta,
     
    11561156    WriteHistogram(connection, {
    11571157             .name     = "CountN",
    1158              .title    = "Simulated Zenith Distance",
     1158             .title    = "Simulated Number of Events in each Zd bin",
    11591159             .dir      = "Zd",
    11601160             .binningx = binning_theta,
     
    11731173    WriteHistogram(connection, {
    11741174             .name     = "ZdWeight",
    1175              .title    = "Zenith Distance Weight",
     1175             .title    = "Calculated Weight for each Zd bin",
    11761176             .dir      = "Zd",
    11771177             .binningx = binning_theta,
     
    15311531        hist_sim.axisy = "Counts";
    15321532
    1533         hist_sim.title = "";
     1533        hist_sim.title = "Events simulated with Corsika";
    15341534        hist_sim.v     = "SimCountN";
    15351535        hist_sim.err   = "ErrSimCountN";
    15361536        WriteHistogram(connection, hist_sim);
    15371537
    1538         hist_sim.title = "";
     1538        hist_sim.title = "Events after cleaning";
    15391539        hist_sim.v     = "TrigCountN";
    15401540        hist_sim.err   = "ErrTrigCountN";
    15411541        WriteHistogram(connection, hist_sim);
    15421542
    1543         hist_sim.title = "";
     1543        hist_sim.title = "Events [true positive] after all cuts (quality, background suppression, theta-square)";
    15441544        hist_sim.v     = "SignalN";
    15451545        hist_sim.err   = "ErrSignalN";
    15461546        WriteHistogram(connection, hist_sim);
    15471547
     1548        hist_sim.title = "Events wrongly classified as background [false positive] after all Cuts";
     1549        hist_sim.v     = "BackgroundN";
     1550        hist_sim.err   = "ErrBackgroundN";
     1551        WriteHistogram(connection, hist_sim);
     1552
     1553        hist_sim.title = "Excess events [true positive - false positive]";
     1554        hist_sim.v     = "ExcessN";
     1555        hist_sim.err   = "ErrExcessN";
     1556        WriteHistogram(connection, hist_sim);
     1557
    15481558
    15491559        hist_sim.axisy = *ib=="theta"?"dN/dE [cm^{-2} s^{-1}]":"dN/dE [cm^{-2} s^{-1} TeV^{-1}]";
    15501560
    1551         hist_sim.title = "";
     1561        hist_sim.title = "Weighted simulated events (corsika) per simulated area and time";
    15521562        hist_sim.v     = "SimFluxW";
    15531563        hist_sim.err   = "ErrSimFluxW";
    15541564        WriteHistogram(connection, hist_sim);
    15551565
    1556         hist_sim.title = "";
     1566        hist_sim.title = "Weighted events after trigger (cered) per simulated area and time";
    15571567        hist_sim.v     = "TrigFluxW";
    15581568        hist_sim.err   = "ErrTrigFluxW";
    15591569        WriteHistogram(connection, hist_sim);
    15601570
    1561         hist_sim.title = "";
     1571        hist_sim.title = "Weighted excess events [true positive - false positive]";
    15621572        hist_sim.v     = "ExcessFluxW";
    15631573        hist_sim.err   = "ErrExcessFluxW";
    15641574        WriteHistogram(connection, hist_sim);
    15651575
    1566         hist_sim.title = "";
     1576        hist_sim.title = "Weighted events [true positive] after all cuts (quality, background suppression, theta-square)";
    15671577        hist_sim.v     = "SignalFluxW";
    15681578        hist_sim.err   = "ErrSignalFluxW";
    15691579        WriteHistogram(connection, hist_sim);
    15701580
    1571         hist_sim.title = "";
     1581        hist_sim.title = "Weighted events wrongly classified as background [false positive] after all cuts per simulated area and time";
    15721582        hist_sim.v     = "BackgroundFluxW";
    15731583        hist_sim.err   = "ErrBackgroundFluxW";
     
    15751585
    15761586
    1577         hist_sim.title = "";
     1587        hist_sim.title = "Average simulated energy for weighted events after cuts";
    15781588        hist_sim.v     = "AvgEnergySimW";
    15791589        hist_sim.err   = "";
     
    15811591        WriteHistogram(connection, hist_sim);
    15821592
    1583         hist_sim.title = "";
     1593        hist_sim.title = "Average estimated energy for weighted events after cuts";
    15841594        hist_sim.v     = "AvgEnergyEstW";
    15851595        hist_sim.err   = "";
     
    15881598
    15891599
    1590         hist_sim.title = "";
     1600        hist_sim.title = "Cut effiency times simulated area";
    15911601        hist_sim.v     = "EffectiveAreaN";
    15921602        hist_sim.err   = "ErrEffectiveAreaN";
     
    15941604        WriteHistogram(connection, hist_sim);
    15951605
    1596         hist_sim.title = "";
     1606        hist_sim.title = "Cut efficiency for eighted spectrum times simulated area";
    15971607        hist_sim.v     = "EffectiveAreaW";
    15981608        hist_sim.err   = "ErrEffectiveAreaW";
     
    16011611
    16021612
    1603         hist_sim.title = "";
     1613        hist_sim.title = "Bias of energy estimation for weighted events";
    16041614        hist_sim.v     = "BiasW";
    16051615        hist_sim.err   = "ErrBiasW";
     
    16071617        WriteHistogram(connection, hist_sim);
    16081618
    1609         hist_sim.title = "";
     1619        hist_sim.title = "Resolution of energy estimation for weighted events";
    16101620        hist_sim.v     = "ResolutionW";
    16111621        hist_sim.err   = "";
     
    16131623        WriteHistogram(connection, hist_sim);
    16141624
    1615         hist_sim.title = "";
     1625        hist_sim.title = "Ratio of event after trigger (ceres) to simulated events (corsika)";
    16161626        hist_sim.v     = "TriggerEfficiencyN";
    16171627        hist_sim.err   = "ErrTriggerEfficiencyN";
     
    16191629        WriteHistogram(connection, hist_sim);
    16201630
    1621         hist_sim.title = "";
     1631        hist_sim.title = "Ratio of weighted event after trigger (ceres) to weighted simulated events (corsika)";
    16221632        hist_sim.v     = "TriggerEfficiencyW";
    16231633        hist_sim.err   = "ErrTriggerEfficiencyW";
     
    16251635        WriteHistogram(connection, hist_sim);
    16261636
    1627         hist_sim.title = "";
     1637        hist_sim.title = "Ratio of event after cuts to simulated events (corsika)";
    16281638        hist_sim.v     = "CutEfficiencyN";
    16291639        hist_sim.err   = "ErrCutEfficiencyN";
     
    16311641        WriteHistogram(connection, hist_sim);
    16321642
    1633         hist_sim.title = "";
     1643        hist_sim.title = "Ratio of weighted event after cuts to the weighted simulated events (corsika)";
    16341644        hist_sim.v     = "CutEfficiencyW";
    16351645        hist_sim.err   = "ErrCutEfficiencyW";
     
    18191829        hist_est.axisy   = "Counts";
    18201830
    1821         hist_est.title   = "";
     1831        hist_est.title   = "Events [true positive] after all cuts (quality, background suppression, theta-square)";
    18221832        hist_est.v       = "SignalN";
    18231833        hist_est.err     = "ErrSignalN";
    18241834        WriteHistogram(connection, hist_est);
    18251835
    1826         hist_est.title   = "";
     1836        hist_est.title   = "Events wrongly classified as background [false positive] after all Cuts";
    18271837        hist_est.v       = "BackgroundN";
    18281838        hist_est.err     = "ErrBackgroundN";
    18291839        WriteHistogram(connection, hist_est);
    18301840
    1831         hist_est.title   = "";
     1841        hist_est.title   = "Excess events [true positive - false positive]";
    18321842        hist_est.v       = "ExcessN";
    18331843        hist_est.err     = "ErrExcessN";
     
    18351845
    18361846
    1837         hist_est.title   = "";
     1847        hist_est.title   = "Average simulated energy for weighted events after cuts";
    18381848        hist_est.v       = "AvgEnergySimW";
    18391849        hist_est.err     = "";
     
    18411851        WriteHistogram(connection, hist_est);
    18421852
    1843         hist_est.title   = "";
     1853        hist_est.title   = "Average estimated energy for weighted events after cuts";
    18441854        hist_est.v       = "AvgEnergyEstW";
    18451855        hist_est.err     = "";
     
    18501860        hist_est.axisy   = "dN/dE [cm^{-2} s^{-1} TeV^{-1}]";
    18511861
    1852         hist_est.title   = "";
     1862        hist_est.title   = "Weighted events [true positive] after all cuts (quality, background suppression, theta-square)";
    18531863        hist_est.v       = "SignalFluxW";
    18541864        hist_est.err     = "ErrSignalFluxW";
    18551865        WriteHistogram(connection, hist_est);
    18561866
    1857         hist_est.title   = "";
     1867        hist_est.title   = "Weighted events wrongly classified as background [false positive] after all cuts per simulated area and time";
    18581868        hist_est.v       = "BackgroundFluxW";
    18591869        hist_est.err     = "ErrBackgroundFluxW";
    18601870        WriteHistogram(connection, hist_est);
    18611871
    1862         hist_est.title   = "";
     1872        hist_est.title   = "Weighted excess events [true positive - false positive]";
    18631873        hist_est.v       = "ExcessFluxW";
    18641874        hist_est.err     = "ErrExcessFluxW";
     
    18661876
    18671877
    1868         hist_est.title   = "";
     1878        hist_est.title   = "Bias of energy estimation for weighted events";
    18691879        hist_est.v       = "BiasW";
    18701880        hist_est.err     = "ErrBiasW";
     
    18721882        WriteHistogram(connection, hist_est);
    18731883
    1874         hist_est.title   = "";
     1884        hist_est.title   = "Resolution of energy estimation for weighted events";
    18751885        hist_est.v       = "ResolutionW";
    18761886        hist_est.err     = "";
Note: See TracChangeset for help on using the changeset viewer.