Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/qmd/include/G4QMDParticipant.hh

    r819 r962  
    3434//      Creation date: 29 March 2007
    3535// -----------------------------------------------------------------------------
     36//
     37// 081120 Add hit flag and related methods
    3638
    3739#ifndef G4QMDParticipant_hh
     
    7072
    7173      void UnsetInitialMark() { projectile = false; target = false; }
     74      void UnsetHitMark() { hit = false; }
     75      G4bool IsThisHit() { return hit; }
     76      void SetHitMark() { hit = true; }
     77
    7278      void SetProjectile() { projectile = true; }
    7379      void SetTarget() { target = true; }
     
    8288      G4bool projectile;
    8389      G4bool target;
     90      G4bool hit;
    8491};
    8592
Note: See TracChangeset for help on using the changeset viewer.