Changeset 11374
- Timestamp:
- 07/13/11 14:56:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fad.cc
r11357 r11374 55 55 // The constructor is prvate to force the obtained pointer to be shared 56 56 tcp_connection(ba::io_service& ioservice, int boardid) : ba::ip::tcp::socket(ioservice), 57 fBoardId(boardid), f TriggerSendData(ioservice)57 fBoardId(boardid), fRamRoi(kNumChannels), fTriggerSendData(ioservice) 58 58 { 59 59 } … … 74 74 FAD::ChannelHeader fChHeader[kNumChannels]; 75 75 76 uint16_t fRamRoi[kNumChannels];76 vector<uint16_t> fRamRoi; 77 77 78 78 ba::deadline_timer fTriggerSendData; … … 232 232 break; 233 233 234 case kCmdReset TriggerId:234 case kCmdResetEventCounter: 235 235 cout << "-> ResetId " << fBoardId << endl; 236 236 fHeader.fEventCounter = 0; … … 346 346 fHeader.fVersion = 0x104; 347 347 fHeader.fBoardId = (fBoardId%10) | ((fBoardId/10)<<8); 348 fHeader.fRunNumber = 1;348 fHeader.fRunNumber = 0; 349 349 fHeader.fDNA = reinterpret_cast<uint64_t>(this); 350 350 fHeader.fTriggerGeneratorPrescaler = 100;
Note:
See TracChangeset
for help on using the changeset viewer.