Changeset 10766 for trunk/FACT++/src/HeadersFAD.cc
- Timestamp:
- 05/23/11 08:46:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.cc
r10755 r10766 11 11 void FAD::EventHeader::print(std::ostream &out) const 12 12 { 13 out << hex << "Delimiter:";13 out << "Delimiter: "; 14 14 if (fStartDelimiter==kDelimiterStart) 15 15 out << "ok"; 16 16 else 17 out << fStartDelimiter;18 out << " (Crate=" << dec << (fBoardId>>8) << ", Board=" << (fBoardId&0xff) << ", Version=" << (fVersion>>8) << "." << (fVersion&0xff) << ", DNA=" << fDNA <<")" << endl;17 out << hex << fStartDelimiter; 18 out << " (Crate=" << dec << (fBoardId>>8) << ", Board=" << (fBoardId&0xff) << ", Version=" << (fVersion>>8) << "." << (fVersion&0xff) << ", DNA=" << hex << fDNA <<")" << endl; 19 19 20 20 out << dec; 21 21 out << "PkgLength: " << fPackageLength << endl; 22 22 23 out << "RunNumber: " << dec<<fRunNumber << endl;23 out << "RunNumber: " << fRunNumber << endl; 24 24 out << "Time: " << fTimeStamp/10000. << "s" << endl; 25 out << "EvtCounter: " << dec <<fEventCounter << " of " << fNumTriggersToGenerate << endl;26 out << "Trigger: Type=" << dec <<fTriggerType << " Id=" << fTriggerId << " Crc=0x" << hex << fTriggerCrc << endl;25 out << "EvtCounter: " << fEventCounter << " of " << fNumTriggersToGenerate << endl; 26 out << "Trigger: Type=" << fTriggerType << " Id=" << fTriggerId << " Crc=0x" << hex << fTriggerCrc << endl; 27 27 28 28 out << "RefClock: " << dec << fFreqRefClock << endl; … … 40 40 out << endl; 41 41 42 out << "PLL_LCK=" << hex << fPLLLCK << endl; 43 out << " PLL-Lock: " << hex << PllLock() << endl; 44 out << " Denable: " << HasDenable() << endl; 45 out << " Dwrite: " << HasDwrite() << endl; 46 out << " RefClk too high: " << IsRefClockTooHigh() << endl; 47 out << " RefClk too low: " << IsRefClockTooLow() << endl; 48 out << " DCM locked: " << IsDcmLocked() << endl; 49 out << " DCM ready: " << IsDcmReady() << endl; 50 out << " SPI_SCLK enabled: " << HasSpiSclk() << endl; 42 out << "Status=" << hex << fStatus << endl; 43 // PllLock -> 1111 44 out << " RefClk locked (PLLLCK): " << hex << (int)PLLLCK(); 45 if (IsRefClockTooHigh()) 46 out << " (too high)"; 47 if (IsRefClockTooLow()) 48 out << " (too low)"; 49 out << endl; 50 out << " Domino wave (Denable): " << (HasDenable()?"enabled":"disabled") << endl; 51 out << " DRS sampling (Dwrite): " << (HasDwrite()?"enabled":"disabled") << endl; 52 out << " Dig.clock manager (DCM): " << (IsDcmLocked()?"locked":"unlocked"); 53 out << " / " << (IsDcmReady()?"ready":"not ready") << endl; 54 out << " SPI Serial Clock (SCLK): " << (HasSpiSclk()?"enabled":"disabled") << endl; 51 55 } 52 56
Note:
See TracChangeset
for help on using the changeset viewer.