Ignore:
Timestamp:
07/17/00 12:43:16 (24 years ago)
Author:
harald
Message:
In the tab frame for EventDistributions, now the informations about the
shower are available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/include-CORSIKA/COREventHeader.hxx

    r421 r426  
    207207  inline Float_t get_firstInt () {
    208208    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] )) ) ;
    209219  }
    210220
Note: See TracChangeset for help on using the changeset viewer.