Changeset 2005 for trunk


Ignore:
Timestamp:
04/24/03 14:31:12 (22 years ago)
Author:
stamerra
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

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

    r1998 r2005  
    4949#include "MGeomCamMagic.h"
    5050#include "MCamDisplay.h"
    51 
    52 #include "MCluster.h"
    5351
    5452#include "MMcTrig.hxx"
     
    260258{
    261259
    262   // MCluster temp;
    263   //MCluster &clust = (temp).FindCluster();
    264   //  temp=*clust;
    265 
    266   // Reads the number of NN that define a compact pixel
    267 
    268260  // Find the Lut and cell with the higher LutPseudoSize.
    269261  int lutcell = CalcBiggerLutPseudoSize();
     
    275267
    276268  fSizeBiggerCell = GetCellNumberFired(CalcBiggerFiredCell());
    277  
     269
    278270}
    279271
     
    347339    }
    348340
    349   //fCam->Draw();
    350   //fCam->Reset();
    351 
    352341  //
    353342  // Set the array of colors for each pixel (that will be painted after
     
    358347  for(int i=0; i<577; i++)
    359348    {
    360       color = (fMcTrig->IsPixelFired(i,0)) ? 5 : 3;
     349      color = (fMcTrig->IsPixelFired(i,0)) ? 1 : 2;
    361350      fCam->SetPix( i, color, 1, 5 );
    362351    }
     
    709698void MMcTriggerLvl2::CalcPseudoSize()
    710699{
    711       *fLog <<" In CalcPseudoSize  ";
     700  // Fill the fCompactPixel array with the compact pixels
    712701  CalcCompactPixels(fGeomCam);
    713702
     
    727716      int pixcell =gsPixelsInLut[maxlut][pixlut];
    728717      startpix = gsPixelsInCell[pixcell][maxcell]-1;
     718      *fLog << "pix, compact:" << startpix << "@"<<fCompactPixel[startpix];
    729719      if (fCompactPixel[startpix]) // a starting pixel was found
    730720        break;
     
    815805         
    816806          fCompactPixel[pixid]=1; // pixel is compact
     807
     808          *fLog << ","<<pixid;
     809
    817810          break;
    818811        }     
  • trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h

    r1998 r2005  
    1313class MGeomCam;
    1414class MGeomPix;
    15 
    16 class MCluster;
    1715
    1816class MMcTriggerLvl2 : public MParContainer
Note: See TracChangeset for help on using the changeset viewer.