Changeset 9196 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 12/22/08 14:47:10 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C
r9006 r9196 36 36 // the macro can be executed either for a night or for a range of runnumbers 37 37 // or for all nights 38 // .x doexclusions.C+("night" )39 // .x doexclusions.C+(startrun,stoprun )38 // .x doexclusions.C+("night", telnum) 39 // .x doexclusions.C+(startrun,stoprun, telnum) 40 40 // .x doexclusions.C+ 41 41 // … … 121 121 cout << "Connected to " << serv.GetName() << endl; 122 122 cout << "Date: " << date << endl; 123 cout << "Telescope: " << tel << endl; 123 124 124 125 serv.SetIsDummy(dummy); … … 185 186 { 186 187 TString vars(Form("fExcludedFDAKEY=%s", key.Data())); 187 TString where(Form("fRunNumber=%s AND fFileNumber=%s ", (*row2)[0], (*row2)[1]));188 TString where(Form("fRunNumber=%s AND fFileNumber=%s AND fTelescopeNumber=%d", (*row2)[0], (*row2)[1], tel)); 188 189 189 190 if (serv.Update("RunData", vars, where)==kFALSE)
Note:
See TracChangeset
for help on using the changeset viewer.