Changeset 7084
- Timestamp:
- 05/23/05 11:32:19 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7081 r7084 21 21 22 22 -*-*- END OF LINE -*-*- 23 2005/05/23 Daniela Dorner 24 25 * datacenter/scripts/fillstar: 26 - fixed bug in path 27 28 * datacenter/macros/fillstar.C, fillcalib.C, fillsignal.C: 29 - added check 30 31 32 23 33 2005/05/20 Thomas Bretz 24 34 -
trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C
r7031 r7084 109 109 110 110 TFile file(fname, "READ"); 111 if (!file.IsOpen()) 112 { 113 cout << "ERROR - Could not find file " << fname << endl; 114 return 0; 115 } 116 111 117 if (badpix.Read("MBadPixelsCam")<=0) 112 118 { … … 239 245 " fIsolatedInner=%d, " 240 246 " fIsolatedOuter=%d, " 241 " fIsolatedMaxCluster=%d, " ,247 " fIsolatedMaxCluster=%d, " 242 248 " fArrTimeMeanInner=%s, " 243 249 " fArrTimeRmsInner=%s, " -
trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C
r7010 r7084 70 70 { 71 71 TFile file(fname, "READ"); 72 if (!file.IsOpen()) 73 { 74 cout << "ERROR - Could not find file " << fname << endl; 75 return 0; 76 } 77 72 78 MStatusArray *arr = (MStatusArray*)file.Get("MStatusDisplay"); 73 79 if (!arr) -
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7079 r7084 89 89 { 90 90 TFile file(fname, "READ"); 91 if (!file.IsOpen()) 92 { 93 cout << "ERROR - Could not find file " << fname << endl; 94 return 0; 95 } 96 91 97 92 98 MStatusArray arr; -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7052 r7084 104 104 for sequence in ${sequences[@]} 105 105 do 106 no=`printf %08d $sequence | cut -c 4`106 no=`printf %08d $sequence | cut -c 0-4` 107 107 no2=`printf %08d $sequence` 108 108 path="/magic/data/star/$no/$no2" … … 136 136 fi 137 137 fi 138 setstatuslog=$setstatuslogpath/setstatus-fillstar 139 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog -$sequence.log| grep int | sed -e 's/(int)//'`138 setstatuslog=$setstatuslogpath/setstatus-fillstar-$no2.log 139 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 140 140 case $check4 in 141 141 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note:
See TracChangeset
for help on using the changeset viewer.