Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CascadeFunctions< DATA, SAMP > Class Template Reference

#include <G4CascadeFunctions.hh>

+ Inheritance diagram for G4CascadeFunctions< DATA, SAMP >:

Public Member Functions

 G4CascadeFunctions ()
 
virtual ~G4CascadeFunctions ()
 
virtual G4double getCrossSection (double ke) const
 
virtual G4double getCrossSectionSum (double ke) const
 
virtual G4int getMultiplicity (G4double ke) const
 
virtual void getOutgoingParticleTypes (std::vector< G4int > &kinds, G4int mult, G4double ke) const
 
virtual void printTable (std::ostream &os=G4cout) const
 
- Public Member Functions inherited from G4CascadeChannel
 G4CascadeChannel ()
 
virtual ~G4CascadeChannel ()
 
virtual G4double getCrossSection (double ke) const =0
 
virtual G4double getCrossSectionSum (double ke) const =0
 
virtual G4int getMultiplicity (G4double ke) const =0
 
virtual void getOutgoingParticleTypes (std::vector< G4int > &kinds, G4int mult, G4double ke) const =0
 
virtual void printTable (std::ostream &os=G4cout) const =0
 

Detailed Description

template<class DATA, class SAMP>
class G4CascadeFunctions< DATA, SAMP >

Definition at line 54 of file G4CascadeFunctions.hh.

Constructor & Destructor Documentation

◆ G4CascadeFunctions()

template<class DATA , class SAMP >
G4CascadeFunctions< DATA, SAMP >::G4CascadeFunctions ( )

◆ ~G4CascadeFunctions()

template<class DATA , class SAMP >
virtual G4CascadeFunctions< DATA, SAMP >::~G4CascadeFunctions ( )
inlinevirtual

Definition at line 57 of file G4CascadeFunctions.hh.

57{}

Member Function Documentation

◆ getCrossSection()

template<class DATA , class SAMP >
virtual G4double G4CascadeFunctions< DATA, SAMP >::getCrossSection ( double  ke) const
inlinevirtual

Implements G4CascadeChannel.

Definition at line 59 of file G4CascadeFunctions.hh.

59 {
60 return this->findCrossSection(ke, DATA::data.tot);
61 }

◆ getCrossSectionSum()

template<class DATA , class SAMP >
virtual G4double G4CascadeFunctions< DATA, SAMP >::getCrossSectionSum ( double  ke) const
inlinevirtual

Implements G4CascadeChannel.

Definition at line 63 of file G4CascadeFunctions.hh.

63 {
64 return this->findCrossSection(ke, DATA::data.sum);
65 }

◆ getMultiplicity()

template<class DATA , class SAMP >
virtual G4int G4CascadeFunctions< DATA, SAMP >::getMultiplicity ( G4double  ke) const
virtual

Implements G4CascadeChannel.

◆ getOutgoingParticleTypes()

template<class DATA , class SAMP >
virtual void G4CascadeFunctions< DATA, SAMP >::getOutgoingParticleTypes ( std::vector< G4int > &  kinds,
G4int  mult,
G4double  ke 
) const
virtual

Implements G4CascadeChannel.

◆ printTable()

template<class DATA , class SAMP >
virtual void G4CascadeFunctions< DATA, SAMP >::printTable ( std::ostream &  os = G4cout) const
virtual

Implements G4CascadeChannel.


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