Changeset 1961 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 04/17/03 08:03:48 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPadSchweizer.cc
r1955 r1961 267 267 Double_t SigbarOld; 268 268 269 270 SigbarOld = fSigmabar->Calc(*fCam, *fPed, *fEvt); 269 271 //*fLog << "before padding : " << endl; 270 //SigbarOld = fSigmabar->Calc(*fCam, *fPed, *fEvt);271 272 //fSigmabar->Print(""); 272 273 … … 407 408 // 408 409 // pad only pixels - which are used (before image cleaning) 409 // - and for which the no.of photons is != 0.0410 410 // 411 411 Double_t Sig = 0.0; … … 422 422 continue; 423 423 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 //} 430 430 431 431 Int_t j = pix.GetPixId(); … … 572 572 573 573 fHNSB->Fill( NSB/sqrt(Area) ); 574 fHPhotons->Fill( newphotons/sqrt(Area), oldphotons/sqrt(Area) );574 fHPhotons->Fill( oldphotons/sqrt(Area), newphotons/sqrt(Area) ); 575 575 576 576 … … 604 604 continue; 605 605 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 //} 612 612 613 613 Int_t j = pix.GetPixId(); -
trunk/MagicSoft/Mars/manalysis/MSigmabar.cc
r1951 r1961 16 16 ! 17 17 ! 18 ! Author(s): Robert Wagner, 10/2002 <mailto:magicsoft@rwagner.de>18 ! Author(s): Robert Wagner, 10/2002 <mailto:magicsoft@rwagner.de> 19 19 ! 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> 21 21 ! 22 22 ! Copyright: MAGIC Software Development, 2003 … … 103 103 memset(innerPixels, 0, sizeof(innerPixels)); 104 104 memset(outerPixels, 0, sizeof(outerPixels)); 105 memset( outerSquaredSum, 0, sizeof(outerSquaredSum));105 memset(innerSquaredSum, 0, sizeof(innerSquaredSum)); 106 106 memset(outerSquaredSum, 0, sizeof(outerSquaredSum)); 107 107 … … 115 115 116 116 const UInt_t npix = evt.GetNumPixels(); 117 118 //*fLog << "MSigmabar : npix = " << npix << endl; 117 119 118 120 for (UInt_t i=0; i<npix; i++) … … 121 123 if (!cerpix.IsPixelUsed()) 122 124 continue; 123 /* 125 126 /* 124 127 if ( cerpix.GetNumPhotons() == 0 ) 125 128 { … … 128 131 continue; 129 132 } 130 */ 133 */ 134 131 135 const Int_t id = cerpix.GetPixId(); 132 136 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 } 133 144 134 145 const MGeomPix &gpix = geom[id]; … … 226 237 227 238 } 239 240 241 242 243 244
Note:
See TracChangeset
for help on using the changeset viewer.