Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GFlashParticleBounds Class Reference

#include <GFlashParticleBounds.hh>

Public Member Functions

 GFlashParticleBounds ()
 
 ~GFlashParticleBounds ()
 
G4double GetMinEneToParametrise (G4ParticleDefinition &particleType)
 
G4double GetMaxEneToParametrise (G4ParticleDefinition &particleType)
 
G4double GetEneToKill (G4ParticleDefinition &particleType)
 
void SetMinEneToParametrise (G4ParticleDefinition &particleType, G4double enemin)
 
void SetMaxEneToParametrise (G4ParticleDefinition &particleType, G4double enemax)
 
void SetEneToKill (G4ParticleDefinition &particleType, G4double enekill)
 

Detailed Description

Definition at line 47 of file GFlashParticleBounds.hh.

Constructor & Destructor Documentation

GFlashParticleBounds::GFlashParticleBounds ( )

Definition at line 44 of file GFlashParticleBounds.cc.

45 {
46  // e+e- defaults
47  EMinEneToParametrise = 0.10*GeV;
48  EMaxEneToParametrise = 10000.00*GeV;
49  EEneToKill = 0.1*GeV; // Energie at which electrons are killed
50 }
static constexpr double GeV
Definition: G4SIunits.hh:217
GFlashParticleBounds::~GFlashParticleBounds ( )

Definition at line 52 of file GFlashParticleBounds.cc.

53 {
54 }

Member Function Documentation

G4double GFlashParticleBounds::GetEneToKill ( G4ParticleDefinition particleType)

Definition at line 105 of file GFlashParticleBounds.cc.

106 {
107  if (&particleType == G4Electron::ElectronDefinition() ||
108  &particleType == G4Positron::PositronDefinition())
109  return EEneToKill;
110  else return (-DBL_MAX);
111 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
#define DBL_MAX
Definition: templates.hh:83

Here is the call graph for this function:

Here is the caller graph for this function:

G4double GFlashParticleBounds::GetMaxEneToParametrise ( G4ParticleDefinition particleType)

Definition at line 93 of file GFlashParticleBounds.cc.

94 {
95  G4double result = 0;
96  if( &particleType == G4Electron::ElectronDefinition()||
97  &particleType == G4Positron::PositronDefinition())
98  {
99  result = EMaxEneToParametrise;
100  }
101  return result;
102 }
G4double G4ParticleHPJENDLHEData::G4double result
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:

G4double GFlashParticleBounds::GetMinEneToParametrise ( G4ParticleDefinition particleType)

Definition at line 81 of file GFlashParticleBounds.cc.

82 {
84  if( &particleType == G4Electron::ElectronDefinition()||
85  &particleType == G4Positron::PositronDefinition())
86  {
87  result = EMinEneToParametrise;
88  }
89  return result;
90 }
G4double G4ParticleHPJENDLHEData::G4double result
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
double G4double
Definition: G4Types.hh:76
#define DBL_MAX
Definition: templates.hh:83

Here is the call graph for this function:

Here is the caller graph for this function:

void GFlashParticleBounds::SetEneToKill ( G4ParticleDefinition particleType,
G4double  enekill 
)

Definition at line 73 of file GFlashParticleBounds.cc.

74 {
75  if( &particleType == G4Electron::ElectronDefinition()||
76  &particleType == G4Positron::PositronDefinition())
77  EEneToKill = enekill;
78 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89

Here is the call graph for this function:

Here is the caller graph for this function:

void GFlashParticleBounds::SetMaxEneToParametrise ( G4ParticleDefinition particleType,
G4double  enemax 
)

Definition at line 65 of file GFlashParticleBounds.cc.

66 {
67  if( &particleType == G4Electron::ElectronDefinition()||
68  &particleType == G4Positron::PositronDefinition())
69  EMaxEneToParametrise = enemax;
70 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89

Here is the call graph for this function:

Here is the caller graph for this function:

void GFlashParticleBounds::SetMinEneToParametrise ( G4ParticleDefinition particleType,
G4double  enemin 
)

Definition at line 57 of file GFlashParticleBounds.cc.

58 {
59  if( &particleType == G4Electron::ElectronDefinition()||
60  &particleType == G4Positron::PositronDefinition())
61  EMinEneToParametrise = enemin;
62 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89

Here is the call graph for this function:

Here is the caller graph for this function:


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