Ignore:
Timestamp:
04/17/03 08:03:48 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

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

    r1955 r1961  
    267267  Double_t SigbarOld;
    268268
     269
     270  SigbarOld = fSigmabar->Calc(*fCam, *fPed, *fEvt);
    269271  //*fLog << "before padding : " << endl;
    270   //SigbarOld = fSigmabar->Calc(*fCam, *fPed, *fEvt);
    271272  //fSigmabar->Print("");
    272273
     
    407408  //
    408409  // pad only pixels   - which are used (before image cleaning)
    409   //                   - and for which the no.of photons is != 0.0
    410410  //
    411411  Double_t Sig         = 0.0;
     
    422422      continue;
    423423
    424     if ( pix.GetNumPhotons() == 0.0)
    425     {
    426       *fLog << "MPadSchweizer::Process(); no.of photons is 0 for used pixel"
    427             << endl;
    428       continue;
    429     }
     424    //if ( pix.GetNumPhotons() == 0.0)
     425    //{
     426    //  *fLog << "MPadSchweizer::Process(); no.of photons is 0 for used pixel"
     427    //        << endl;
     428    //  continue;
     429    //}
    430430
    431431    Int_t j = pix.GetPixId();
     
    572572
    573573    fHNSB->Fill( NSB/sqrt(Area) );
    574     fHPhotons->Fill( newphotons/sqrt(Area), oldphotons/sqrt(Area) );
     574    fHPhotons->Fill( oldphotons/sqrt(Area), newphotons/sqrt(Area) );
    575575
    576576
     
    604604      continue;
    605605
    606     if ( pix.GetNumPhotons() == 0.0)
    607     {
    608       *fLog << "MPadSchweizer::Process(); no.of photons is 0 for used pixel"
    609             << endl;
    610       continue;
    611     }
     606    //if ( pix.GetNumPhotons() == 0.0)
     607    //{
     608    //  *fLog << "MPadSchweizer::Process(); no.of photons is 0 for used pixel"
     609    //        << endl;
     610    //  continue;
     611    //}
    612612
    613613    Int_t j = pix.GetPixId();
  • trunk/MagicSoft/Mars/manalysis/MSigmabar.cc

    r1951 r1961  
    1616!
    1717!
    18 !   Author(s): Robert Wagner, 10/2002 <mailto:magicsoft@rwagner.de>
     18!   Author(s): Robert Wagner,   10/2002 <mailto:magicsoft@rwagner.de>
    1919!   Author(s): Wolfgang Wittek, 01/2003 <mailto:wittek@mppmu.mpg.de>
    20 !   Author(s): Thomas Bretz, 04/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
     20!   Author(s): Thomas Bretz,    04/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
    2121!
    2222!   Copyright: MAGIC Software Development, 2003
     
    103103    memset(innerPixels, 0, sizeof(innerPixels));
    104104    memset(outerPixels, 0, sizeof(outerPixels));
    105     memset(outerSquaredSum, 0, sizeof(outerSquaredSum));
     105    memset(innerSquaredSum, 0, sizeof(innerSquaredSum));
    106106    memset(outerSquaredSum, 0, sizeof(outerSquaredSum));
    107107
     
    115115
    116116    const UInt_t npix = evt.GetNumPixels();
     117
     118    //*fLog << "MSigmabar : npix = " << npix << endl;
    117119
    118120    for (UInt_t i=0; i<npix; i++)
     
    121123        if (!cerpix.IsPixelUsed())
    122124            continue;
    123         /*
     125
     126        /*
    124127         if ( cerpix.GetNumPhotons() == 0 )
    125128         {
     
    128131         continue;
    129132         }
    130          */
     133        */
     134
    131135        const Int_t id = cerpix.GetPixId();
    132136        const Double_t area = geom.GetPixRatio(id);
     137
     138        if (id == 0)
     139        {
     140          //*fLog << "MSigmabar : id = 0;  pixel '0' is used, ignore it"
     141          //      << endl;
     142          continue;
     143        }
    133144
    134145        const MGeomPix    &gpix = geom[id];
     
    226237
    227238}
     239
     240
     241
     242
     243
     244
Note: See TracChangeset for help on using the changeset viewer.