Changeset 19904 for trunk/FACT++/src


Ignore:
Timestamp:
12/15/19 16:23:56 (5 years ago)
Author:
tbretz
Message:
Implemented the Flux Sigma and control plots to check if a point should be replaced by an UL.
File:
1 edited

Legend:

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

    r19903 r19904  
    20602060            map<size_t, double> rolke_int;
    20612061
     2062            if (verbose>0)
     2063                cout << "Bin     Excess     Significance          Flux ErrFlux" << endl;
     2064
    20622065            for (auto ir=res13.cbegin(); ir!=res13.cend(); ir++)
    20632066            {
     
    20942097                if (verbose>0)
    20952098                {
    2096                     cout << setw(5)  << row["center"]  << ": ";
    2097                     cout << setw(10) << row["Excess"]  << " ";
    2098                     cout << setw(10) << row["Flux"]    << " ";
    2099                     cout << setw(10) << row["ErrFlux"] << " ";
    2100                     cout << setw(10) << row["Significance"] << '\n';
     2099                    cout << setw(5)  << row["center"] << ":";
     2100                    cout << " " << setw(10) << row["Excess"];
     2101                    cout << " " << setw(10) << row["Significance"];
     2102                    cout << " " << setw(10) << row["Flux"];
     2103                    cout << " " << setw(10) << row["ErrFlux"];
     2104                    cout << endl;
    21012105                }
    21022106            }
     
    21692173            WriteHistogram(connection, hist);
    21702174
     2175            hist.name = "SigmaFlux";
     2176            hist.v    = "SigmaFlux";
     2177            hist.err  = "";
     2178            WriteHistogram(connection, hist);
     2179
    21712180            if (*ib=="Energy")
    21722181            {
     
    21772186                hist.v     = "FluxI";
    21782187                hist.err   = "ErrFluxI";
     2188                WriteHistogram(connection, hist);
     2189
     2190                hist.dir   = "Data/Energy/Integral";
     2191                hist.name  = "SigmaFlux";
     2192                hist.v     = "SigmaFluxI";
     2193                hist.err   = "";
    21792194                WriteHistogram(connection, hist);
    21802195
Note: See TracChangeset for help on using the changeset viewer.