Changeset 18275
- Timestamp:
- 07/26/15 22:44:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mimage/MNewImagePar.cc
r9374 r18275 220 220 const Double_t dzx = hillas.GetCosDelta()*dx + hillas.GetSinDelta()*dy; // [mm] 221 221 const Double_t dzy = -hillas.GetSinDelta()*dx + hillas.GetCosDelta()*dy; // [mm] 222 const Double_t dz = gpix.GetT()*gpix.GetT()/4; 223 const Double_t tana = dzy*dzy/(dzx*dzx); 224 const Double_t distr = (1+tana)/(rl + tana*rw); 225 if (distr>dist0-dz || dzx==0) 222 const Double_t dz = gpix.GetT()/2; 223 const Double_t distr = (dzy*dzy+dzx*dzx)/(dzx*dzx*rl + dzy*dzy*rw); 224 if (sqrt(distr)>sqrt(dist0)-dz || (dzx==0 && dzy==0)) 226 225 fConcCore += nphot; 227 226
Note:
See TracChangeset
for help on using the changeset viewer.