Changeset 7660 for trunk/MagicSoft/Mars
- Timestamp:
- 04/26/06 11:17:05 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7657 r7660 211 211 { 212 212 cout << "WARNING - Reading of NumStars failed." << endl; 213 return 2;214 } 215 216 Double_t numstarmean = g ->GetMean(2);213 // return 2; 214 } 215 216 Double_t numstarmean = g ? g->GetMean(2) : -1; 217 217 TString numstarsmean = Form("%5.1f", numstarmean); 218 Double_t numstarrms = g ->GetRMS(2);218 Double_t numstarrms = g ? g->GetRMS(2) : -1; 219 219 TString numstarsrms = Form("%5.1f", numstarrms); 220 220 … … 223 223 { 224 224 cout << "WARNING - Reading of SkyBrightness failed." << endl; 225 return 2;226 } 227 228 Double_t brightnessmean = g ->GetMean(2);225 // return 2; 226 } 227 228 Double_t brightnessmean = g ? g->GetMean(2) : -1; 229 229 TString skybrightnessmean = Form("%5.1f", brightnessmean); 230 Double_t brightnessrms = g ->GetRMS(2);230 Double_t brightnessrms = g ? g->GetRMS(2) : -1; 231 231 TString skybrightnessrms = Form("%5.1f", brightnessrms); 232 232 -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7659 r7660 89 89 setstatus "start" >> $scriptlog 2>&1 90 90 91 check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep int| sed -e 's/.*\(int\)//'`91 check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep \(int\) | sed -e 's/.*\(int\)//'` 92 92 case $check2 in 93 93 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
Note:
See TracChangeset
for help on using the changeset viewer.