Changeset 1872 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/28/03 08:50:05 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MSelBasic.cc
r1809 r1872 60 60 fName = name ? name : "MSelBasic"; 61 61 fTitle = title ? title : "Task to evaluate basic cuts"; 62 63 ThetaMin = 0.0; 64 ThetaMax = 60.0; 62 65 } 63 66 … … 205 208 206 209 Double_t Theta = kRad2Deg*fMcEvt->GetTelescopeTheta(); 207 if ( Theta < 0.0)210 if ( Theta < ThetaMin ) 208 211 { 209 212 *fLog << "MSelBasic::Process; Run, Event, Theta = " … … 213 216 } 214 217 215 else if ( Theta > 45.0)218 else if ( Theta > ThetaMax ) 216 219 { 217 220 rc = 2; … … 313 316 *fLog << GetDescriptor() << " execution statistics:" << endl; 314 317 *fLog << dec << setfill(' '); 315 *fLog << " " << setw(7) << fErrors[1] << " (" << setw(3) << (int)(fErrors[1]*100/GetNumExecutions()) << "%) Evts skipped due to: Zenith angle < 0" << endl; 316 317 *fLog << " " << setw(7) << fErrors[2] << " (" << setw(3) << (int)(fErrors[2]*100/GetNumExecutions()) << "%) Evts skipped due to: Zenith angle too high" << endl; 318 319 *fLog << " " << setw(7) << fErrors[3] << " (" << setw(3) << (int)(fErrors[3]*100/GetNumExecutions()) << "%) Evts skipped due to: Software trigger not fullfilled" << endl; 320 321 *fLog << " " << fErrors[0] << " (" << (int)(fErrors[0]*100/GetNumExecutions()) << "%) Evts survived Basic selections!" << endl; 318 *fLog << " " << setw(7) << fErrors[1] << " (" << setw(3) 319 << (int)(fErrors[1]*100/GetNumExecutions()) 320 << "%) Evts skipped due to: Zenith angle < " << ThetaMin << endl; 321 322 *fLog << " " << setw(7) << fErrors[2] << " (" << setw(3) 323 << (int)(fErrors[2]*100/GetNumExecutions()) 324 << "%) Evts skipped due to: Zenith angle > " << ThetaMax << endl; 325 326 *fLog << " " << setw(7) << fErrors[3] << " (" << setw(3) 327 << (int)(fErrors[3]*100/GetNumExecutions()) 328 << "%) Evts skipped due to: Software trigger not fullfilled" << endl; 329 330 *fLog << " " << fErrors[0] << " (" << (int)(fErrors[0]*100/GetNumExecutions()) 331 << "%) Evts survived Basic selections!" << endl; 322 332 *fLog << endl; 323 333 … … 325 335 } 326 336 337 -
trunk/MagicSoft/Mars/manalysis/MSelBasic.h
r1809 r1872 30 30 const MRawRunHeader *fRawRun; 31 31 32 Int_t fErrors[4]; 32 Double_t ThetaMin; 33 Double_t ThetaMax; 34 35 Int_t fErrors[4]; 33 36 34 37 public: -
trunk/MagicSoft/Mars/manalysis/MSelStandard.cc
r1809 r1872 139 139 Int_t fNumCorePixels = fHil->GetNumCorePixels(); 140 140 141 if ( fNumUsedPixels >= 92 || fNumCorePixels < 4 )141 if ( fNumUsedPixels >= 92 || fNumCorePixels <= 4 ) 142 142 { 143 143 //*fLog << "MSelStandard::Process; fSize, fDist, fNumUsedPixels, fNumCorePixels = " … … 147 147 } 148 148 149 else if ( fSize <= 60.0 || fDist< 0.4 || fDist > 1. 1)149 else if ( fSize <= 60.0 || fDist< 0.4 || fDist > 1.05 ) 150 150 { 151 151 //*fLog << "MSelStandard::Process; fSize, fDist, fNumUsedPixels, fNumCorePixels = " … … 180 180 *fLog << GetDescriptor() << " execution statistics:" << endl; 181 181 *fLog << dec << setfill(' '); 182 *fLog << " " << setw(7) << fErrors[1] << " (" << setw(3) << (int)(fErrors[1]*100/GetNumExecutions()) << "%) Evts skipped due to: Requirements on no.of used or core pxels not fullfilled" << endl; 183 184 *fLog << " " << setw(7) << fErrors[2] << " (" << setw(3) << (int)(fErrors[2]*100/GetNumExecutions()) << "%) Evts skipped due to: Requirements on SIZE or DIST not fullfilled" << endl; 185 186 *fLog << " " << setw(7) << fErrors[3] << " (" << setw(3) << (int)(fErrors[3]*100/GetNumExecutions()) << "%) Evts skipped due to: Length or Width is <= 0" << endl; 187 188 *fLog << " " << fErrors[0] << " (" << (int)(fErrors[0]*100/GetNumExecutions()) << "%) Evts survived Standard selections!" << endl; 182 *fLog << " " << setw(7) << fErrors[1] << " (" << setw(3) 183 << (int)(fErrors[1]*100/GetNumExecutions()) 184 << "%) Evts skipped due to: Requirements on no.of used or core pxels not fullfilled" << endl; 185 186 *fLog << " " << setw(7) << fErrors[2] << " (" << setw(3) 187 << (int)(fErrors[2]*100/GetNumExecutions()) 188 << "%) Evts skipped due to: Requirements on SIZE or DIST not fullfilled" << endl; 189 190 *fLog << " " << setw(7) << fErrors[3] << " (" << setw(3) 191 << (int)(fErrors[3]*100/GetNumExecutions()) 192 << "%) Evts skipped due to: Length or Width is <= 0" << endl; 193 194 *fLog << " " << fErrors[0] << " (" 195 << (int)(fErrors[0]*100/GetNumExecutions()) 196 << "%) Evts survived Standard selections!" << endl; 189 197 *fLog << endl; 190 198
Note:
See TracChangeset
for help on using the changeset viewer.