- Timestamp:
- 04/24/03 14:31:12 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc
r1998 r2005 49 49 #include "MGeomCamMagic.h" 50 50 #include "MCamDisplay.h" 51 52 #include "MCluster.h"53 51 54 52 #include "MMcTrig.hxx" … … 260 258 { 261 259 262 // MCluster temp;263 //MCluster &clust = (temp).FindCluster();264 // temp=*clust;265 266 // Reads the number of NN that define a compact pixel267 268 260 // Find the Lut and cell with the higher LutPseudoSize. 269 261 int lutcell = CalcBiggerLutPseudoSize(); … … 275 267 276 268 fSizeBiggerCell = GetCellNumberFired(CalcBiggerFiredCell()); 277 269 278 270 } 279 271 … … 347 339 } 348 340 349 //fCam->Draw();350 //fCam->Reset();351 352 341 // 353 342 // Set the array of colors for each pixel (that will be painted after … … 358 347 for(int i=0; i<577; i++) 359 348 { 360 color = (fMcTrig->IsPixelFired(i,0)) ? 5 : 3;349 color = (fMcTrig->IsPixelFired(i,0)) ? 1 : 2; 361 350 fCam->SetPix( i, color, 1, 5 ); 362 351 } … … 709 698 void MMcTriggerLvl2::CalcPseudoSize() 710 699 { 711 *fLog <<" In CalcPseudoSize ";700 // Fill the fCompactPixel array with the compact pixels 712 701 CalcCompactPixels(fGeomCam); 713 702 … … 727 716 int pixcell =gsPixelsInLut[maxlut][pixlut]; 728 717 startpix = gsPixelsInCell[pixcell][maxcell]-1; 718 *fLog << "pix, compact:" << startpix << "@"<<fCompactPixel[startpix]; 729 719 if (fCompactPixel[startpix]) // a starting pixel was found 730 720 break; … … 815 805 816 806 fCompactPixel[pixid]=1; // pixel is compact 807 808 *fLog << ","<<pixid; 809 817 810 break; 818 811 } -
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h
r1998 r2005 13 13 class MGeomCam; 14 14 class MGeomPix; 15 16 class MCluster;17 15 18 16 class MMcTriggerLvl2 : public MParContainer
Note:
See TracChangeset
for help on using the changeset viewer.