Geant4  10.01.p02
G4Generator2BS Class Reference

#include <G4Generator2BS.hh>

+ Inheritance diagram for G4Generator2BS:
+ Collaboration diagram for G4Generator2BS:

Public Member Functions

 G4Generator2BS (const G4String &name="")
 
virtual ~G4Generator2BS ()
 
virtual G4ThreeVectorSampleDirection (const G4DynamicParticle *dp, G4double out_energy, G4int Z, const G4Material *mat=0)
 
void PrintGeneratorInformation () const
 
- 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 RejectionFunction (G4double value) const
 

Private Member Functions

G4Generator2BSoperator= (const G4Generator2BS &right)
 
 G4Generator2BS (const G4Generator2BS &)
 

Private Attributes

G4double fz
 
G4double ratio
 
G4double ratio1
 
G4double ratio2
 
G4double delta
 
G4Powg4pow
 
G4int nwarn
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmAngularDistribution
G4ThreeVector fLocalDirection
 

Detailed Description

Definition at line 64 of file G4Generator2BS.hh.

Constructor & Destructor Documentation

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

Definition at line 64 of file G4Generator2BS.cc.

References g4pow, G4Pow::GetInstance(), and nwarn.

+ Here is the call graph for this function:

G4Generator2BS::~G4Generator2BS ( )
virtual

Definition at line 72 of file G4Generator2BS.cc.

G4Generator2BS::G4Generator2BS ( const G4Generator2BS )
private

Member Function Documentation

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

Definition at line 140 of file G4Generator2BS.cc.

References G4cout, and G4endl.

G4double G4Generator2BS::RejectionFunction ( G4double  value) const
inlineprotected

Definition at line 101 of file G4Generator2BS.hh.

References delta, fz, ratio, ratio1, and ratio2.

Referenced by SampleDirection().

+ Here is the caller graph for this function:

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

Implements G4VEmAngularDistribution.

Definition at line 75 of file G4Generator2BS.cc.

References G4INCL::KinematicsUtils::energy(), G4VEmAngularDistribution::fLocalDirection, fz, G4cout, G4endl, g4pow, G4UniformRand, G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetTotalEnergy(), G4INCL::Math::max(), MeV, nwarn, ratio, ratio1, ratio2, RejectionFunction(), and G4Pow::Z13().

Referenced by G4Generator2BN::SampleDirection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4Generator2BS::delta
private

Definition at line 94 of file G4Generator2BS.hh.

Referenced by RejectionFunction().

G4double G4Generator2BS::fz
private

Definition at line 90 of file G4Generator2BS.hh.

Referenced by RejectionFunction(), and SampleDirection().

G4Pow* G4Generator2BS::g4pow
private

Definition at line 96 of file G4Generator2BS.hh.

Referenced by G4Generator2BS(), and SampleDirection().

G4int G4Generator2BS::nwarn
private

Definition at line 97 of file G4Generator2BS.hh.

Referenced by G4Generator2BS(), and SampleDirection().

G4double G4Generator2BS::ratio
private

Definition at line 91 of file G4Generator2BS.hh.

Referenced by RejectionFunction(), and SampleDirection().

G4double G4Generator2BS::ratio1
private

Definition at line 92 of file G4Generator2BS.hh.

Referenced by RejectionFunction(), and SampleDirection().

G4double G4Generator2BS::ratio2
private

Definition at line 93 of file G4Generator2BS.hh.

Referenced by RejectionFunction(), and SampleDirection().


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