Changeset 7325
- Timestamp:
- 08/28/05 00:30:58 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7322 r7325 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2005/08/28 Daniela Dorner 22 23 * datacenter/scripts/dodatacheck: 24 - added 'find-todofile-algorithm' to this script to accelerate the 25 process of datacheck 26 - changed call of filldotraw.C 27 28 * datacenter/macros/getdolist.C: 29 - added fDataCheckDone for the option to get many todofiles to 30 accelerate the process of datacheck 31 32 * datacenter/macros/filldotrun.C: 33 - added check: if a run is a testrun, the flag for datacheck is 34 set to 'not to be done' 35 36 * datacenter/macros/filldotraw.C: 37 - removed database name from the queries 38 39 * datacenter/macros/setupdb.C: 40 - adapted to changes in the table MagicNumber 41 42 20 43 21 44 2005/08/27 Daniela Dorner -
trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C
r7265 r7325 74 74 Int_t MagicNumber(MSQLServer &serv, const MRawRunHeader &h) 75 75 { 76 TString query(Form("SELECT fMagicNumberKEY FROM M yMagic.MagicNumber WHERE fMagicNumber=%d",76 TString query(Form("SELECT fMagicNumberKEY FROM MagicNumber WHERE fMagicNumber=%d", 77 77 h.GetMagicNumber())); 78 78 … … 152 152 return 0; 153 153 154 TString query(Form("UPDATE MyMagic.RunData SET fMagicNumberKEY=%d, fFormatVersion=%d WHERE fRunNumber=%d",154 TString query(Form("UPDATE RunData SET fMagicNumberKEY=%d, fFormatVersion=%d WHERE fRunNumber=%d", 155 155 key, h.GetFormatVersion(), h.GetRunNumber())); 156 156 -
trunk/MagicSoft/Mars/datacenter/macros/filldotrun.C
r7236 r7325 577 577 //create entry in table RunProcessStatus for this runnumber 578 578 TString query2=Form("INSERT RunProcessStatus SET fRunNumber=%d, fTimingCorrection='1970-01-01 00:00:00'", 579 runnumber); 579 runnumber); 580 if (testflagkey==1) 581 query+=" , fDataCheckDone='1970-01-01 00:00:00'"; 580 582 res = serv.Query(query2); 581 583 if (!res) -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7265 r7325 193 193 list.Add(new TObjString( 194 194 "INSERT MyMagic.MagicNumber (fMagicNumber, fMagicNumberName) VALUES " 195 " (0x000 0, 'Not available'),"196 " (0xc0c0, 'Ok')," 197 " (0xc0c1, 'Not closed')," 198 " (0x ffff, 'Wrong')"));195 " (0x0001, 'Not available')," //1 196 " (0xc0c0, 'Ok')," //45344 197 " (0xc0c1, 'Not closed')," //45345 198 " (0x0000, 'Wrong')")); //0 199 199 200 200 // Run type -
trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
r7323 r7325 151 151 152 152 echo "doing filldotraw..." >> $scriptlog 2>&1 153 check1=`root -q -b $macrospath/filldotraw.C+\($r un\,kFALSE\) | tee $filldotrawlogfile | grep int | sed -e 's/.*(int)//'`153 check1=`root -q -b $macrospath/filldotraw.C+\($rawfile\,kFALSE\) | tee $filldotrawlogfile | grep int | sed -e 's/.*(int)//'` 154 154 155 155 case $check1 in
Note:
See TracChangeset
for help on using the changeset viewer.