Ignore:
Timestamp:
06/29/00 13:37:52 (25 years ago)
Author:
harald
Message:
adding the memberfunction print() to show the properties of one particle.
File:
1 edited

Legend:

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

    r294 r406  
    9797    }
    9898
     99
     100  // print content of one particle
     101  inline void print()
     102    {
     103      cout << "Id: " << get_particle() 
     104           << " Pos: " << x << "/" << y
     105           << " lam: " << w - 1000.*((int)floor(w/1000.))
     106           << " hei: " << h
     107           << endl ;
     108    }
     109
    99110  // get information about the photon
    100111  inline Float_t get_wl( void ) {
Note: See TracChangeset for help on using the changeset viewer.