Changeset 7486 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 02/08/06 18:03:41 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C
r7460 r7486 196 196 if (!join2.IsNull()) 197 197 query+=GetJoin(join2.Data()); 198 query +=Form("WHERE %s", rc.GetValue("key"+key+".Cond", ""));198 query +=Form("WHERE (%s) ", rc.GetValue("key"+key+".Cond", "")); 199 199 if (!border.IsNull()) 200 200 query+=Form(" AND fRunNumber BETWEEN IF(%s>%d, %d, %s) AND IF (%s<%d, %s, %d) ", -
trunk/MagicSoft/Mars/datacenter/macros/fillganymed.C
r7460 r7486 152 152 cout << "WARNING - Could get dataset# from filename: " << fname << endl; 153 153 return 0; 154 } 154 155 155 156 Int_t ds = atoi(dataset.Data()+8); -
trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C
r7460 r7486 41 41 // 42 42 // Usage: 43 // .x fillsignal.C(runnumber, kTRUE) 44 // 45 // The second argument is the 'dummy-mode'. If it is kTRUE dummy-mode is 46 // switched on and nothing will be written into the database. This is usefull 47 // for tests. 43 // .x fillsinope.C(runnumber, "datapath", kTRUE) 44 // 45 // The first argument is the runnumber (given as int), the second argument is 46 // the datapath, where the rawfiles can be found. The last argument is the 47 // 'dummy-mode'. If it is kTRUE dummy-mode is switched on and nothing will be 48 // written into the database. This is usefull for tests. 48 49 // 49 50 // Remark: Running it from the commandline looks like this: -
trunk/MagicSoft/Mars/datacenter/macros/setstatus.C
r7482 r7486 33 33 // 34 34 // Usage: 35 // .x setstatus.C+("primary","table","column","statustime"," failedcode","failedcomment","starttime","failedtime",kTRUE)35 // .x setstatus.C+("primary","table","column","statustime","returncode","failedcode","failedcodeadd","starttime","failedtime",kTRUE) 36 36 // The first argument is the primary (date/run/sequence/dataset), the second 37 37 // and third argument give the table and column of the step. The fourth
Note:
See TracChangeset
for help on using the changeset viewer.