Changeset 2577
- Timestamp:
- 12/01/03 13:59:37 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2574 r2577 5 5 -*-*- END OF LINE -*-*- 6 6 7 7 2003/12/1: Abelardo Moralejo 8 9 * mimage/MStereoPar.cc 10 - Added calculation of fCT1Impact2, fCT2Impact2, the estimates of 11 impact parameter using the a priori assumption that the events 12 come from a point source located at the center of the camera. 8 13 9 14 2003/11/27: Wolfgang Wittek -
trunk/MagicSoft/Mars/mimage/MStereoPar.cc
r2567 r2577 234 234 scalar * scalar ); 235 235 236 // 237 // Now calculate i.p. assuming source is point-like and placed in 238 // the center of the camera. 239 // 240 scalar = (fCoreX2-ct1_x)*(-sin(mcevt1.GetTelescopeTheta())* 241 cos(mcevt1.GetTelescopePhi())) + 242 (fCoreY2-ct1_y)*(-sin(mcevt1.GetTelescopeTheta())* 243 sin(mcevt1.GetTelescopePhi())); 244 245 fCT1Impact2 = sqrt( (fCoreX2-ct1_x)*(fCoreX2-ct1_x) + 246 (fCoreY2-ct1_y)*(fCoreY2-ct1_y) - 247 scalar * scalar ); 248 249 scalar = (fCoreX2-ct2_x)*(-sin(mcevt2.GetTelescopeTheta())* 250 cos(mcevt2.GetTelescopePhi())) + 251 (fCoreY2-ct2_y)*(-sin(mcevt2.GetTelescopeTheta())* 252 sin(mcevt2.GetTelescopePhi())); 253 254 fCT2Impact2 = sqrt( (fCoreX2-ct2_x)*(fCoreX2-ct2_x) + 255 (fCoreY2-ct2_y)*(fCoreY2-ct2_y) - 256 scalar * scalar ); 236 257 237 258 … … 287 308 288 309 } 289 290 291 292 293 294 295 296 297 298 299 300
Note:
See TracChangeset
for help on using the changeset viewer.