Changeset 7864
- Timestamp:
- 08/08/06 16:04:31 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7863 r7864 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/08/08 Thomas Bretz 21 22 * mbadpixels/MBadPixelsCam.cc: 23 - added some comments 24 25 * mhist/MHEvent.cc: 26 - replaced GetTheta() by GetTelescopeTheta() 27 28 * msignal/MExtractedSignalCam.cc: 29 - some update to returning the hi-/lo-gain ratio 30 31 32 20 33 2006/08/08 Daniela Dorner 21 34 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r7804 r7864 312 312 return 0; 313 313 314 // Check whether more than one neighbor contains useful information, 315 // which mean it can later be interpolated 314 316 if (GetNumSuitableNeighbors(type, *pix)>1) 315 317 return 0; 316 318 319 // If the requested area-index is valid check whether it is the requested one 317 320 if (aidx>=0 && pix->GetAidx()!=aidx) 318 321 return 1; 319 322 323 // Remove the pixel from the list of pixels to be checked 320 324 list.RemoveAt(idx); 321 325 326 // Do the same for the neighbor pixels recursively and count the 1-results 322 327 Short_t cnt = 1; 323 328 const Int_t n = pix->GetNumNeighbors(); … … 325 330 cnt += GetNumMaxCluster(type, list, pix->GetNeighbor(i), aidx); 326 331 332 // return the number of neighbor pixels/clusters which have unsuitable-type type 327 333 return cnt; 328 334 } -
trunk/MagicSoft/Mars/mhist/MHEvent.cc
r7297 r7864 295 295 s += (int)(fMcEvt->GetImpact()/100+.5); 296 296 s += "m Zd="; 297 s += (int)(fMcEvt->GetTheta()*180/TMath::Pi()+.5);297 s += 0.1*TMath::Nint(fMcEvt->GetTelescopeTheta()*180/TMath::Pi()*10); 298 298 s += "\\circ "; 299 299 if (fMcEvt->GetPhotElfromShower()>=10000) -
trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.cc
r7842 r7864 183 183 return kFALSE; 184 184 185 if (pix.GetExtractedSignalLoGain()<=0 || pix.GetExtractedSignalHiGain()<=0) 186 return kFALSE; 187 188 //val = log10(pix.GetExtractedSignalHiGain())-log10(pix.GetExtractedSignalLoGain()); 189 //return TMath::Abs(val-1)<0.4; 185 190 val = pix.GetExtractedSignalHiGain()/pix.GetExtractedSignalLoGain(); 186 return pix.GetExtractedSignalLoGain()>2 && val<25; 191 //return val>4 && val<30; 192 return val>4 && val<35; 187 193 188 194 default:
Note:
See TracChangeset
for help on using the changeset viewer.