Changeset 11663 for trunk


Ignore:
Timestamp:
07/27/11 17:15:56 (13 years ago)
Author:
tbretz
Message:
Output fState from header.
File:
1 edited

Legend:

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

    r10767 r11663  
    1111void FTM::Header::print(std::ostream &out) const
    1212{
    13     out << "State=" << std::dec << fState;
     13    out << "State=" << std::dec << (fState&kFtmStates);
    1414    out << "  Type=" << fType;
    1515    out << "  (len=" << fDataSize << ")";
     
    1717    out << "  FW=" << fFirmwareId;
    1818    out << "  TriggerCounter=" << std::dec << fTriggerCounter;
    19     out << "  TimeStamp=" << fTimeStamp << std::endl;
     19    out << "  TimeStamp=" << fTimeStamp;
     20    if (fState&kFtmLocked)
     21        out << "  [locked]";
     22    out << std::endl;
    2023}
    2124
Note: See TracChangeset for help on using the changeset viewer.