Changeset 19907 for trunk/FACT++/src


Ignore:
Timestamp:
12/15/19 18:04:36 (5 years ago)
Author:
tbretz
Message:
Fixed Error calculation for final spectrum, it is difficult to keep usage of the zenith angle consistent. To avoid strange features in the plots, the best is to use the telescope pointing for data and correlate it with the particle direction for simulations.
File:
1 edited

Legend:

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

    r19904 r19907  
    10461046
    10471047    query5.template_defaults["table"]  = "EventsMC";
    1048     query5.template_defaults["column"] = "Zd";
     1048    query5.template_defaults["column"] = "DEGREES(Theta)";
    10491049
    10501050    if (print_queries)
     
    13221322
    13231323    //query6.template_defaults["columns"]   = "FileId, EvtNumber, CorsikaNumReuse,";
    1324     query8.template_defaults["columns"]   = "Zd, Energy, SpectralIndex,";
     1324    query8.template_defaults["columns"]   = "Energy, SpectralIndex,";
     1325    query8.template_defaults["zenith"]    = "DEGREES(Theta)";
    13251326    query8.template_defaults["files"]     = "MonteCarloFiles";
    13261327    query8.template_defaults["runinfo"]   = "factmc.RunInfoMC";
     
    19121913
    19131914    //query5.template_defaults["columns"]   = "FileId, EvtNumber,";
    1914     query12.template_defaults["columns"]   = "fZenithDistanceMean,";
     1915    query12.template_defaults["columns"]   = "";
     1916    query12.template_defaults["zenith"]    = "fZenithDistanceMean";
    19151917    query12.template_defaults["files"]     = "DataFiles";
    19161918    query12.template_defaults["runinfo"]   = "factdata.RunInfo";
Note: See TracChangeset for help on using the changeset viewer.