- Timestamp:
- 02/06/07 09:02:28 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8306 r8307 19 19 -*-*- END OF LINE -*-*- 20 20 21 2007/02/06 Thomas Bretz 22 23 * mpointing/MPointingDevCalc.cc: 24 - included check for monitoring flag 25 26 27 21 28 2007/02/04 Daniela Dorner 22 29 -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
r7744 r8307 138 138 // Increase fSkip[i] by one. If the data in fDeviation is outdated (older 139 139 // than fMaxAge) and the current report should be skipped reset DevZdAz and 140 // DevXY and fSkip[ 5] is increased by one.140 // DevXY and fSkip[6] is increased by one. 141 141 // 142 142 void MPointingDevCalc::Skip(Int_t i) … … 150 150 fDeviation->SetDevZdAz(0, 0); 151 151 fDeviation->SetDevXY(0, 0); 152 fSkip[ 5]++;152 fSkip[6]++; 153 153 } 154 154 155 155 Int_t MPointingDevCalc::ProcessStarguiderReport() 156 156 { 157 /************* CHECK STATUS!!! ******************/ 158 157 159 Double_t devzd = fReport->GetDevZd(); // [deg] 158 160 Double_t devaz = fReport->GetDevAz(); // [deg] 159 161 if (devzd==0 && devaz==0) 160 162 { 161 fDeviation->SetDevZdAz(0, 0); 162 fDeviation->SetDevXY(0, 0); //?!? 163 fSkip[1]++; 164 fLastMjd = fReport->GetMjd(); 163 Skip(1); 164 return kTRUE; 165 } 166 167 if (!fReport->IsMonitoring()) 168 { 169 Skip(2); 165 170 return kTRUE; 166 171 } … … 188 193 if (nsb<sum-rms || nsb>sum+rms) 189 194 { 190 Skip( 2);195 Skip(3); 191 196 return kTRUE; 192 197 } … … 195 200 if (fReport->GetNumIdentifiedStars()<fNumMinStars) 196 201 { 197 Skip( 3);202 Skip(4); 198 203 return kTRUE; 199 204 } … … 206 211 if (dev*60>fMaxAbsDev) 207 212 { 208 Skip( 4);213 Skip(5); 209 214 return kTRUE; 210 215 } … … 257 262 *fLog << GetDescriptor() << " execution statistics:" << endl; 258 263 PrintSkipped(fSkip[1], "Starguider deviation not set, is exactly 0/0"); 259 PrintSkipped(fSkip[2], Form("NSB out of %.1f sigma range", fNsbLevel)); 260 PrintSkipped(fSkip[3], Form("Number of identified stars < %d", fNumMinStars)); 261 PrintSkipped(fSkip[4], Form("Absolute deviation > %.1farcmin", fMaxAbsDev)); 262 PrintSkipped(fSkip[5], Form("Events set to 0 because older than %.1fmin", fMaxAge)); 264 PrintSkipped(fSkip[2], "Starguider was not monitoring (eg. LEDs off)"); 265 PrintSkipped(fSkip[3], Form("NSB out of %.1f sigma range", fNsbLevel)); 266 PrintSkipped(fSkip[4], Form("Number of identified stars < %d", fNumMinStars)); 267 PrintSkipped(fSkip[5], Form("Absolute deviation > %.1farcmin", fMaxAbsDev)); 268 PrintSkipped(fSkip[6], Form("Events set to 0 because older than %.1fmin", fMaxAge)); 263 269 *fLog << " " << (int)fSkip[0] << " (" << Form("%5.1f", 100.*fSkip[0]/GetNumExecutions()) << "%) Evts survived calculation!" << endl; 264 270 *fLog << endl;
Note:
See TracChangeset
for help on using the changeset viewer.