Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
G4NumIntTwoBodyAngDst< NKEBINS, NANGLES > Class Template Reference

#include <G4NumIntTwoBodyAngDst.hh>

Inheritance diagram for G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >:
G4VTwoBodyAngDst

Public Types

enum  { nDists =NKEBINS, nAngles =NANGLES }
 

Public Member Functions

 G4NumIntTwoBodyAngDst (const G4String &name, const G4double(&kebins)[nDists], const G4double(&angles)[nAngles], const G4double(&dists)[nDists][nAngles], const G4double highKEscale, G4int verbose=0)
 
virtual ~G4NumIntTwoBodyAngDst ()
 
virtual G4double GetCosTheta (const G4double &ekin, const G4double &pcm) const
 
- Public Member Functions inherited from G4VTwoBodyAngDst
 G4VTwoBodyAngDst (const G4String &name, G4int verbose=0)
 
virtual ~G4VTwoBodyAngDst ()
 
virtual void setVerboseLevel (G4int verbose=0)
 
virtual const G4StringGetName () const
 

Protected Member Functions

void Interpolate (const G4double &ekin) const
 

Protected Attributes

G4double tcoeff
 
const G4double(& labKE )[nDists]
 
const G4double(& cosBins )[nAngles]
 
const G4double(& angDists )[nDists][nAngles]
 
G4double angDist [nAngles]
 
- Protected Attributes inherited from G4VTwoBodyAngDst
G4String theName
 
G4int verboseLevel
 

Detailed Description

template<G4int NKEBINS, G4int NANGLES>
class G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >

Definition at line 44 of file G4NumIntTwoBodyAngDst.hh.

Member Enumeration Documentation

template<G4int NKEBINS, G4int NANGLES>
anonymous enum
Enumerator
nDists 
nAngles 

Definition at line 46 of file G4NumIntTwoBodyAngDst.hh.

46 { nDists=NKEBINS, nAngles=NANGLES }; // For use in function arguments

Constructor & Destructor Documentation

template<G4int NKEBINS, G4int NANGLES>
G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::G4NumIntTwoBodyAngDst ( const G4String name,
const G4double(&)  kebins[nDists],
const G4double(&)  angles[nAngles],
const G4double(&)  dists[nDists][nAngles],
const G4double  highKEscale,
G4int  verbose = 0 
)
inline

Definition at line 48 of file G4NumIntTwoBodyAngDst.hh.

53  : G4VTwoBodyAngDst(name, verbose), tcoeff(highKEscale),
54  labKE(kebins), cosBins(angles), angDists(dists) {
55  std::fill(angDist, angDist+nDists, 0.); // Initialize working buffer
56  }
const G4double(& angDists)[nDists][nAngles]
const G4double(& labKE)[nDists]
G4VTwoBodyAngDst(const G4String &name, G4int verbose=0)
const G4double(& cosBins)[nAngles]
template<G4int NKEBINS, G4int NANGLES>
virtual G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::~G4NumIntTwoBodyAngDst ( )
inlinevirtual

Definition at line 58 of file G4NumIntTwoBodyAngDst.hh.

58 {;}

Member Function Documentation

template<G4int NKEBINS, G4int NANGLES>
virtual G4double G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::GetCosTheta ( const G4double ekin,
const G4double pcm 
) const
virtual

Implements G4VTwoBodyAngDst.

template<G4int NKEBINS, G4int NANGLES>
void G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::Interpolate ( const G4double ekin) const
protected

Field Documentation

template<G4int NKEBINS, G4int NANGLES>
G4double G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::angDist[nAngles]
mutableprotected
template<G4int NKEBINS, G4int NANGLES>
const G4double(& G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::angDists)[nDists][nAngles]
protected

Definition at line 73 of file G4NumIntTwoBodyAngDst.hh.

template<G4int NKEBINS, G4int NANGLES>
const G4double(& G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::cosBins)[nAngles]
protected

Definition at line 69 of file G4NumIntTwoBodyAngDst.hh.

template<G4int NKEBINS, G4int NANGLES>
const G4double(& G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::labKE)[nDists]
protected

Definition at line 66 of file G4NumIntTwoBodyAngDst.hh.

template<G4int NKEBINS, G4int NANGLES>
G4double G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::tcoeff
protected

Definition at line 63 of file G4NumIntTwoBodyAngDst.hh.


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