Changeset 8993
- Timestamp:
- 07/03/08 16:39:44 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8992 r8993 25 25 - this made local functions obsolete 26 26 - added new format 20080519 including telescope- and file-number 27 - simplified the if-clauses testing for version numbers (due to the 28 initial check only some version numbers allowed anyway) 27 - simplified the if-clauses testing for version numbers (due to 28 the initial check only some version numbers allowed anyway) 29 - check for the combination of telescope-, run- and file-number 30 to be unique. 29 31 30 32 -
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.