Ignore:
Timestamp:
03/28/03 08:50:05 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MSelBasic.cc

    r1809 r1872  
    6060    fName  = name  ? name  : "MSelBasic";
    6161    fTitle = title ? title : "Task to evaluate basic cuts";
     62
     63    ThetaMin =  0.0;
     64    ThetaMax = 60.0;
    6265}
    6366
     
    205208
    206209    Double_t Theta = kRad2Deg*fMcEvt->GetTelescopeTheta();
    207     if ( Theta < 0.0 )
     210    if ( Theta < ThetaMin )
    208211    {
    209212      *fLog << "MSelBasic::Process; Run, Event, Theta = "
     
    213216    }   
    214217
    215     else if ( Theta > 45.0 )
     218    else if ( Theta > ThetaMax )
    216219    {
    217220      rc = 2;
     
    313316    *fLog << GetDescriptor() << " execution statistics:" << endl;
    314317    *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;
    322332    *fLog << endl;
    323333
     
    325335}
    326336
     337
Note: See TracChangeset for help on using the changeset viewer.