Geant4-11
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 G4double GetCosTheta (const G4double &ekin, const G4double &pcm) const
 
virtual const G4StringGetName () const
 
virtual void setVerboseLevel (G4int verbose=0)
 
virtual ~G4NumIntTwoBodyAngDst ()
 

Protected Member Functions

void Interpolate (const G4double &ekin) const
 

Protected Attributes

G4double angDist [nAngles]
 
const G4double(& angDists )[nDists][nAngles]
 
const G4double(& cosBins )[nAngles]
 
const G4double(& labKE )[nDists]
 
G4double tcoeff
 
G4String theName
 
G4int verboseLevel
 

Detailed Description

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

Definition at line 43 of file G4NumIntTwoBodyAngDst.hh.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 45 of file G4NumIntTwoBodyAngDst.hh.

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

Constructor & Destructor Documentation

◆ G4NumIntTwoBodyAngDst()

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 47 of file G4NumIntTwoBodyAngDst.hh.

52 : G4VTwoBodyAngDst(name, verbose), tcoeff(highKEscale),
53 labKE(kebins), cosBins(angles), angDists(dists) {
54 std::fill(angDist, angDist+nDists, 0.); // Initialize working buffer
55 }
const G4double(& cosBins)[nAngles]
const G4double(& labKE)[nDists]
const G4double(& angDists)[nDists][nAngles]
G4VTwoBodyAngDst(const G4String &name, G4int verbose=0)
const char * name(G4int ptype)

References G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::angDist, and G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::nDists.

◆ ~G4NumIntTwoBodyAngDst()

template<G4int NKEBINS, G4int NANGLES>
virtual G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::~G4NumIntTwoBodyAngDst ( )
inlinevirtual

Definition at line 57 of file G4NumIntTwoBodyAngDst.hh.

57{;}

Member Function Documentation

◆ GetCosTheta()

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

Implements G4VTwoBodyAngDst.

◆ GetName()

virtual const G4String & G4VTwoBodyAngDst::GetName ( ) const
inlinevirtualinherited

Definition at line 49 of file G4VTwoBodyAngDst.hh.

49{ return theName; }

References G4VTwoBodyAngDst::theName.

Referenced by G4CascadeFinalStateAlgorithm::ChooseGenerators().

◆ Interpolate()

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

◆ setVerboseLevel()

virtual void G4VTwoBodyAngDst::setVerboseLevel ( G4int  verbose = 0)
inlinevirtualinherited

Definition at line 48 of file G4VTwoBodyAngDst.hh.

48{ verboseLevel = verbose; }

References G4VTwoBodyAngDst::verboseLevel.

Referenced by G4TwoBodyAngularDist::passVerbose().

Field Documentation

◆ angDist

template<G4int NKEBINS, G4int NANGLES>
G4double G4NumIntTwoBodyAngDst< NKEBINS, NANGLES >::angDist[nAngles]
mutableprotected

◆ angDists

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

Definition at line 72 of file G4NumIntTwoBodyAngDst.hh.

◆ cosBins

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

Definition at line 68 of file G4NumIntTwoBodyAngDst.hh.

◆ labKE

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

Definition at line 65 of file G4NumIntTwoBodyAngDst.hh.

◆ tcoeff

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

Definition at line 62 of file G4NumIntTwoBodyAngDst.hh.

◆ theName

G4String G4VTwoBodyAngDst::theName
protectedinherited

◆ verboseLevel

G4int G4VTwoBodyAngDst::verboseLevel
protectedinherited

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