Ignore:
Timestamp:
11/01/99 13:29:05 (25 years ago)
Author:
harald
Message:
Changed the reflector output format. This was done by Dirk in Barcelona.
The change solely consists in a shortening of the flag definition in
MCCphoton.hxx.

The change was necessary for saving space and for better debugging.

From now on the format of reflector can be frozen.

Also a smaller change in MCEventHeader.hxx to get the X- and Y-coordinate
of the shower core.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader.hxx

    r295 r302  
    144144                              ((CorePos[1][ncore])*(CorePos[1][ncore])) ) );
    145145  }
     146 
     147  // get the core position in X
     148  inline Float_t get_coreX ( Int_t ncore = 0 ) {
     149    return ( (Float_t) CorePos[0][ncore] );
     150  }
     151
     152  // get the core position in Y
     153  inline Float_t get_coreY ( Int_t ncore = 0 ) {
     154    return ( (Float_t) CorePos[1][ncore] );
     155  }
    146156
    147157  // transport from COREventHeader to MCEventHeader
Note: See TracChangeset for help on using the changeset viewer.