Changeset 18631 for trunk/FACT++
- Timestamp:
- 09/18/16 19:12:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/evtserver.cc
r17851 r18631 45 45 uint32_t fQoS; 46 46 double fTime; 47 uint32_t fRun; 48 uint32_t fEvt; 47 49 //vector<float> fAvg; 48 50 //vector<float> fRms; … … 100 102 } 101 103 104 // Requiered columns 102 105 try 103 106 { … … 118 121 } 119 122 123 // Non requiered columns 124 fRun = 0; 125 fEvt = 0; 126 try 127 { 128 fIn->SetRefAddress("run", fRun); 129 fIn->SetRefAddress("evt", fEvt); 130 } 131 catch (const runtime_error &e) { } 132 120 133 Info("File "+name+" open."); 121 134 } … … 172 185 out << scale << '\n'; 173 186 out << setprecision(3); 174 out << "DEMO\nDEMO\nDEMO\x7f"; 187 if (fRun>0) 188 //out << "DEMO [" << fEvt << "]\nDEMO [" << fRun << "]\nDEMO\x7f"; 189 out << fEvt << '\n' << fRun << "\nDEMO\x7f"; 190 else 191 out << "DEMO\nDEMO\nDEMO\x7f"; 192 175 193 //out << sorted[1439] << '\n'; 176 194 //out << sorted[719] << '\n';
Note:
See TracChangeset
for help on using the changeset viewer.