Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/lowenergy/src/G4AugerTransition.cc

    r819 r1315  
    9797{
    9898  std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionEnergiesMap.find(startShellId);
     99
     100  if (shellId == augerTransitionEnergiesMap.end() )
     101    {G4Exception("G4AugerTransition: corresponding map element not found");}
     102
    99103  const G4DataVector* dataSet = &(*shellId).second;
    100104
     
    103107}
    104108
    105 // Returns the emission probabilities of the auger electrons, given th shell
     109// Returns the emission probabilities of the auger electrons, given the shell
    106110// from wich the transition electron cames from.
    107111
    108112const G4DataVector* G4AugerTransition::AugerTransitionProbabilities(G4int startShellId) const
    109113{
     114
     115  //debugging
     116  //if (startShellId == 1){G4cout <<"OI!!!"<< G4endl;}
     117
    110118  std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionProbabilitiesMap.find(startShellId);
     119
     120  if (shellId == augerTransitionProbabilitiesMap.end() )
     121    {G4Exception("G4AugerTransition: corresponding map element not found");}
     122 
    111123  const G4DataVector* dataSet = &(*shellId).second;
     124  // debugging purpose:
     125  /*  G4cout << "id: " << shellId->first << G4endl;
     126  G4cout << "size:" << dataSet->size() << G4endl;
     127  for (G4int i = 0; i < dataSet->size(); i++){
     128    G4cout << (dataSet[0])[i] << G4endl;
     129    }*/
    112130  return dataSet;
    113131}
Note: See TracChangeset for help on using the changeset viewer.