Ignore:
Timestamp:
07/12/00 11:17:53 (24 years ago)
Author:
harald
Message:
Added the memberfunction Print() to show some members  of a instance of
the class.
File:
1 edited

Legend:

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

    r412 r417  
    251251  }
    252252
     253  void Print () {
     254    //
     255    //  Print the important content on the screen
     256    //
     257
     258    cout << endl ;
     259    cout << " **********" << endl ;
     260    cout << " EventNb: " << EvtNumber << " Particle " << PrimaryID << endl ;
     261    cout << " Energy: " << Etotal
     262         << " Theta: "  << Theta
     263         << " Phi: " << Phi
     264         << endl ;
     265    cout << " Core(x/y): (" << get_coreX() <<"/"<< get_coreY() << ")"
     266         << endl ; 
     267   
     268    cout << endl ;
     269  }
    253270};
    254271// @endcode
Note: See TracChangeset for help on using the changeset viewer.