Changeset 11077
- Timestamp:
- 06/19/11 14:12:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/FADctrl/FAD.cc
r10980 r11077 847 847 vector<unsigned long> EventNumbers(Boards.size()); 848 848 vector<bool> AcalibDone(Boards.size()); 849 map<unsigned int,class FADBoard *> ActiveBoards;849 vector<class FADBoard *> ActiveBoards; 850 850 double Temp; 851 851 string IDString; … … 912 912 if (Mode == idle) { 913 913 ActiveBoards.clear(); 914 for (unsigned int i=0; i<Boards.size(); i++) if (Boards[i]->Active) ActiveBoards [i] = Boards[i];914 for (unsigned int i=0; i<Boards.size(); i++) if (Boards[i]->Active) ActiveBoards.push_back(Boards[i]); 915 915 RHeader->NBoards = ActiveBoards.size(); 916 916 … … 949 949 // Check all boards that have new data 950 950 for (unsigned int Brd=0; Brd<ActiveBoards.size(); Brd++) { 951 if (IDString.find(string("EVENT")+ Boards[Brd]->Name) == string::npos) continue;951 if (IDString.find(string("EVENT")+ActiveBoards[Brd]->Name) == string::npos) continue; 952 952 953 953 // Fill M0 BoardStructure
Note:
See TracChangeset
for help on using the changeset viewer.