Changeset 10782 for trunk


Ignore:
Timestamp:
05/23/11 15:05:43 (14 years ago)
Author:
tbretz
Message:
Minor changes to output.
File:
1 edited

Legend:

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

    r10766 r10782  
    1111void FAD::EventHeader::print(std::ostream &out) const
    1212{
    13     out << "Delimiter:  ";
    14     if (fStartDelimiter==kDelimiterStart)
    15         out << "ok";
    16     else
    17         out << hex << fStartDelimiter;
    18     out << " (Crate=" << dec << (fBoardId>>8) << ", Board=" << (fBoardId&0xff) << ", Version=" << (fVersion>>8) << "." << (fVersion&0xff) << ", DNA=" << hex << fDNA <<")" << endl;
     13    out << "Delimiter:  " << hex << fStartDelimiter;
     14    out << (fStartDelimiter==kDelimiterStart?" (ok)":" (WRONG)") << endl;
     15    out << " (Crate=" << dec << Crate() << ", Board=" << Board() << ", Version=" << (fVersion>>8) << "." << (fVersion&0xff) << ", DNA=" << hex << fDNA <<")" << endl;
    1916
    2017    out << dec;
     
    5754void FAD::ChannelHeader::print(std::ostream &out) const
    5855{
    59     out << "Chip=" << dec << (fId>>4) << " Ch=" << (fId&0xf) << ":";
     56    out << "Chip=" << dec << Chip() << " Ch=" << Channel() << ":";
    6057    out << " StartCell=" << fStartCell;
    6158    out << " ROI=" << fRegionOfInterest << endl;
Note: See TracChangeset for help on using the changeset viewer.