Changeset 8993 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 07/03/08 16:39:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/filldotrun.C
r8992 r8993 139 139 while (1) 140 140 { 141 Int_t telnumber = 1; 141 Int_t telnumber = 1; // FIXME: "NULL"? 142 142 if (version >=200805190) 143 143 { … … 174 174 } 175 175 176 Int_t filenumber = 0; 176 Int_t filenumber = 0; // FIXME: "NULL"? 177 177 if (version >=200805190) 178 178 { … … 181 181 } 182 182 183 if (serv.ExistStr("fRunNumber", "RunData", strng)) 184 { 185 // FIXME: Maybe we can implement an switch to update mode? 186 cout << "Run #" << runnumber << " already existing... skipped." << endl; 183 TString where = Form("((fTelescopeNumber=%d AND fFileNumber=%d) OR" 184 "(ISNULL(fTelescopeNumber) AND ISNULL(fFileNumber)))", 185 telnumber, filenumber); 186 if (serv.ExistStr("fRunNumber", "RunData", strng, where)) 187 { 188 // FIXME: Maybe we can implement a switch to update mode? 189 cout << "Entry M" << telnumber << ":" << runnumber << "/" << filenumber << " already existing... skipped." << endl; 187 190 strng.ReadLine(fin); 188 191 continue;
Note:
See TracChangeset
for help on using the changeset viewer.