Import Geant4 5.1.0 source tree
This commit is contained in:
@@ -21,15 +21,15 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IrregularXrayTRmodel.cc,v 1.4 2001/09/18 09:02:02 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4IrregularXrayTRmodel.cc,v 1.5 2003/02/12 08:48:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
|
||||
|
||||
|
||||
#include "G4IrregularXrayTRmodel.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
#include "G4Poisson.hh"
|
||||
#include "G4Gamma.hh"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
@@ -114,7 +114,7 @@ void G4IrregularXrayTRmodel::DoIt( const G4FastTrack& fastTrack ,
|
||||
{
|
||||
if(iTkin == fTotBin)
|
||||
{
|
||||
numOfTR = RandPoisson::shoot( (*(*fEnergyDistrTable)(iPlace))(0)*chargeSq ) ;
|
||||
numOfTR = G4Poisson( (*(*fEnergyDistrTable)(iPlace))(0)*chargeSq ) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -123,9 +123,9 @@ void G4IrregularXrayTRmodel::DoIt( const G4FastTrack& fastTrack ,
|
||||
W = 1.0/(E2 - E1) ;
|
||||
W1 = (E2 - TkinScaled)*W ;
|
||||
W2 = (TkinScaled - E1)*W ;
|
||||
numOfTR = RandPoisson::shoot( ( (*(*fEnergyDistrTable)(iPlace))(0)*W1+
|
||||
(*(*fEnergyDistrTable)(iPlace+1))(0)*W2 )
|
||||
*chargeSq ) ;
|
||||
numOfTR = G4Poisson( ( (*(*fEnergyDistrTable)(iPlace))(0)*W1+
|
||||
(*(*fEnergyDistrTable)(iPlace+1))(0)*W2 )
|
||||
*chargeSq ) ;
|
||||
}
|
||||
|
||||
// G4cout<<iTkin<<" mean TR number = "<<(((*(*fEnergyDistrTable)(iPlace))(0)+
|
||||
|
||||
Reference in New Issue
Block a user