Changeset 426 for trunk/MagicSoft/Simulation/Detector/include-CORSIKA
- Timestamp:
- 07/17/00 12:43:16 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-CORSIKA/COREventHeader.hxx
r421 r426 207 207 inline Float_t get_firstInt () { 208 208 return ( zFirstInt ) ; 209 } 210 211 // get the xDirection part of the normalized direction vector 212 inline Float_t get_direX () { 213 return ( (Float_t) ( p[0] / sqrt( p[0]*p[0] + p[1]*p[1] + p[2]*p[2] )) ) ; 214 } 215 216 // get the xDirection part of the normalized direction vector 217 inline Float_t get_direY () { 218 return ( (Float_t) ( p[1] / sqrt( p[0]*p[0] + p[1]*p[1] + p[2]*p[2] )) ) ; 209 219 } 210 220
Note:
See TracChangeset
for help on using the changeset viewer.