Changeset 18808 for trunk/FACT++


Ignore:
Timestamp:
04/10/17 10:00:36 (8 years ago)
Author:
tbretz
Message:
The ref clock is displayed in MHz not in GHz, display the raw data from the FADs, signal FAD read timeout in print out.
File:
1 edited

Legend:

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

    r14615 r18808  
    1919    out << "Time:       " << setprecision(3) << fixed << fTimeStamp/10000. << "s" << endl;
    2020    out << "EvtCounter: " << fEventCounter << " of " << fNumTriggersToGenerate << endl;
    21     out << "Trigger:    Type=" << hex << fTriggerType << dec << " Counter=" << fTriggerCounter << " Crc=0x" << hex << fTriggerCrc << endl;
    22 
     21    out << "Trigger:    Type=" << hex << fTriggerType << dec << " Counter=" << fTriggerCounter << " Crc=";
     22    if ((fTriggerCrc&0xff00)==0x0100)
     23        out << "<timeout>";
     24    else
     25        out << "0x" << hex << fTriggerCrc;
     26    out << " (" << hex << setw(4) << fTriggerCrc << "|" << setw(4) << fTriggerType << "|" << setw(8) << fTriggerCounter << ")" << dec << endl;
    2327    out << "            N/40  = " << dec << GetTriggerLogic() << endl;
    2428    out << "            TRG   =";
     
    4246    out << "            LPset = " << GetTriggerLPset() << endl;
    4347
    44     out << "RefClock:   " << dec << fFreqRefClock << " (approx. " << fFreqRefClock*2.048 <<  "GHz)" << endl;
     48    out << "RefClock:   " << dec << fFreqRefClock << " (approx. " << fFreqRefClock*2.048 <<  "MHz)" << endl;
    4549    out << "PhaseShift: " << fAdcClockPhaseShift << endl;
    4650    out << "Prescaler:  " << fTriggerGeneratorPrescaler << endl;
Note: See TracChangeset for help on using the changeset viewer.