Changeset 19602 for trunk/Mars
- Timestamp:
- 09/02/19 20:41:21 (5 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/macros/hawcseye/fresnellens_image.C
r19601 r19602 39 39 MHPhotonEvent plane3(2, "HMirrorPlane3"); 40 40 MHPhotonEvent plane4(2, "HMirrorPlane4"); 41 MHPhotonEvent planeC( 5, "HPhotonEventCamera");41 MHPhotonEvent planeC(9, "HPhotonEventCamera"); 42 42 43 43 planeG.SetMaxImpact(60); -
trunk/Mars/msim/MHPhotonEvent.cc
r19547 r19602 186 186 MH::FindGoodLimits(num, num, min, max, kFALSE); 187 187 188 cout << "NUM=" << num << " " << min << " " << max << endl; 188 189 const MBinning binsd(num+1, min, max); 189 190 … … 236 237 case 7: // The maximum radius (cm) -- ~ 3 bins / pix 237 238 case 8: // The maximum radius (cm) -- ~ 2 bins / pix 239 case 9: // The maximum radius (cm) -- ~ 50 bins / pix 238 240 { 239 241 MGeomCam *c = (MGeomCam*)pList->FindObject("MGeomCam"); … … 268 270 num = 101; 269 271 break; 272 case 9: 273 // ~50 bins per pixel 274 num = TMath::Nint(50*c->GetMaxRadius()/(*c)[0].GetT()); 275 break; 270 276 } 271 277 272 if (fType==5 || fType==6 || fType==7 )278 if (fType==5 || fType==6 || fType==7 || fType==9) 273 279 xmax /= 10; 274 280
Note:
See TracChangeset
for help on using the changeset viewer.