Changeset 11605


Ignore:
Timestamp:
07/26/11 11:26:40 (13 years ago)
Author:
tbretz
Message:
Changed the definition of min/max in Compare so that it is compatible with FwVersion; added some TODO outputs; removed some unsused variables in function calls
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11583 r11605  
    813813    {
    814814        // FIXME: Add a check that we are not too close to noon!
    815         const int night = Time().NightAsInt();
     815        //const int night = Time().NightAsInt();
    816816
    817817        fRunNumber = 1000;
     
    906906        };
    907907
     908        // FIMXE: Maybe reset an event counter so that the mcp can count events?
     909
    908910        fExpectedRuns[fRunNumber] = descr;
    909911        return fRunNumber++;
     
    11541156    FileHandle_t runOpen(uint32_t runid, RUN_HEAD *h, size_t)
    11551157    {
     1158        fMsg.Info(" ==> TODO: Update run configuration in database!");
     1159
    11561160        // Check if file already exists...
    11571161        DataFileImp *file = 0;
     
    12331237    int runClose(FileHandle_t handler, RUN_TAIL *tail, size_t)
    12341238    {
     1239        fMsg.Info(" ==> TODO: Update run configuration in database!");
     1240
    12351241        DataFileImp *file = reinterpret_cast<DataFileImp*>(handler);
    12361242
     
    14171423    }
    14181424
    1419     void gotNewRun(int runnr, PEVNT_HEADER *headers)
     1425    void gotNewRun(int runnr, PEVNT_HEADER */*headers*/)
    14201426    {
    14211427        // This function is called even when writing is switched off
     
    16001606        }
    16011607
    1602         vec[40] = val ? *min : 0xffffffff;
     1608        vec[40] = val ? *min : 1;
    16031609        vec[41] = val ? *max : 0;
    16041610
     
    16661672    vector<uint> fNumConnected;
    16671673
    1668     void debugHead(int socket, const FAD::EventHeader &h)
     1674    void debugHead(int /*socket*/, const FAD::EventHeader &h)
    16691675    {
    16701676        const uint16_t id = h.Id();
Note: See TracChangeset for help on using the changeset viewer.