Ignore:
Timestamp:
08/02/12 10:30:21 (12 years ago)
Author:
tbretz
Message:
Write binary file.
File:
1 edited

Legend:

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

    r14302 r14305  
    20202020        map<Time, pair<string, float>> lightcond;
    20212021        vector<vector<float>> alt;
     2022        vector<vector<float>> hlc;
    20222023
    20232024#ifdef HAVE_NOVA
     
    20682069                if (lc.first.size()>0)
    20692070                {
    2070                     alt.push_back(lc.first);
     2071                    hlc.push_back(lc.first);
    20712072                    lightcond[lc.second.first] = make_pair(name, lc.second.second);
    20722073                }
     
    21202121
    21212122            ostringstream title;
    2122             title << "Alt ";
    21232123            title << fSun.fSetAstronomical.GetAsStr("%H:%M");
    21242124            title << " / ";
     
    21342134            out2 << HTML::kWhite << '\t' << Time()-now << '\n';
    21352135
    2136             WriteBinaryVec(now, "hist-visibility", alt, 75, 15, title.str());
     2136            WriteBinaryVec(now, "hist-visibility",      alt, 75, 15, "Alt "+title.str());
     2137            WriteBinaryVec(now, "hist-light-condition", hlc,  1,  0, "LC "+title.str());
    21372138        }
    21382139        catch (const exception &e)
Note: See TracChangeset for help on using the changeset viewer.