Ignore:
Timestamp:
03/28/03 08:50:05 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
4 added
3 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
  • trunk/MagicSoft/Mars/manalysis/MSelBasic.h

    r1809 r1872  
    3030    const MRawRunHeader *fRawRun;       
    3131
    32           Int_t        fErrors[4];
     32    Double_t     ThetaMin;
     33    Double_t     ThetaMax;
     34
     35    Int_t        fErrors[4];
    3336
    3437public:
  • trunk/MagicSoft/Mars/manalysis/MSelStandard.cc

    r1809 r1872  
    139139    Int_t fNumCorePixels   = fHil->GetNumCorePixels();
    140140
    141     if ( fNumUsedPixels >= 92  ||  fNumCorePixels < 4 )
     141    if ( fNumUsedPixels >= 92  ||  fNumCorePixels <= 4 )
    142142    {
    143143      //*fLog << "MSelStandard::Process; fSize, fDist, fNumUsedPixels, fNumCorePixels = "
     
    147147    }   
    148148
    149     else if ( fSize <= 60.0         ||  fDist< 0.4           ||  fDist > 1.1 )
     149    else if ( fSize <= 60.0         ||  fDist< 0.4           ||  fDist > 1.05 )
    150150    {
    151151      //*fLog << "MSelStandard::Process; fSize, fDist, fNumUsedPixels, fNumCorePixels = "
     
    180180    *fLog << GetDescriptor() << " execution statistics:" << endl;
    181181    *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;
    189197    *fLog << endl;
    190198
Note: See TracChangeset for help on using the changeset viewer.