Geant4  10.00.p01
G4Generator2BN Class Reference

#include <G4Generator2BN.hh>

+ Inheritance diagram for G4Generator2BN:
+ Collaboration diagram for G4Generator2BN:

Public Member Functions

 G4Generator2BN (const G4String &name="")
 
virtual ~G4Generator2BN ()
 
virtual G4ThreeVectorSampleDirection (const G4DynamicParticle *dp, G4double out_energy, G4int Z, const G4Material *mat=0)
 
void PrintGeneratorInformation () const
 
void SetInterpolationThetaIncrement (G4double increment)
 
G4double GetInterpolationThetaIncrement ()
 
void SetGammaCutValue (G4double cutValue)
 
G4double GetGammaCutValue ()
 
void ConstructMajorantSurface ()
 
- Public Member Functions inherited from G4VEmAngularDistribution
 G4VEmAngularDistribution (const G4String &name)
 
virtual ~G4VEmAngularDistribution ()
 
virtual G4ThreeVectorSampleDirectionForShell (const G4DynamicParticle *dp, G4double finalTotalEnergy, G4int Z, G4int shellID, const G4Material *)
 
const G4StringGetName () const
 

Protected Member Functions

G4double CalculateFkt (G4double k, G4double theta, G4double A, G4double c) const
 
G4double Calculatedsdkdt (G4double kout, G4double theta, G4double Eel) const
 

Private Member Functions

G4Generator2BNoperator= (const G4Generator2BN &right)
 
 G4Generator2BN (const G4Generator2BN &)
 

Private Attributes

G4Generator2BS fGenerator2BS
 
G4double b
 
G4int index_min
 
G4int index_max
 
G4double kmin
 
G4double Ekmin
 
G4double dtheta
 
G4double kcut
 
G4int nwarn
 

Static Private Attributes

static G4double Atab [320]
 
static G4double ctab [320]
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmAngularDistribution
G4ThreeVector fLocalDirection
 

Detailed Description

Definition at line 62 of file G4Generator2BN.hh.

Constructor & Destructor Documentation

G4Generator2BN::G4Generator2BN ( const G4String name = "")

Definition at line 156 of file G4Generator2BN.cc.

References b, dtheta, Ekmin, eV, index_max, index_min, kcut, kmin, nwarn, and rad.

G4Generator2BN::~G4Generator2BN ( )
virtual

Definition at line 180 of file G4Generator2BN.cc.

G4Generator2BN::G4Generator2BN ( const G4Generator2BN )
private

Member Function Documentation

G4double G4Generator2BN::Calculatedsdkdt ( G4double  kout,
G4double  theta,
G4double  Eel 
) const
protected

Definition at line 269 of file G4Generator2BN.cc.

References L, MeV, and G4INCL::Math::pi.

Referenced by ConstructMajorantSurface(), and SampleDirection().

+ Here is the caller graph for this function:

G4double G4Generator2BN::CalculateFkt ( G4double  k,
G4double  theta,
G4double  A,
G4double  c 
) const
protected

Definition at line 262 of file G4Generator2BN.cc.

References b.

Referenced by ConstructMajorantSurface().

+ Here is the caller graph for this function:

void G4Generator2BN::ConstructMajorantSurface ( )

Definition at line 335 of file G4Generator2BN.cc.

References A, Atab, b, Calculatedsdkdt(), CalculateFkt(), ctab, dtheta, G4cout, G4endl, index_max, index_min, G4InuclParticleNames::k0, kcut, kmin, and G4INCL::Math::pi.

+ Here is the call graph for this function:

G4double G4Generator2BN::GetGammaCutValue ( )
inline

Definition at line 84 of file G4Generator2BN.hh.

References kcut.

G4double G4Generator2BN::GetInterpolationThetaIncrement ( )
inline

Definition at line 81 of file G4Generator2BN.hh.

References dtheta.

G4Generator2BN& G4Generator2BN::operator= ( const G4Generator2BN right)
private
void G4Generator2BN::PrintGeneratorInformation ( ) const

Definition at line 427 of file G4Generator2BN.cc.

References G4cout, and G4endl.

G4ThreeVector & G4Generator2BN::SampleDirection ( const G4DynamicParticle dp,
G4double  out_energy,
G4int  Z,
const G4Material mat = 0 
)
virtual

Implements G4VEmAngularDistribution.

Definition at line 183 of file G4Generator2BN.cc.

References A, Atab, b, Calculatedsdkdt(), ctab, fGenerator2BS, G4VEmAngularDistribution::fLocalDirection, G4cout, G4endl, G4UniformRand, G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetTotalEnergy(), index_max, index_min, G4INCL::Math::max(), MeV, nwarn, G4INCL::Math::pi, and G4Generator2BS::SampleDirection().

+ Here is the call graph for this function:

void G4Generator2BN::SetGammaCutValue ( G4double  cutValue)
inline

Definition at line 83 of file G4Generator2BN.hh.

References kcut.

void G4Generator2BN::SetInterpolationThetaIncrement ( G4double  increment)
inline

Definition at line 80 of file G4Generator2BN.hh.

References dtheta.

Member Data Documentation

G4double G4Generator2BN::Atab
staticprivate

Definition at line 106 of file G4Generator2BN.hh.

Referenced by ConstructMajorantSurface(), and SampleDirection().

G4double G4Generator2BN::b
private
G4double G4Generator2BN::ctab
staticprivate

Definition at line 107 of file G4Generator2BN.hh.

Referenced by ConstructMajorantSurface(), and SampleDirection().

G4double G4Generator2BN::Ekmin
private

Definition at line 103 of file G4Generator2BN.hh.

Referenced by G4Generator2BN().

G4Generator2BS G4Generator2BN::fGenerator2BS
private

Definition at line 99 of file G4Generator2BN.hh.

Referenced by SampleDirection().

G4int G4Generator2BN::index_max
private

Definition at line 102 of file G4Generator2BN.hh.

Referenced by ConstructMajorantSurface(), G4Generator2BN(), and SampleDirection().

G4int G4Generator2BN::index_min
private

Definition at line 102 of file G4Generator2BN.hh.

Referenced by ConstructMajorantSurface(), G4Generator2BN(), and SampleDirection().

G4double G4Generator2BN::kcut
private
G4double G4Generator2BN::kmin
private

Definition at line 103 of file G4Generator2BN.hh.

Referenced by ConstructMajorantSurface(), and G4Generator2BN().

G4int G4Generator2BN::nwarn
private

Definition at line 109 of file G4Generator2BN.hh.

Referenced by G4Generator2BN(), and SampleDirection().


The documentation for this class was generated from the following files: