Changeset 5336 for trunk/MagicSoft/Simulation/Detector
- Timestamp:
- 11/03/04 14:42:15 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/ReflectorII
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog
r5139 r5336 1 1 ** Add changes at the beginning! ** 2 3 03/11/2004 A. Moralejo 4 5 reflector.c, header.c: Fixed problem: the correct telescope theta and 6 phi were not written to the output of reflector, because the variables 7 were filled before they were changed in the case of wobble mode. This has 8 been corrected. 2 9 3 10 27/09/2004 A. Moralejo -
trunk/MagicSoft/Simulation/Detector/ReflectorII/header.c
r1535 r5336 12 12 memcpy(r,c,154*sizeof(float)); 13 13 14 if (is_Fixed_Target) // <- Added in September 2002, AM15 {16 /* Next 2 variables added in June 2002, AM */17 r->telescopePhi = fixed_Phi;18 r->telescopeTheta = fixed_Theta;19 }20 // If no fixed target, telescope always points towards shower. AM Sep 200221 else22 {23 r->telescopePhi = cheadp->Phi;24 r->telescopeTheta = cheadp->Theta;25 }26 14 } /* end of TranslateHeader */ 27 15 -
trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c
r1725 r5336 203 203 break; 204 204 } 205 206 /* AM, Nov 2004: in case of wobble mode, change also the telescope 207 * theta and phi in the container to be written to the output file 208 * (rheadp) ! 209 */ 210 211 rheadp->telescopeTheta = tel_theta; 212 rheadp->telescopePhi = tel_phi; 205 213 206 214 /* Calculate OmegaCT matrices */
Note:
See TracChangeset
for help on using the changeset viewer.