- Timestamp:
- 08/04/05 16:23:53 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/writesequencefile.C
r7232 r7259 257 257 return kFALSE; 258 258 259 TString fname(Form("%s/ sequences/%04d/sequence%08d.txt", sequpath.Data(), atoi(data[0])/10000, atoi(data[0])));259 TString fname(Form("%s/%04d/sequence%08d.txt", sequpath.Data(), atoi(data[0])/10000, atoi(data[0]))); 260 260 cout << "Creating " << fname << "..." << flush; 261 261 … … 267 267 } 268 268 269 fout << "Sequence: " << data[0] << endl; 270 fout << "Period: " << period << endl; 271 fout << "Night: " << date << endl; 272 fout << "LightConditions: " << str[5] << endl; 273 fout << endl; 274 fout << "Start: " << data[8] << endl; 275 fout << "LastRun: " << data[1] << endl; 276 fout << "Project: " << str[0] << endl; 277 fout << "Source: " << str[1] << endl; 278 fout << "L1TriggerTable: " << str[2] << endl; 279 fout << "L2TriggerTable: " << str[3] << endl; 280 fout << "HvSettings: " << str[4] << endl; 281 fout << "NumEvents: " << data[9] << endl; 269 fout << "Sequence: " << data[0] << endl; 270 fout << "Period: " << period << endl; 271 fout << "Night: " << date << endl; 272 fout << "LightConditions: " << str[5] << endl; 273 fout << endl; 274 fout << "Start: " << data[8] << endl; 275 fout << "LastRun: " << data[1] << endl; 276 fout << "Project: " << str[0] << endl; 277 fout << "Source: " << str[1] << endl; 278 fout << "ZdMin: " << data[10] << endl; 279 fout << "ZdMax: " << data[11] << endl; 280 fout << "L1TriggerTable: " << str[2] << endl; 281 fout << "L2TriggerTable: " << str[3] << endl; 282 fout << "HvSettings: " << str[4] << endl; 283 fout << "NumEvents: " << data[9] << endl; 282 284 fout << endl; 283 285 … … 327 329 TString query(Form("SELECT fSequenceFirst, fSequenceLast, fProjectKEY, fSourceKEY," 328 330 " fL1TriggerTableKEY, fL2TriggerTableKEY, fHvSettingsKEY, " 329 " fLightConditionsKEY, fRunStart, fNumEvents" 331 " fLightConditionsKEY, fRunStart, fNumEvents, " 332 " fZenithDistanceMin, fZenithDistanceMax " 330 333 " FROM Sequences WHERE fSequenceFirst=%d", sequno)); 331 334 TSQLResult *res = serv.Query(query);
Note:
See TracChangeset
for help on using the changeset viewer.