- Timestamp:
- 10/05/04 08:44:08 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae/library
- Files:
-
- 6 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/library/MControlPlots.cc
r4413 r5170 36 36 #include "MControlPlots.h" 37 37 #include "MIslands.h" 38 #include "MImgIsland.h" 38 39 #include "MHCamera.h" 39 40 #include "MGeomCamMagic.h" … … 93 94 else 94 95 fCameraHisto[fMode] = new MHCamera(*fGeomCam,"Survive","Pixels surviving Image Cleaning"); 95 96 96 return kTRUE; 97 97 } … … 101 101 // 102 102 Int_t MControlPlots::Process() 103 { 103 { 104 104 if(!fIslands) return kTRUE; 105 105 106 for (UInt_t i=0;i<fGeomCam->GetNumPixels();i++) 106 MImgIsland *imgIsl = new MImgIsland; 107 TIter Next(fIslands->GetList()); 108 109 Int_t pixNum = 0; 110 Int_t idPix = -1; 111 112 while ((imgIsl=(MImgIsland*)Next())) { 113 114 pixNum = imgIsl->GetPixNum(); 115 116 for(Int_t k = 0; k<pixNum; k++) 117 { 118 idPix = imgIsl->GetPixList(k); 119 fCameraHisto[fMode]->Fill(idPix,1); 120 fCameraHisto[fMode]->SetUsed(idPix); 121 } 122 } 123 124 /* for (UInt_t i=0;i<fGeomCam->GetNumPixels();i++) 107 125 { 108 126 // cout << fIslands->GetIslId(i) << " "; … … 112 130 fCameraHisto[fMode]->SetUsed(i); 113 131 } 114 } 132 }*/ 133 115 134 // cout << endl; 116 135 return kTRUE; -
trunk/MagicSoft/Mars/mtemp/mifae/library/MControlPlots.h
r4364 r5170 8 8 class TString; 9 9 class MIslands; 10 class MImgIsland; 10 11 class MGeomCam; 11 12 class MHCamera;
Note:
See TracChangeset
for help on using the changeset viewer.