- Timestamp:
- 05/23/11 08:51:06 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFTM.cc
r10691 r10767 96 96 { 97 97 out << std::hex; 98 out << "General settings: " << fGeneralSettings << endl; 98 out << "General settings: "; 99 if (IsEnabled(kTrigger)) 100 out << " Trigger"; 101 if (IsEnabled(kPedestal)) 102 out << " Pedestal"; 103 if (IsEnabled(kLPint)) 104 out << " LPint"; 105 if (IsEnabled(kLPext)) 106 out << " LPext"; 107 if (IsEnabled(kExt1)) 108 out << " Ext1"; 109 if (IsEnabled(kExt2)) 110 out << " Ext2"; 111 if (IsEnabled(kVeto)) 112 out << " Veto"; 113 if (IsEnabled(kClockConditioner)) 114 out << " ClockCond"; 115 out << " (" << fGeneralSettings << ")" << endl; 99 116 out << "Status LEDs: " << fStatusLEDs << endl; 100 117 out << std::dec; -
trunk/FACT++/src/HeadersFTM.h
r10745 r10767 234 234 fGeneralSettings &= ~uint16_t(type); } 235 235 236 bool IsEnabled(GeneralSettings type) { return fGeneralSettings&uint16_t(type); }236 bool IsEnabled(GeneralSettings type) const { return fGeneralSettings&uint16_t(type); } 237 237 238 238 void EnablePixel(int idx, bool enable) … … 250 250 } 251 251 252 bool Enabled(uint16_t idx) 252 bool Enabled(uint16_t idx) const 253 253 { 254 254 const int pixel = idx%9;
Note:
See TracChangeset
for help on using the changeset viewer.