Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJGeneratorPNNLLookup Class Reference

#include <MJGeneratorPNNLLookup.hh>

List of all members.

Public Member Functions

 MJGeneratorPNNLLookup ()
 MJGeneratorPNNLLookup (G4int num_entries, G4double *x_arr, G4double *f_arr)
 MJGeneratorPNNLLookup (G4int num_entries, G4double *f_arr)
 MJGeneratorPNNLLookup (const MJGeneratorPNNLLookup &Lookup)
 ~MJGeneratorPNNLLookup ()
void operator= (const MJGeneratorPNNLLookup &Lookup)
G4int GetType () const
G4double * GetXTable () const
G4double * GetDistTable () const
G4double * GetLookupTable () const
void DoCreateTable (G4int num_entries, G4double *x_arr, G4double *f_arr)
void DoCreateTable (G4int num_entries, G4double *f_arr)
G4double DoLookupInterp (G4double x_rnd)
G4int DoLookupDiscrete (G4double x_rnd)

Private Member Functions

G4int Locate (double x)

Private Attributes

G4int fType
G4int fNum_entries
G4double * f_pX_table
G4double * f_pDist_table
G4double * f_pSum_table

Static Private Attributes

const G4int kTYPE_INTERPOLATED_LOOKUP = 0
const G4int kTYPE_DISCRETE_LOOKUP = 1


Constructor & Destructor Documentation

MJGeneratorPNNLLookup::MJGeneratorPNNLLookup  )  [inline]
 

Definition at line 35 of file MJGeneratorPNNLLookup.hh.

MJGeneratorPNNLLookup::MJGeneratorPNNLLookup G4int  num_entries,
G4double *  x_arr,
G4double *  f_arr
 

Definition at line 23 of file MJGeneratorPNNLLookup.cc.

References DoCreateTable(), f_pDist_table, f_pSum_table, f_pX_table, and fType.

MJGeneratorPNNLLookup::MJGeneratorPNNLLookup G4int  num_entries,
G4double *  f_arr
 

Definition at line 43 of file MJGeneratorPNNLLookup.cc.

References DoCreateTable(), f_pDist_table, f_pSum_table, f_pX_table, and fType.

MJGeneratorPNNLLookup::MJGeneratorPNNLLookup const MJGeneratorPNNLLookup Lookup  ) 
 

Definition at line 74 of file MJGeneratorPNNLLookup.cc.

References f_pDist_table, f_pSum_table, f_pX_table, fNum_entries, and fType.

MJGeneratorPNNLLookup::~MJGeneratorPNNLLookup  ) 
 

Definition at line 61 of file MJGeneratorPNNLLookup.cc.


Member Function Documentation

void MJGeneratorPNNLLookup::DoCreateTable G4int  num_entries,
G4double *  f_arr
 

Definition at line 205 of file MJGeneratorPNNLLookup.cc.

References f_pDist_table, f_pSum_table, and fNum_entries.

void MJGeneratorPNNLLookup::DoCreateTable G4int  num_entries,
G4double *  x_arr,
G4double *  f_arr
 

Definition at line 140 of file MJGeneratorPNNLLookup.cc.

References f_pDist_table, f_pSum_table, f_pX_table, and fNum_entries.

Referenced by MJGeneratorPNNLLookup().

G4int MJGeneratorPNNLLookup::DoLookupDiscrete G4double  x_rnd  ) 
 

Definition at line 287 of file MJGeneratorPNNLLookup.cc.

References Locate().

Referenced by MJGeneratorPNNLRadioisotope::DoCascadeEvent(), and MJGeneratorPNNLDecayChain::DoCascadeEvent().

G4double MJGeneratorPNNLLookup::DoLookupInterp G4double  x_rnd  ) 
 

Definition at line 263 of file MJGeneratorPNNLLookup.cc.

References f_pSum_table, f_pX_table, and Locate().

Referenced by MJGeneratorPNNLCascade::DoSampleBetaDist().

G4double* MJGeneratorPNNLLookup::GetDistTable  )  const [inline]
 

Definition at line 44 of file MJGeneratorPNNLLookup.hh.

G4double* MJGeneratorPNNLLookup::GetLookupTable  )  const [inline]
 

Definition at line 45 of file MJGeneratorPNNLLookup.hh.

G4int MJGeneratorPNNLLookup::GetType  )  const [inline]
 

Definition at line 42 of file MJGeneratorPNNLLookup.hh.

G4double* MJGeneratorPNNLLookup::GetXTable  )  const [inline]
 

Definition at line 43 of file MJGeneratorPNNLLookup.hh.

G4int MJGeneratorPNNLLookup::Locate double  x  )  [private]
 

Referenced by DoLookupDiscrete(), and DoLookupInterp().

void MJGeneratorPNNLLookup::operator= const MJGeneratorPNNLLookup Lookup  ) 
 

Definition at line 107 of file MJGeneratorPNNLLookup.cc.

References f_pDist_table, f_pSum_table, f_pX_table, fNum_entries, and fType.


Member Data Documentation

G4double* MJGeneratorPNNLLookup::f_pDist_table [private]
 

Definition at line 56 of file MJGeneratorPNNLLookup.hh.

Referenced by DoCreateTable(), MJGeneratorPNNLLookup(), and operator=().

G4double* MJGeneratorPNNLLookup::f_pSum_table [private]
 

Definition at line 57 of file MJGeneratorPNNLLookup.hh.

Referenced by DoCreateTable(), DoLookupInterp(), MJGeneratorPNNLLookup(), and operator=().

G4double* MJGeneratorPNNLLookup::f_pX_table [private]
 

Definition at line 55 of file MJGeneratorPNNLLookup.hh.

Referenced by DoCreateTable(), DoLookupInterp(), MJGeneratorPNNLLookup(), and operator=().

G4int MJGeneratorPNNLLookup::fNum_entries [private]
 

Definition at line 54 of file MJGeneratorPNNLLookup.hh.

Referenced by DoCreateTable(), MJGeneratorPNNLLookup(), and operator=().

G4int MJGeneratorPNNLLookup::fType [private]
 

Definition at line 53 of file MJGeneratorPNNLLookup.hh.

Referenced by MJGeneratorPNNLLookup(), and operator=().

const G4int MJGeneratorPNNLLookup::kTYPE_DISCRETE_LOOKUP = 1 [static, private]
 

Definition at line 18 of file MJGeneratorPNNLLookup.cc.

const G4int MJGeneratorPNNLLookup::kTYPE_INTERPOLATED_LOOKUP = 0 [static, private]
 

Definition at line 17 of file MJGeneratorPNNLLookup.cc.


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:56 2004 for Majorana Simulation by  doxygen 1.3.9.1