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/neutron_hp/src/G4NeutronHPDeExGammas.cc

    r819 r962  
    2727// J.P. Wellisch, Nov-1996
    2828// A prototype of the low energy neutron transport model.
     29//
     30// 080801 Prohibit level transition to oneself by T. Koi
    2931//
    3032#include "G4NeutronHPDeExGammas.hh"
     
    123125      }
    124126    }
     127//080728
     128    if ( it != -1 && currentLevelE == theLevels[it].GetLevelEnergy() )
     129    {
     130       //TK Comment; Some data file in /Inelastic/Gammas has inconsistent level data (no level to transit)
     131       //G4cout << "DeExGammas Transition level error: it " << it << " " << currentLevelE << " " << gammaE << " " << theLevels[it-1].GetLevelEnergy() << " " << currentLevelE - theLevels[it-1].GetLevelEnergy() << G4endl;
     132       // Forced to connect the next(previous) level
     133       it +=-1;
     134    }
     135//080728
    125136    if(it!=-1) theGammas[i]->SetNext(&theLevels[it]);
    126137  }
Note: See TracChangeset for help on using the changeset viewer.